emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* refiling
@ 2010-01-13 16:30 Richard Riley
  2010-01-13 16:41 ` refiling Richard Riley
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Richard Riley @ 2010-01-13 16:30 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


I'm a bit rusty so please excuse any stupid questions.

I decided to clear up my org files which are, frankly, a mess.

Two major issues for me to get my head around.

1) Tags v Categories. Its not entirely obvious to me what categories are
for. Are they like a more specialised tag?

2) Refiling. Lets says I have something like this in linux.org:-

* general    :general:
#+CATEGORY: general
** learn org mode   :emacs:org:
blah blah
* debian    :debian:
#+CATEGORY: debian

* test

if I refile from elsewhere, it picks ALL items at a level to refile to when I select
linux.org. 

e.g linux.org/general, linux.org/debian, linux.org/test

If I then select "general" it also prompts for me now to select "learn
org mode". Is this because of some hangover from me using org-mode? In
other words I cant refile to linux.org/debian.

Wise words appreciated to put me back on track.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 16:30 refiling Richard Riley
@ 2010-01-13 16:41 ` Richard Riley
  2010-01-13 17:33 ` refiling Manish
  2010-01-13 18:17 ` refiling Matt Lundin
  2 siblings, 0 replies; 16+ messages in thread
From: Richard Riley @ 2010-01-13 16:41 UTC (permalink / raw)
  To: emacs-orgmode



> If I then select "general" it also prompts for me now to select "learn
> org mode". Is this because of some hangover from me using org-mode? In

That should read "ido-mode". Sorry.

> other words I cant refile to linux.org/debian.
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 16:30 refiling Richard Riley
  2010-01-13 16:41 ` refiling Richard Riley
@ 2010-01-13 17:33 ` Manish
  2010-01-13 17:45   ` refiling Richard Riley
  2010-01-13 18:17 ` refiling Matt Lundin
  2 siblings, 1 reply; 16+ messages in thread
From: Manish @ 2010-01-13 17:33 UTC (permalink / raw)
  To: Richard Riley; +Cc: Emacs-orgmode mailing list

On Wed, Jan 13, 2010 at 10:00 PM, Richard Riley wrote:
>
> I'm a bit rusty so please excuse any stupid questions.
>
> I decided to clear up my org files which are, frankly, a mess.
>
> Two major issues for me to get my head around.
>
> 1) Tags v Categories. Its not entirely obvious to me what categories are
> for. Are they like a more specialised tag?

To me they are a means to provide some more context only.  But I do
not use them at all - I hide them using the excellent
my-org-agenda-toggle-list-category function courtesy Manuel
Hermengildo (http://article.gmane.org/gmane.emacs.orgmode/10909).

>
> 2) Refiling. Lets says I have something like this in linux.org:-
>
> * general    :general:
> #+CATEGORY: general
> ** learn org mode   :emacs:org:
> blah blah
> * debian    :debian:
> #+CATEGORY: debian
>
> * test
>
> if I refile from elsewhere, it picks ALL items at a level to refile to when I select
> linux.org.
>
> e.g linux.org/general, linux.org/debian, linux.org/test
>
> If I then select "general" it also prompts for me now to select "learn
> org mode". Is this because of some hangover from me using org-mode? In
> other words I cant refile to linux.org/debian.

Not sure.. may be looking at varible
org-refile-allow-creating-parent-nodes would help.

HTH
-- 
Manish

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 17:33 ` refiling Manish
@ 2010-01-13 17:45   ` Richard Riley
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Riley @ 2010-01-13 17:45 UTC (permalink / raw)
  To: emacs-orgmode

Manish <mailtomanish.sharma@gmail.com> writes:

