Re: [Orgmode] custom link type for files in a git repo

2008-10-07 Thread Ian Barton



Now that org and git are starting to be used in conjunction by more and
more of us, would anyone else find it useful to have a custom link type
for linking to git objects?


Absolutely!!  git is my new favourite tool, and being able to combine
org-mode and git in a usable workflow would be a great idea!

Without wishing to start a VCS war, it would be nice if any org 
interface was as tool agnostic as possible. I use bzr, mainly because I 
use Ubuntu and it's what Canonical use. I am sure there are other people 
who use Hg, etc.


Ian.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: RELEASE: Org-mode 6.08a

2008-10-07 Thread Samuel Wales
Comments on the interesting attachment feature.

1.  This function needs "(interactive)", i think.

(defun org-attach-open-in-emacs ()
  "Open attachment, force opening in Emacs.
See `org-attach-open'."
  (org-attach-open 'in-emacs))

2.  This is trivial to rebind, but my guess is that emacs types would
prefer to open things in emacs using the nonshifted keys.  e.g. dired
instead of file browser, emacs instead of text editor.

3.  I'm getting the idea that the attachment system is partly to avoid
linking files?  This is good because links are easy to break.  The key
is to have a directory that is only for org, and to use the filesystem
to identify the attachments.  Then there is no broken link to a file.
I like the idea.

The current implementation explicitly lists the attachments.  Perhaps
they could be retrieved from the dir?

4.  Another possibility, if we have a directory dedicated to a node,
might be to inline the files under the node.  Each subnode would be
the name of a file in the dir associated with the node.  The contents
of the subnode are the contents of the file.  Then any editing of a
headline would change the filename, and any editing of the contents
would change the file contents.  Searching would find things in the
contents.  Yet data are only stored in the files themselves, not in
the org file.

For what it's worth.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: restarting emacs always advisable for upgrade?

2008-10-07 Thread Jason F. McBrayer
Russell Adams <[EMAIL PROTECTED]> writes:

> Emacs truly is an OS when its uptime becomes an issue. ;]

And only going to be moreso with the new --daemon mode, since emacs can
now outlive your X session.

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] custom link type for files in a git repo

2008-10-07 Thread Jason F. McBrayer
Ian Barton <[EMAIL PROTECTED]> writes:

>>> Now that org and git are starting to be used in conjunction by more and
>>> more of us, would anyone else find it useful to have a custom link type
>>> for linking to git objects?
>>
>> Absolutely!!  git is my new favourite tool, and being able to combine
>> org-mode and git in a usable workflow would be a great idea!
>>
> Without wishing to start a VCS war, it would be nice if any org
> interface was as tool agnostic as possible. I use bzr, mainly because
> I use Ubuntu and it's what Canonical use. I am sure there are other
> people who use Hg, etc.

Since emacs already abstracts basic VCS functionality through its vc
interface, it would be nice if any org-vcs integration would use that.
I use three vc systems on a regular basis (svn at work, hg for my own
projects, and git for other peoples' projects that I track).

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: restarting emacs always advisable for upgrade?

2008-10-07 Thread Russell Adams
Emacs truly is an OS when its uptime becomes an issue. ;]

On Tue, Oct 07, 2008 at 10:55:45AM +0200, Paul R wrote:
> Samuel> Is it safe to load all .elc files in org as a way of not
> Samuel> restarting emacs? Thanks.
> 
> I suppose you can (unload-feature 'org), then upgrade, then 
> (require 'org), but I have not tested. Just try and report :)
> 
> -- 
>   Paul
> 
> 
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: restarting emacs always advisable for upgrade?

2008-10-07 Thread Paul R
Samuel> Is it safe to load all .elc files in org as a way of not
Samuel> restarting emacs? Thanks.

I suppose you can (unload-feature 'org), then upgrade, then 
(require 'org), but I have not tested. Just try and report :)

-- 
  Paul


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Fix documentation typos and grammar

2008-10-07 Thread Bernt Hansen

---

I read the new attachment feature documentation this morning and noted a
few corrections so here they are.

-Bernt

 doc/org.texi |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 0db32de..c4a1c6b 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5170,14 +5170,14 @@ source code files belonging to a project.  However, you 
may also have files
 that only belong to a given project and that you would like to store in a
 directory belonging to an outline node.
 
-Org allows to associate an arbitary number of files with each indivdual task.
-These files are moved to special directories named by the unique ID of each
-entry.  These directories are located in the @file{data} directory which
+Org allows you to associate an arbitary number of files with each individual
+task.  These files are moved to special directories named by the unique ID of
+each entry.  These directories are located in the @file{data} directory which
 lives in the same directory where your org-file [EMAIL PROTECTED] you move
 entries or Org-files from one directory to the next, you may want to
 configure @code{org-attach-directory} to contain an absolute path.}.  If you
-initilize this directory with @code{git-init}, Org will automaically commit
-changes when it see them.  The attachment system has been contributed to Org
+initialize this directory with @code{git-init}, Org will automatically commit
+changes when it sees them.  The attachment system has been contributed to Org
 by John Wiegley.
 
 The following commands deal with attachments.
@@ -5232,7 +5232,7 @@ dired and delete from there.
 @chapter Agenda Views
 @cindex agenda views
 
-Due to the way Org works, TODO items, time-stamped items, and
+Due to the way Org works, TODO items, timestamped items, and
 tagged headlines can be scattered throughout a file or even a number of
 files.  To get an overview of open action items, or of events that are
 important for a particular date, this information must be collected,
-- 
1.6.0.2.443.g52e83



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: RELEASE: Org-mode 6.08a

2008-10-07 Thread Carsten Dominik

Hi Samuel,


On Oct 7, 2008, at 11:36 AM, Samuel Wales wrote:


Comments on the interesting attachment feature.

1.  This function needs "(interactive)", i think.

(defun org-attach-open-in-emacs ()
 "Open attachment, force opening in Emacs.
See `org-attach-open'."
 (org-attach-open 'in-emacs))


Indeed, I will fix this later today




2.  This is trivial to rebind, but my guess is that emacs types would
prefer to open things in emacs using the nonshifted keys.  e.g. dired
instead of file browser, emacs instead of text editor.


Not if it is a PDF or Word file or so, not you don't.  Opening  
attachments uses the exact same mechanism as following links with `C-c  
C-o'.  So the idea is (I should also mention this in the attachment  
section of the documentation), that you configure org-file-apps org  
one of he system-dependent variants to open certain file type with  
external applications, and others inside Emacs.  Then the normal  
opening of an attachment will always do "the right thing", and you can  
overrule this standard mechanism by using "O" instead of "o".


For example, the default setting in org-file-apps already opens .org  
and .txt files inside Emacs.



3.  I'm getting the idea that the attachment system is partly to avoid
linking files?


Yes, I think so too.


This is good because links are easy to break.  The key
is to have a directory that is only for org, and to use the filesystem
to identify the attachments.  Then there is no broken link to a file.
I like the idea.

The current implementation explicitly lists the attachments.  Perhaps
they could be retrieved from the dir?


Yes, also a discussion point I had with John.  I think it is OK to  
have that list there so that you do not have to open the directory in  
order to see what you have, but things an get out of synch.  Use "z"  
to get them back into synch.  I will consider to use a live `directory- 
files' when it comes to selecting an attachment for opening.



4.  Another possibility, if we have a directory dedicated to a node,
might be to inline the files under the node.  Each subnode would be
the name of a file in the dir associated with the node.  The contents
of the subnode are the contents of the file.  Then any editing of a
headline would change the filename, and any editing of the contents
would change the file contents.  Searching would find things in the
contents.  Yet data are only stored in the files themselves, not in
the org file.



Wild idea, too wild for me, inlining is a can of worms.  I think  
it is better to export from org to files where needed.


HTH

- Carsten





For what it's worth.




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How to use FILETAGS?

2008-10-07 Thread Manish
  On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote:
  > Hello All,
  >
  >  I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c
  > to initilalize it.)  The tag did not appear in the agenda view like I
  > expected it to.  I was hoping to use agenda view filtering on tags to
  > see a subset of tasks with that tag (without having to set that for
  > all tasks.)  What else do I need to do for it to work?
  >

Okay.  I think I realize my mistake now.

The FILETAGS are NOT meant to be displayed and hence can not be used
for filtering items in agenda view.  They are meant to be matched
while creating agenda only.

So I guess my question now becomes, does anyone know an easier way to
add a tag to a bunch of items?

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: restarting emacs always advisable for upgrade?

2008-10-07 Thread Bernt Hansen
Paul R <[EMAIL PROTECTED]> writes:

> Samuel> Is it safe to load all .elc files in org as a way of not
> Samuel> restarting emacs? Thanks.
>
> I suppose you can (unload-feature 'org), then upgrade, then 
> (require 'org), but I have not tested. Just try and report :)

I update org from the git repository regularly.  I have a function
org-reload-org that reloads the new sources as described here:

http://orgmode.org/worg/org-hacks.php#sec-6

I don't unload first, I just update the sources, then M-x org-reload-org
and move on with my day.

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Loading/browsing WAITING tasks on incoming Gnus messages

2008-10-07 Thread Michael Ekstrand
I have an interesting hole in my use of org-mode and Gnus for managing
my daily workflow.  My overall scheme is roughly GTD-ish, and I have a
WAITING todo keyword to indicate "tasks" which are waiting items.

The hole, though, is this: I don't necessarily remember what all is in
my waiting list (that's why I have Org!), and I also don't think to
constantly check it.  Most of my waiting tasks, though, pertain to
e-mail;  it'd be really nice if Gnus would somehow alert me that the
message I'm reading may pertain to some task in my waiting list.
Ideally by bringing up a window (perhaps at the bottom of the frame,
under or above the BBDB window if there is one) listing all the WAITING
items this message may apply to.

Generally, e-mail-related WAITING items may be waiting on a couple of
different things: either a reply to some message I have sent (I have
functions in place so that my mails are linked to from Org by Message-Id
rather than folder/number, so References header matches may be helpful
here), or a message from some person (who probably has an entry in my
BBDB).  The message from that person may or may not clear the waiting
status, but it'd be nice to at least know "this person that e-mailed you
has 2 WAITING items", and I can then go deal with them as appropriate if
the e-mail is applicable.

Do any others have advice or ways they achieve behavior like this in
Org?

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see .


pgp11pRymwW91.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to use FILETAGS?

2008-10-07 Thread Carsten Dominik

Hi Manish,

On Oct 7, 2008, at 5:06 PM, Manish wrote:


 On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote:

Hello All,

I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c
to initilalize it.)  The tag did not appear in the agenda view like I
expected it to.  I was hoping to use agenda view filtering on tags to
see a subset of tasks with that tag (without having to set that for
all tasks.)  What else do I need to do for it to work?



Okay.  I think I realize my mistake now.

The FILETAGS are NOT meant to be displayed and hence can not be used
for filtering items in agenda view.  They are meant to be matched
while creating agenda only.


No.  They are used when the agenda is created, and they are stored in  
a text property on the entry.  If you press "T", you should see all  
the tags of an entry.  I just tested it, and it works fine, including  
filtering, which acts on the text-property tags, not only on the  
displayed tags.


Maybe you have turned off tag inheritance?  Because file tags are  
*inherited* by all entries in the buffer.


HTH

- Carsten







So I guess my question now becomes, does anyone know an easier way to
add a tag to a bunch of items?

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Fix documentation typos and grammar

2008-10-07 Thread Carsten Dominik

Hi Bernt,

thanks a lot, I will fix these.  But it is a bit early, the attachment  
documentation is still changing.  Maybe take another look after the  
6.09 release?


Thanks.

- Carsten

On Oct 7, 2008, at 4:43 PM, Bernt Hansen wrote:



---

I read the new attachment feature documentation this morning and  
noted a

few corrections so here they are.

-Bernt

doc/org.texi |   12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 0db32de..c4a1c6b 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5170,14 +5170,14 @@ source code files belonging to a project.   
However, you may also have files
that only belong to a given project and that you would like to store  
in a

directory belonging to an outline node.

-Org allows to associate an arbitary number of files with each  
indivdual task.
-These files are moved to special directories named by the unique ID  
of each
-entry.  These directories are located in the @file{data} directory  
which
+Org allows you to associate an arbitary number of files with each  
individual
+task.  These files are moved to special directories named by the  
unique ID of
+each entry.  These directories are located in the @file{data}  
directory which
lives in the same directory where your org-file [EMAIL PROTECTED]  
you move

entries or Org-files from one directory to the next, you may want to
configure @code{org-attach-directory} to contain an absolute  
path.}.  If you
-initilize this directory with @code{git-init}, Org will  
automaically commit
-changes when it see them.  The attachment system has been  
contributed to Org
+initialize this directory with @code{git-init}, Org will  
automatically commit
+changes when it sees them.  The attachment system has been  
contributed to Org

by John Wiegley.

The following commands deal with attachments.
@@ -5232,7 +5232,7 @@ dired and delete from there.
@chapter Agenda Views
@cindex agenda views

-Due to the way Org works, TODO items, time-stamped items, and
+Due to the way Org works, TODO items, timestamped items, and
tagged headlines can be scattered throughout a file or even a number  
of

files.  To get an overview of open action items, or of events that are
important for a particular date, this information must be collected,
--
1.6.0.2.443.g52e83



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Fix documentation typos and grammar

2008-10-07 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi Bernt,
>
> thanks a lot, I will fix these.  But it is a bit early, the attachment
> documentation is still changing.  Maybe take another look after the
> 6.09 release?
>
> Thanks.

Sure thing :)

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to use FILETAGS?

2008-10-07 Thread Manish
  On Tue, Oct 7, 2008 at 9:58 PM, Carsten Dominik wrote:
  > Hi Manish,
  >
  > On Oct 7, 2008, at 5:06 PM, Manish wrote:
  >
  >>  On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote:
  >>>
  >>> Hello All,
  >>>
  >>> I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c
  >>> to initilalize it.)  The tag did not appear in the agenda view like I
  >>> expected it to.  I was hoping to use agenda view filtering on tags to
  >>> see a subset of tasks with that tag (without having to set that for
  >>> all tasks.)  What else do I need to do for it to work?
  >>>
  >>
  >> Okay.  I think I realize my mistake now.
  >>
  >> The FILETAGS are NOT meant to be displayed and hence can not be used
  >> for filtering items in agenda view.  They are meant to be matched
  >> while creating agenda only.
  >
  > No.  They are used when the agenda is created, and they are stored in a text
  > property on the entry.  If you press "T", you should see all the tags of an
  > entry.  I just tested it, and it works fine, including filtering, which acts
  > on the text-property tags, not only on the displayed tags.
  >
  > Maybe you have turned off tag inheritance?  Because file tags are
  > *inherited* by all entries in the buffer.