> On Wed, Jan 13, 2010 at 10:00 PM, Richard Riley wrote:
>>
>> I'm a bit rusty so please excuse any stupid questions.
>>
>> I decided to clear up my org files which are, frankly, a mess.
>>
>> Two major issues for me to get my head around.
>>
>> 1) Tags v Categories. Its not entirely obvious to me what categories are
>> for. Are they like a more specialised tag?
>
> To me they are a means to provide some more context only.  But I do
> not use them at all - I hide them using the excellent
> my-org-agenda-toggle-list-category function courtesy Manuel
> Hermengildo (http://article.gmane.org/gmane.emacs.orgmode/10909).
>
>>

Useful , but the comments seem to be misleading in that the file names
are not shown regardless of toggle state. Or is file name used as a more
general category when no specific category is put it?

Which is another cloudy issue for me - file name and category.

e.g I have a file "linux.org". In it I have a category "General". But in
the agenda this is not specific enough e,g I will see another General
item from "Emacs" category "General". possibly all down to reformatting
the output. I'm not sure I am clear about what categories are.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 16:30 refiling Richard Riley
  2010-01-13 16:41 ` refiling Richard Riley
  2010-01-13 17:33 ` refiling Manish
@ 2010-01-13 18:17 ` Matt Lundin
  2010-01-13 18:27   ` refiling Richard Riley
  2 siblings, 1 reply; 16+ messages in thread
From: Matt Lundin @ 2010-01-13 18:17 UTC (permalink / raw)
  To: Richard Riley; +Cc: Emacs-orgmode mailing list

Hi Richard,

Richard Riley <rileyrgdev@googlemail.com> writes:

> Two major issues for me to get my head around.
>
> 1) Tags v Categories. Its not entirely obvious to me what categories are
> for. Are they like a more specialised tag?

Categories are primarily for visibility in the agenda. I use them to
remind myself what project or "area of responsibility" an item belongs
to. If I label a particular project with the category "article", I can
easily identify tasks belonging to that project. E.g., tasks from the
following project...

,----
| * PROJECT Write article						    :PROJECT:
|   :PROPERTIES:
|   :CATEGORY: article
|   :END:
| ** TODO Do some online research					   :computer:
|    SCHEDULED: <2010-01-13 Wed>
| ** TODO Outline article							:rwb:
|    SCHEDULED: <2010-01-13 Wed>
`----

...appear as follows in the agenda:

,----
| Day-agenda (W02):
| Wednesday  13 January 2010
|   article:    Scheduled:  TODO Do some online research                :computer:
|   article:    Scheduled:  TODO Outline article                             :rwb:
`----

Thanks to the category, I can see what project the otherwise cryptic "Do
some online research" belongs to.

> 2) Refiling. Lets says I have something like this in linux.org:-
>
> * general    :general:
> #+CATEGORY: general
> ** learn org mode   :emacs:org:
> blah blah
> * debian    :debian:
> #+CATEGORY: debian
> * test

This syntax for categories has been deprecated. Better to use
properties, as in the example above. 

>
> if I refile from elsewhere, it picks ALL items at a level to refile to when I select
> linux.org. 
>
> e.g linux.org/general, linux.org/debian, linux.org/test
>
> If I then select "general" it also prompts for me now to select "learn
> org mode". Is this because of some hangover from me using org-mode? In
> other words I cant refile to linux.org/debian.

Refile completion follows the hierarchy of your outline. Thus, once you
have limited the results to linux.org/general, org-refile will only
offer you subtrees belonging to "general." If you want more flexible
completion, you can fiddle around with the variables
org-refile-use-outline-path, org-completion-use-ido,
and org-outline-path-complete-in-steps.

Best,
Matt

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 18:17 ` refiling Matt Lundin
@ 2010-01-13 18:27   ` Richard Riley
  2010-01-13 19:07     ` refiling John Rakestraw
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Riley @ 2010-01-13 18:27 UTC (permalink / raw)
  To: emacs-orgmode

Matt Lundin <mdl@imapmail.org> writes:

>> if I refile from elsewhere, it picks ALL items at a level to refile to when I select
>> linux.org. 
>>
>> e.g linux.org/general, linux.org/debian, linux.org/test
>>
>> If I then select "general" it also prompts for me now to select "learn
>> org mode". Is this because of some hangover from me using org-mode? In
>> other words I cant refile to linux.org/debian.
>
> Refile completion follows the hierarchy of your outline. Thus, once you
> have limited the results to linux.org/general, org-refile will only
> offer you subtrees belonging to "general." If you want more flexible

That is fine and as expected. My point is more that I am unable to file
to linux.org/general since it has elements filed there. It offers me to
select an actual existing org item as opposed to letting me store the
rewritten item to linux.org/general.

> completion, you can fiddle around with the variables
> org-refile-use-outline-path, org-completion-use-ido,
> and org-outline-path-complete-in-steps.
>

Thanks for the reply.

-- 
Google Talk : rileyrgdev@googlemail.com  http://www.google.com/talk

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-13 18:27   ` refiling Richard Riley
@ 2010-01-13 19:07     ` John Rakestraw
  2010-01-13 19:40       ` refiling Richard Riley
  2010-01-15  7:08       ` Carsten Dominik
  0 siblings, 2 replies; 16+ messages in thread
From: John Rakestraw @ 2010-01-13 19:07 UTC (permalink / raw)
  To: Richard Riley; +Cc: emacs-orgmode

>>>>> Richard Riley writes:

> That is fine and as expected. My point is more that I am unable to
> file to linux.org/general since it has elements filed there. It offers
> me to select an actual existing org item as opposed to letting me
> store the rewritten item to linux.org/general.

Not sure I understand you here, so this might not be helpful. However,
when I do what I think you're trying to do, hitting the space bar after
"linux.org/general" is in the mini-buffer allows me to save directly to
"linux.org/general." This assumes that :level and/or :maxlevel are set
appropriately in the org-refile-targets variable.

-- 
John Rakestraw

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-13 19:07     ` refiling John Rakestraw
@ 2010-01-13 19:40       ` Richard Riley
  2010-01-14  6:16         ` refiling Manish
  2010-01-15  7:08       ` Carsten Dominik
  1 sibling, 1 reply; 16+ messages in thread
From: Richard Riley @ 2010-01-13 19:40 UTC (permalink / raw)
  To: emacs-orgmode

John Rakestraw <lists@johnrakestraw.com> writes:

>>>>>> Richard Riley writes:
>
>> That is fine and as expected. My point is more that I am unable to
>> file to linux.org/general since it has elements filed there. It offers
>> me to select an actual existing org item as opposed to letting me
>> store the rewritten item to linux.org/general.
>
> Not sure I understand you here, so this might not be helpful. However,
> when I do what I think you're trying to do, hitting the space bar after
> "linux.org/general" is in the mini-buffer allows me to save directly to
> "linux.org/general." This assumes that :level and/or :maxlevel are set
> appropriately in the org-refile-targets variable.

That was it John. Thanks.

Possibly a default key of c-j would be nice too to "create at this
level".

Also thanks to the others - I used manish' funtion to toggle category
appearance and I changed my categories to be more "Pretty Printing" for
the agenda e.g

:CATEGORY:The XyZ Project


regards

r.


-- 
Google Talk : rileyrgdev@googlemail.com  http://www.google.com/talk

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-13 19:40       ` refiling Richard Riley
@ 2010-01-14  6:16         ` Manish
  0 siblings, 0 replies; 16+ messages in thread
From: Manish @ 2010-01-14  6:16 UTC (permalink / raw)
  To: Richard Riley; +Cc: emacs-orgmode

On Thu, Jan 14, 2010 at 1:10 AM, Richard Riley wrote:
[...]
>
> Also thanks to the others - I used manish' funtion to toggle category
> appearance and I changed my categories to be more "Pretty Printing" for
> the agenda e.g
>
> :CATEGORY:The XyZ Project
>

The function is credit to Manuel Hermengildo.

-- 
Manish

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-13 19:07     ` refiling John Rakestraw
  2010-01-13 19:40       ` refiling Richard Riley
@ 2010-01-15  7:08       ` Carsten Dominik
  2010-01-15 10:21         ` refiling Richard Riley
  2010-01-15 14:35         ` refiling John Rakestraw
  1 sibling, 2 replies; 16+ messages in thread
From: Carsten Dominik @ 2010-01-15  7:08 UTC (permalink / raw)
  To: John Rakestraw; +Cc: Richard Riley, emacs-orgmode


On Jan 13, 2010, at 8:07 PM, John Rakestraw wrote:

>>>>>> Richard Riley writes:
>
>> That is fine and as expected. My point is more that I am unable to
>> file to linux.org/general since it has elements filed there. It  
>> offers
>> me to select an actual existing org item as opposed to letting me
>> store the rewritten item to linux.org/general.
>
> Not sure I understand you here, so this might not be helpful. However,
> when I do what I think you're trying to do, hitting the space bar  
> after
> "linux.org/general" is in the mini-buffer allows me to save directly  
> to
> "linux.org/general."

Do you need to press SPACE, or does RET also do the trick?
Because, as Manish points out in another message, SPC should
really be allowed as a character in a new headline you define.
Apparently right now it is not allowed as it is treated as
a completion command.

Could you please test if, in your setup, RET works as well?

Thanks.

- Carsten