"T" does show the tags, inheritance is enabled for those specific tags
listed in FILETAGS only but am unable to make filtering work.

I also haven't seen those tags being added to property of items!  I am
guessing this property is added to only top-level items.

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to use FILETAGS?

2008-10-07 Thread Carsten Dominik


On Oct 7, 2008, at 7:30 PM, Manish wrote:


 On Tue, Oct 7, 2008 at 9:58 PM, Carsten Dominik wrote:

Hi Manish,

On Oct 7, 2008, at 5:06 PM, Manish wrote:


On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote:


Hello All,

I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c
to initilalize it.)  The tag did not appear in the agenda view  
like I
expected it to.  I was hoping to use agenda view filtering on  
tags to

see a subset of tasks with that tag (without having to set that for
all tasks.)  What else do I need to do for it to work?



Okay.  I think I realize my mistake now.

The FILETAGS are NOT meant to be displayed and hence can not be used
for filtering items in agenda view.  They are meant to be matched
while creating agenda only.


No.  They are used when the agenda is created, and they are stored  
in a text
property on the entry.  If you press "T", you should see all the  
tags of an
entry.  I just tested it, and it works fine, including filtering,  
which acts

on the text-property tags, not only on the displayed tags.

Maybe you have turned off tag inheritance?  Because file tags are
*inherited* by all entries in the buffer.