> This assumes that :level and/or :maxlevel are set
> appropriately in the org-refile-targets variable.
>
> -- 
> John Rakestraw
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: refiling
  2010-01-15  7:08       ` Carsten Dominik
@ 2010-01-15 10:21         ` Richard Riley
  2010-01-15 14:35         ` refiling John Rakestraw
  1 sibling, 0 replies; 16+ messages in thread
From: Richard Riley @ 2010-01-15 10:21 UTC (permalink / raw)
  To: emacs-orgmode



enter does indeed work now - I had reinstalled emacs in debian testing
and the version was way back at 6.21 for some reason. So sorry for that
bum steer. I wonder if it was because I built my own deb from source as
I didnt have that level of version before. I also cleaned up my accrued
org settings (ongoing) and now the ido completion for the refile target
is exceptionally fast too.

I am trying to set up a multi project org system using recursive org
files (find-lisp-find-files) and might still have issues with the "end
node" for refiling - I'm still being offered to complete to actual org
tasks as opposed to just the "level" and I'm not sure if this is a
limitation of the org hierarchical system or my
understanding/setup. I'll post more dumb questions when I've
experimented some more ;)

I knew I should never have stopped using org for a while, but the
building back from scratch is good for a clean out of my org-settings ;)

r.


Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Jan 13, 2010, at 8:07 PM, John Rakestraw wrote:
>
>>>>>>> Richard Riley writes:
>>
>>> That is fine and as expected. My point is more that I am unable to
>>> file to linux.org/general since it has elements filed there. It  
>>> offers
>>> me to select an actual existing org item as opposed to letting me
>>> store the rewritten item to linux.org/general.
>>
>> Not sure I understand you here, so this might not be helpful. However,
>> when I do what I think you're trying to do, hitting the space bar  
>> after
>> "linux.org/general" is in the mini-buffer allows me to save directly  
>> to
>> "linux.org/general."
>
> Do you need to press SPACE, or does RET also do the trick?
> Because, as Manish points out in another message, SPC should
> really be allowed as a character in a new headline you define.
> Apparently right now it is not allowed as it is treated as
> a completion command.
>
> Could you please test if, in your setup, RET works as well?
>
> Thanks.
>
> - Carsten
>
>> This assumes that :level and/or :maxlevel are set
>> appropriately in the org-refile-targets variable.
>>
>> -- 
>> John Rakestraw
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

-- 
Google Talk : rileyrgdev@googlemail.com  http://www.google.com/talk

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-15  7:08       ` Carsten Dominik
  2010-01-15 10:21         ` refiling Richard Riley
@ 2010-01-15 14:35         ` John Rakestraw
  2010-01-15 17:32           ` Carsten Dominik
  2010-06-25  5:27           ` Carsten Dominik
  1 sibling, 2 replies; 16+ messages in thread
From: John Rakestraw @ 2010-01-15 14:35 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Richard Riley, emacs-orgmode

>>>>> Carsten Dominik writes:

> Do you need to press SPACE, or does RET also do the trick? Because, as
> Manish points out in another message, SPC should really be allowed as
> a character in a new headline you define. Apparently right now it is
> not allowed as it is treated as a completion command.

When refiling an already existing note (using C-c C-w), then RET works.
However, when filing a new note created by org-remember (using C-c C-c),
RET merely prompts me with the possible next-level headings. Pressing
SPACE and then RET files the new note under the first-level heading. 

-- 
John Rakestraw

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-15 14:35         ` refiling John Rakestraw
@ 2010-01-15 17:32           ` Carsten Dominik
  2010-06-25  5:27           ` Carsten Dominik
  1 sibling, 0 replies; 16+ messages in thread
From: Carsten Dominik @ 2010-01-15 17:32 UTC (permalink / raw)
  To: John Rakestraw; +Cc: Richard Riley, emacs-orgmode


On Jan 15, 2010, at 3:35 PM, John Rakestraw wrote:

>>>>>> Carsten Dominik writes:
>
>> Do you need to press SPACE, or does RET also do the trick? Because,  
>> as
>> Manish points out in another message, SPC should really be allowed as
>> a character in a new headline you define. Apparently right now it is
>> not allowed as it is treated as a completion command.
>
> When refiling an already existing note (using C-c C-w), then RET  
> works.
> However, when filing a new note created by org-remember (using C-c C- 
> c),
> RET merely prompts me with the possible next-level headings. Pressing
> SPACE and then RET files the new note under the first-level heading.

Hi John, thank you for the clear reply.  I need to look into
sanitizing this part.

- Carsten

>
> -- 
> John Rakestraw

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-01-15 14:35         ` refiling John Rakestraw
  2010-01-15 17:32           ` Carsten Dominik
@ 2010-06-25  5:27           ` Carsten Dominik
  2010-06-25 16:01             ` John Rakestraw
  1 sibling, 1 reply; 16+ messages in thread
From: Carsten Dominik @ 2010-06-25  5:27 UTC (permalink / raw)
  To: John Rakestraw; +Cc: Richard Riley, emacs-orgmode


On Jan 15, 2010, at 3:35 PM, John Rakestraw wrote:

>>>>>> Carsten Dominik writes:
>
>> Do you need to press SPACE, or does RET also do the trick? Because,  
>> as
>> Manish points out in another message, SPC should really be allowed as
>> a character in a new headline you define. Apparently right now it is
>> not allowed as it is treated as a completion command.
>
> When refiling an already existing note (using C-c C-w), then RET  
> works.
> However, when filing a new note created by org-remember (using C-c C- 
> c),
> RET merely prompts me with the possible next-level headings. Pressing
> SPACE and then RET files the new note under the first-level heading.

Hi John,

I think this issue is obsolete with the new capture interface.

- Carsten

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-06-25  5:27           ` Carsten Dominik
@ 2010-06-25 16:01             ` John Rakestraw
  2010-06-25 16:21               ` Carsten Dominik
  0 siblings, 1 reply; 16+ messages in thread
From: John Rakestraw @ 2010-06-25 16:01 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Richard Riley, emacs-orgmode

On Fri, 25 Jun 2010, Carsten Dominik wrote:
>> When refiling an already existing note (using C-c C-w), then RET works.
>> However, when filing a new note created by org-remember (using C-c C-
>> c),
>> RET merely prompts me with the possible next-level headings. Pressing
>> SPACE and then RET files the new note under the first-level heading.
>
> Hi John,
>
> I think this issue is obsolete with the new capture interface.
>
> - Carsten

Indeed it is. Thanks. (And thanks also for remembering to close such a
small loop -- tell me, what PIM do you use to keep track of all the
things that you do? ;-)

-- 
John Rakestraw

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Re: refiling
  2010-06-25 16:01             ` John Rakestraw
@ 2010-06-25 16:21               ` Carsten Dominik
  0 siblings, 0 replies; 16+ messages in thread
From: Carsten Dominik @ 2010-06-25 16:21 UTC (permalink / raw)
  To: John Rakestraw; +Cc: Richard Riley, emacs-orgmode


On Jun 25, 2010, at 6:01 PM, John Rakestraw wrote:

> On Fri, 25 Jun 2010, Carsten Dominik wrote:
>>> When refiling an already existing note (using C-c C-w), then RET  
>>> works.
>>> However, when filing a new note created by org-remember (using C-c  
>>> C-
>>> c),
>>> RET merely prompts me with the possible next-level headings.  
>>> Pressing
>>> SPACE and then RET files the new note under the first-level heading.
>>
>> Hi John,
>>
>> I think this issue is obsolete with the new capture interface.
>>
>> - Carsten
>
> Indeed it is. Thanks. (And thanks also for remembering to close such a
> small loop -- tell me, what PIM do you use to keep track of all the
> things that you do? ;-)

:-)

- Carsten

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-06-25 17:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-13 16:30 refiling Richard Riley
2010-01-13 16:41 ` refiling Richard Riley
2010-01-13 17:33 ` refiling Manish
2010-01-13 17:45   ` refiling Richard Riley
2010-01-13 18:17 ` refiling Matt Lundin
2010-01-13 18:27   ` refiling Richard Riley
2010-01-13 19:07     ` refiling John Rakestraw
2010-01-13 19:40       ` refiling Richard Riley
2010-01-14  6:16         ` refiling Manish
2010-01-15  7:08       ` Carsten Dominik
2010-01-15 10:21         ` refiling Richard Riley
2010-01-15 14:35         ` refiling John Rakestraw
2010-01-15 17:32           ` Carsten Dominik
2010-06-25  5:27           ` Carsten Dominik
2010-06-25 16:01             ` John Rakestraw
2010-06-25 16:21               ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).