"T" does show the tags, inheritance is enabled for those specific tags
listed in FILETAGS only but am unable to make filtering work.


This absolutely does work for me, also with non-top-level entries.

Could someone else please check?




I also haven't seen those tags being added to property of items!  I am
guessing this property is added to only top-level items.


That is right, the TAGS property (I guess you mean in column view???)  
only

shows the local tags.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to use FILETAGS?

2008-10-07 Thread Manish
[snip]
>> I also haven't seen those tags being added to property of items!  I am
>> guessing this property is added to only top-level items.
>
> That is right, the TAGS property (I guess you mean in column view???) only
> shows the local tags.

No property seems to be added to any item, including top-level ones.
When is the property added and what is the name of the property that
is added?

And tags specfied in FILETAGS do not appear even in plain vanilla
day's agenda view (C-c a a)

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


n810.... Re: [Orgmode] Re: Any iPhone devellopers here

2008-10-07 Thread Daniel M German

 Jeff> So I had started to write a translator for OrgMode to OmniFocus on the
 Jeff> iPhone, but I never got the WebDAV updates to function properly, and
 Jeff> it didn't sync back (OF -> Org).  This made it basically unusable and
 Jeff> not so hot.

 Jeff> If you jailbreak your phone, you can probably get a lot further on
 Jeff> this project, as you can run any compiled executable that you bless
 Jeff> with `ldid -S filename`.  I'm not sure if anyone has tried compiling
 Jeff> emacs on the iPhone, but I imagine that would be quite a feat in it's
 Jeff> self.  Though it's probably the only way to leverage all your org-mode
 Jeff> elisp.  If you could settle for some subset, you could probably
 Jeff> rewrite what you needed in Obj-C.

 Jeff> Any ideas you have for this I'd appreciate hearing about as well.


I know this is totally off-topic, but related.

I recently got a N810. The keyboard makes Emacs very usable. I now
have org in it and it is great. I use subversion to syncronize
devices. 

One think I really like is remember mode in it. It is way better to
take notes in remember than in any note taking app.

--dmg




-- 
--
Daniel M. German  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode