[Orgmode] On demand face for headers

2009-12-18 Thread PT
In this thread there was a solution for highlighting the whole
header line, so it stands out more from the buffer text:

http://thread.gmane.org/gmane.emacs.orgmode/15721/


This solution was a bit too heavy, because it affected all header
lines, and I didn't want all headers to be so conspicuous
everywhere, so I set a background color only for top-level
headers in my setup.

Here's an other solution which can be used to highlight headers
selectively if you want only particular headers to stand
out (bigger font, background color, etc.) without affecting other
headers on the same level.

To highlight a header with a custom color, simply put a space to
the end of the header line. (Headers with tags are not handled,
because I did not need it.)



(defface my-org-level-2
  '((t :background darkseagreen1))
  )

(defface my-org-level-3
  '((t :background moccasin))
  )


(setq my-org-level-emphasis-faces
  '((org-level-2 . my-org-level-2)
(org-level-3 . my-org-level-3)
))


(defadvice org-get-level-face (after my-org-get-level-face activate)
  (if (and (eq (ad-get-arg 0) 3)
   (equal (aref (match-string 0)
(- (length (match-string 0)) 
   (if org-fontify-whole-heading-line 2 1)))
  ? ))
  (let ((new-face (assoc-default ad-return-value
 my-org-level-emphasis-faces)))
(if new-face
(setq ad-return-value new-face)





___
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


[Orgmode] Re: access scattered notes centralized

2009-12-13 Thread PT
Kestutis Matonis matonisk at gmail.com writes:

 
 I would like to clear up one thing.
 Lets say i have notes in
 /home/documents/work/note.org,
 /home/documents/computers/note.org,
 and i would like that they would stay there, but also i would like to
 access all scattered  notes from one  place (that is, i wanna know
 what notes i have).
 
 Can i do this in emacs org-mode? How?
 

Keep a master org file with links to all the other org files: 

http://orgmode.org/manual/Hyperlinks.html#Hyperlinks


That's what I do. I visit the master file and from there I can access any
of the scattered note files.





___
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


[Orgmode] org-read-date-prefer-future 'time doesn't always prefer future

2009-12-10 Thread PT
This is a very useful setting, because it allows the user to
quickly schedule a task into the future by simply entering the
time, but it doesn't always do the right thing.

Suppose I scheduled a task to 1pm, but I didn't have time to deal
with it during the day. It's 5pm now. If I want to reschedule the task to
tomorrow 10am then I can write simply 10am to the time prompt and
it puts the task correctly to tomorrow 10am. However, if I want
to reschedule it to tomorrow 2pm then I can't write simply 2pm,
because then it schedules the task at 2pm today (which is past
already, since it's 5 pm).

The problem is the feature uses the task's own scheduled time to
determine if a time is in the past, instead of the current time.


It's Org-mode version 6.33




___
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


[Orgmode] Org needs your vote

2009-12-07 Thread PT
http://lifehacker.com/5419988/five-best-outlining-tools



___
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


[Orgmode] URLs are not always linked properly

2009-11-30 Thread PT
For example, for this URL the bracketed part is not handled as part of the URL, 
though it should be:

http://en.wikipedia.org/wiki/Lost_(TV_series)




___
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


[Orgmode] Re: Using shift and arrow keys to select lines in Aquamacs (in org-mode)

2009-11-11 Thread PT
J. David Boyd david at adboyd.com writes:
 
 But that breaks S-up modifying the priority on a task, as well as
 other built-in org functionality...

No, it doesn't break it, because there are other builtin keys for 
setting task priority (C-c ,).

For me text selection is a much more frequent task than changing priorities,
so it makes more sense to assign the more convenient binding to selection
and use the less convenient one for the less frequent operation.




___
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: Using shift and arrow keys to select lines in Aquamacs (in org-mode)

2009-11-10 Thread PT
Saptarshi Guha saptarshi.guha at gmail.com writes:

 
 Hello,
 I know shift and arrow keys are used by org-mode. But is there a way
 to remap them to selecting the line(as in Aquamacs text mode)
  (e.g shift+down highlights the current line, shift+up highlights the
 previous line etc).
 

I rebound the keys in my org-mode hook:



(add-hook 'org-mode-hook 'my-org-mode-stuff)

(defun my-org-mode-stuff ()
   ...
  (local-set-key (kbd C-S-right) 'forward-word-mark)
  (local-set-key (kbd C-S-left) 'backward-word-mark)
  (local-set-key (kbd S-right) 'forward-char-mark)
  (local-set-key (kbd S-left) 'backward-char-mark)
  (local-set-key (kbd S-up) 'previous-line-mark)
  (local-set-key (kbd S-down) 'next-line-mark)
  ...



___
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] Hide tasks from the agenda until they are due

2009-11-08 Thread PT
In a previous thread
(http://thread.gmane.org/gmane.emacs.orgmode/17818) there was a
discussion about using the agenda to schedule trivial time-specific
tasks during the day which can be done at or after a certain
time. These tasks should be hidden from the agenda until their time is
due, because you cannot work on them before then, so they are just
polluting the agenda view.

Matt Lundin kindly provided a quick untested solution in that thread
which was almost complete, it needed only a bit of tweaking. Here is 
the working solution (not yes extensively tested) for those interested:


(defun my-org-agenda-skip-if-later ()
  Skip entries that are later than the current time.
  (let ((time (and (org-entry-get nil TIME-TODO)
   (or (org-entry-get nil TIMESTAMP)
   (org-entry-get nil SCHEDULED)
(when time
  (unless (time-less-p (org-time-string-to-time time) (current-time))
(or (outline-next-heading)
(point-max))

(setq org-agenda-skip-function 'my-org-agenda-skip-if-later)


The tasks to be hidden need to have a special property set (TIME-TODO)
in order to distinguish them from regular timestamps which are not hidden. 
I added this property to my remember template, so it's automatically 
set when I create such a task.

I set the skip function globally, because I use a single agenda view. You
may want to set it only for certain agenda views.




___
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: Fast traversing directories

2009-10-31 Thread PT
andrea Crotti andrea.crotti.0 at gmail.com writes:

 
 (dolist ((d org-directories))

The loop is not run, because there are too many parens. Try this instead:

(dolist (d org-directories)



___
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 Strip TODO headword and refile as a note

2009-10-24 Thread PT
Alan E. Davis lngndvs at gmail.com writes:

 I stumbled momentarily, realizing I not only
 want to archive this, get it out of my agenda and todo file, I
 also want to file a note about the issues, and what I learned
 about them. 

The todo file expression suggests organizational problems. When
I began to use org-mode I also kept a todo file, but it's a
misunderstading of Org.

You don't need to keep your todos in a separate file. You should
keep everything in files thematically and toggle the TODO keyword
on the header right there in the natural context of the task. 
Org will take care of scanning of your files and pick up your TODO 
entries.

This way if you are done with an item you don't have to move it
out of your agenda and todo file, because it's already there
where it belongs, you can add notes to it there and it will
disappear from the agenda if you toggle the item to DONE state.






___
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] Option to prefer future for times too

2009-10-01 Thread PT
Currently, I'm using Google Calendar and it's quick add syntax is very 
convenient: 

http://www.google.com/support/calendar/bin/answer.py?hl=enanswer=36604#text


Of course, Org has similar capabilites, but I found one thing which google 
calendar does better: if it's 4pm and I add an event for 8am then GCal 
schedules it for 8am tomorrow.

Org, on the the other hand, schedules it for 8am today even if that time
is already passed. 

I never add past events and I think it's quite atypical. Shouldn't be an 
option similar to org-read-date-prefer-future for times
too, so that timestamps also prefer the future when no date given?



___
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] Error when invoking remember before the first header of org file

2009-10-01 Thread PT
I have remember set up, so that new notes always go to a certain org 
file under a certain header:


(setq org-default-notes-file (concat org-directory /todo.org))
(setq org-remember-default-headline capture)
(setq org-remember-templates
  '((Todo ?t * TODO %?)))


It works well, but if I'm at the beginning of an org file, before the 
first header then M-x org-remember bails out with an error.

Is it a bug? Why does it care where I'm standing in the file?

Org-mode version 6.30:

Debugger entered--Lisp error: (error Before first headline at position 1 
in buffer work.org)
  signal(error (Before first headline at position 1 in buffer work.org))
  error(Before first headline at position %d in buffer %s 
1 #buffer work.org)
  byte-code(  `p#  [error Before first headline at position %d 
in buffer %s] 4)
  org-back-to-heading(t)
  org-heading-components()
  org-store-link(nil)
  org-remember-annotation()
  run-hook-with-args-until-success(org-remember-annotation)
  remember(nil)
  org-do-remember()
  org-remember(nil)
  call-interactively(org-remember t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)





___
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] Filtering the global todo list in a custom agenda

2009-09-30 Thread PT
I'm trying to filter the global todo list, so that items with certain
tags don't appear in it, but this solution doesn't seem to work:

(setq org-agenda-custom-commands
  '((h Agenda and todo
 ((agenda )
  (alltodo -test)


Items with test tag are shown nevertheless. How could I filter them?





___
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: Filtering the global todo list in a custom agenda

2009-09-30 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:

 
 
 The todo agenda is not very good in matching.  Better to use the tags- 
 todo view, but specify no tags, onlt a todo match after the slash:
 
 (setq org-agenda-custom-commands
   '((h Agenda and todo
  ((agenda )
   (tags-todo /-test)

The problem with tags-todo it also shows the TODO items with active 
timestamps, but I don't want them there (they show up in the agenda
block), that's why I have org-agenda-todo-ignore-with-date set to t.

And that's why I tried to filter alltodo, because tags-todo ignores 
this setting. :(




___
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: Filtering the global todo list in a custom agenda

2009-09-30 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:
 
 No reason not to smile 
 
 (setq org-agenda-tags-todo-honor-ignore-options t)

Cool! :)






___
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: Link not followed in first line of file

2009-09-26 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:
 
 That is a feature.  How else would you insert an empty line before the  
 link.
 

C-q C-j, of course. 

It may not be too newbie friendly, I admit. :)





___
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] Is it possible to show an agenda item only if it's due?

2009-09-22 Thread PT
I have several items on my agenda which have a time
specification (e.g. 4pm), but it only means I should work on it
sometime after 4pm. It can even be 8pm when I actually deal with
the item.

So there is no need for me to see the item constantly on the
daily agenda, I'd like this item to appear only if I display the
agenda after 4pm. I don't want to see it before the given time,
because I can't work on it then, so it only clutters the view.

Is it possible to do this with org?





___
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: Is it possible to show an agenda item only if it's due?

2009-09-22 Thread PT
Matt Lundin mdl at imapmail.org writes:

 One recommendation:
 
 Create an :EVENING: tag and filter it out in the agenda. Or,
 optionally, create custom agenda commands for day and evening agendas
 that pull up different results based on tags.
 

This wouldn't work, because I have lots of different such times during the day
which cannot be grouped into 2-3 main categories.

4pm was only an example. It can be any other time during the day and I only
want those items to appear when their time is due.

It would be nice if org handled a category or something which I could add
to the task and it would affect its display on the agenda.



___
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: Is it possible to show an agenda item only if it's due?

2009-09-22 Thread PT
Matt Lundin mdl at imapmail.org writes:
 
 Ah I see. Another idea: write an agenda skip function that converts the
 timestamp to universal time and ignores the entry if it is greater than
 (current-time). Such as,
 

Wow, I didn't you can write your own agenda skip function. The depths of 
Org are infinite. :)

Thanks. I'll try your solution.




___
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] Eliminate DONE state?

2009-09-18 Thread PT
Is is possible to eliminate the DONE state completely? I'd like a single 
state TODO and want to switch between TODO and nothing states, but 

 (setq org-todo-keywords '((sequence TODO)))

doesn't seem to work, because it always considers the last state as a
DONE state.

Is it possible to have only a single actionable task state and nothing 
else, so when I switch then the sequence is nothing-TODO-nothing-TODO-...? 




___
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: Eliminate DONE state?

2009-09-18 Thread PT
Matt Lundin mdl at imapmail.org writes:

 Not that I am aware of. Lots of functionality in org depends on inactive
 TODOs. For instance, if you don't have a DONE state, then scheduled
 items will remain on your agenda forever, even if they aren't marked as
 a TODO.

Okay, it's not a big deal. I always delete DONE items anyway, so they don't
clutter the todo list. It's only inconvenient when I switch an item to TODO
state accidentally and I have to switch to DONE first and then nothing to
undo it. Which reminds me: I could use undo to undo it. Hmmm. :D

 
 Why not just switch back and forth between TODO and nothing by S-Right
 and S-Left?
 

I use PC selection mode so these keys are already taken and the replacement
keys org provides are not as convenient.

But I can live with it, it's a minor inconvenience. And one day I may even
discover the point of keeping DONE items in the tree and then it will be
a non-issue. :)



___
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: schedule tasks

2009-09-07 Thread PT
William Xu william.xwl at gmail.com writes:

 
 Hi folks, 
 
 I'm trying to do this: 
 
   1. schedule a TODO on THIS_DAY
   2. before THIS_DAY, don't show it in global todo list.  So I have: 
 
   (setq org-agenda-todo-ignore-scheduled t)
 
   3. on(and after when not done) THIS_DAY, show it in global todo list
 

I use a similar setup. As I understand if you want items to
appear on the date they are due you have to use the daily agenda.

So I use a custom agenda which shows the agenda items and the
todo list together:


(setq org-agenda-custom-commands
  '((h My Agenda  TODO
 ((agenda )
  (alltodo home)

The agenda part is empty if there are no due items today and the
regular todo items are under it.

Invoke the agenda with M-1 prefix to show items only for today.
It can be assigned to a keyboard macro, of course.



___
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: Stuck in a folded section when subtree is folded

2009-09-07 Thread PT
PT spamfilteraccount at gmail.com writes:

 
 If a header has some text content under it and the cursor is in
 the text then pressing TAB folds the content, but it doesn't
 change the cursor position, so the cursor is stuck in the folded
 part and, for example, beginning-of-line doesn't work, you can
 only get out from the folded part if you press cursor up/down
 


For the time being I fixed it for myself with an advice. Here it is
if someone's interested:

(defadvice org-cycle (after my-org-cycle activate)
  (if (outline-invisible-p)
  (outline-previous-visible-heading 1)))







___
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: RSI

2009-09-07 Thread PT
Daniel Martins danielemc at gmail.com writes:

 Sticky keys takes some getting used to. It makes every modifier key
 work a little like caps lock. Sounds horrible, doesn't it? Well, it's
 not really. Basically, if you press control once, it locks control
 down for the next keystroke only, after which point the keyboard
 returns to normal. Press control twice, and it locks down until you
 release it with a third press.
 C-x C-f
 Used to be: press and hold control. Press and release x. press and
 release f. Release control.
 Now it's Press and release control twice. Press and release x. press
 and release f. Press and release control.

I don't know which implementation you use, but with Windows' built-in 
sticky key setup there is no change compared to the usual order of keys:


press/release ctrl, press/release x, press/release ctrl, press/release f


No need to press and release control twice at the beginning, so it's the
same number of keypresses as the usual method, you only need to pay
attention you release the previous key before pressing the next one.

 This turns out to be easier on my hands because I don't find myself
 contorting my hands across the keyboard while I try to hold down more
 than one key at a time. 

Very true. Two keys should never be pressed with the same hand at the 
same time. 





___
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: Stuck in a folded section when subtree is folded

2009-09-06 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:
 
 Have you customized the variable org-cycle-emulate-tab?
 

No, it's nil. 

It's org 6.30, btw.



___
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: Stuck in a folded section when subtree is folded

2009-09-06 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:

 
 Wrong answer:  The correct answer would have been:
 
 Yes, it is nil!
 
 Because the default value is t!.  The default value means
 that TAB will not at all fold an entry when the
 cursor is not in the headline.  Maybe this is really the
 setting you want?

You are correct, I set it to nil, but this was not the issue. I
thought you ask it because of some strange interaction.

I'm happy with the current setting. I want TAB to fold
everywhere. The problem is if I'm standing in a place like this


* header

some text cursor is here some other text


and press TAB then the subtree is folded properly, but the cursor
is stuck in the folded section:


* header cursor appears here, it is in the folded section...



and I think it should be put to the beginning of line to avoid leaving 
it in the folded section after a fold:


cursor* header...


Maybe I was not clear enough in the first post.
 



___
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] Stuck in a folded section when subtree is folded

2009-09-05 Thread PT
If a header has some text content under it and the cursor is in
the text then pressing TAB folds the content, but it doesn't
change the cursor position, so the cursor is stuck in the folded
part and, for example, beginning-of-line doesn't work, you can
only get out from the folded part if you press cursor up/down

Isn't it a bug?

If I stand on a header which has only subheaders under it and I
press TAB then the subtree is folded and the cursor is put back
to the beginning of the header line apparently to avoid leaving
the cursor in the folded part which is a nice gesture.

Shouldn't the same happen when textual content is folded?




___
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] FILETAGS documentation clarification

2009-09-04 Thread PT
I tried FILETAGS for the first time and it failed to work and it
took a while until I found out why.

I assumed orgfiles are scanned dynamically for filetags, so I
don't have to do anything just write it into the file. Turned out I
had to reload the file as well, because org cached filetag info.

I suggest adding a sidenote about it to this page for new users,
so they know filetags don't work automatically as soon as they
are inserted into the file:

http://orgmode.org/manual/Tag-inheritance.html





___
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: FILETAGS documentation clarification

2009-09-04 Thread PT
Matt Lundin mdl at imapmail.org writes:
 
 Any time you change one of the in-buffer settings line (e.g.,
 #+FILETAGS), you need to refresh the buffer by hitting C-c C-c on the
 new or updated line. You don't have to reload the file.
 
 Here's the information in the manual:
 
 http://orgmode.org/manual/In_002dbuffer-settings.html
 

Thanks, I haven't seen this page yet.

Maybe every mention of an in-buffer keyword should be a link to
the summary page you linked, so new users can quickly find this
info by clicking on the keyword. Just a thought.




___
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: Making an org file more readable

2009-09-03 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:

 
 I have just pushed a modification so that you can, after pulling
 from git, set org-cycle-separator-lines to a negative number.
 If you set it to -N, N empty lines will be required in order
 to get a separation.  But, if there are enough empty lines,
 all will be shown.
 
 You might want to set this to -1., I like my old value of +2 best.

I tried this new setting with 6.30 and it works well, thanks for
this.

The only strange case is when a header line doesn't have any
content, only empty lines.

So if there are 2 empty lines between headers

* header1


* header2


Then the first empty line after header1 is folded regardless of
the -1 setting.  If I understand the feature correctly no folding
should occur in this case either.



___
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] Usability idea: color coding items with priorities in agenda

2009-09-01 Thread PT
The agenda list would be easier to parse with the eye if each
priority level (A, B, C) had its own face. This way the user
could optionally set a background color for these priorities, so
priority items would stand out from the todo list.



___
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: RSI

2009-09-01 Thread PT
Samuel Wales samologist at gmail.com writes:

 
 One thing that you can do is to ensure that you have a keyboard that
 has modifier keys on both sides.  You should pound a new habit into
 your cerebellum: use two hands.
 
 ...
 
 Many (maybe even most) will find this idea strange.  But I urge all of
 you to try it for a few months.


I agree it's a good idea. 

For those who think this approach is too radical I recommend
trying out sticky keys as an alternative which also alleviates a
bit the effects of the finger killing C-x/C-c and similar
combinations:

http://www.emacswiki.org/emacs/StickyModifiers



___
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: Usability idea: color coding items with priorities in agenda

2009-09-01 Thread PT
Nick Dokos nicholas.dokos at hp.com writes:

 
 You missed the *other* variable 
 
  C-h v org-agenda-fontify-priorities RET
 

Damn! Org is again a step ahead of me. :D


Thanks.




___
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: Making an org file more readable

2009-08-24 Thread PT
Nick Dokos nicholas.dokos at hp.com writes:
 
 You *can* get an empty line between two headers by having two empty lines at
 the end of the first section: the first empty line is considered part of
 the section and is folded with it, but the second one remains. E.g.

One more thing for those who don't know this:

I took a look at the relevant part of outline.el and turns out
one empty line is enough if outline-blank-line is set to t.


It's almost perfect. It would be perfect if outline would leave
alone all empty lines after the content, so if I have e.g. two
empty lines there then it would fold non-empty lines only leaving
both empty lines visible, so that I could use as many
empty lines for separation as I want.




___
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: Preventing (or mitigating) accidental deletion in org-mode

2009-08-23 Thread PT
Nick Bell mail at nickbell.org writes:

 
 Dear List,
 
 Org-mode is great and I'd like to commit to it. However, I'm held back
 by the  apparent fragility of  data stored in org-files.  For example,
 it's easy to delete entire folded  trees of data with just a couple of
 keystrokes or a mouse click.
 

This shouldn't be a big problem, because you have automatic
backup of your org and other files, right?

Combining this with the builtin undo and setting up Emacs' own
backup properly (http://www.emacswiki.org/emacs/ForceBackups)
makes any recent or older version of your org files easily
retrievable, so no information can be lost.




___
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] Making an org file more readable

2009-08-23 Thread PT
My main gripe with org is that the appearance is too
crowded. Even if the header lines have different colors the
individual projects and sections I keep in the file have no visual
separation between them. For example, sometimes I'd like to add
empty lines after a header, so there is some visual space before
the next header begins. The problem is the empty lines at the end
of the content are folded too when the content is folded.

I know it's more of an outline issue than an org issue, but I ask
here nevertheless: did anyone find a good way to separate the
headers from each other in a big org file visually, so it is more
readable?




___
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: Making an org file more readable

2009-08-23 Thread PT
Nick Dokos nicholas.dokos at hp.com writes:
 
 You *can* get an empty line between two headers by having two empty lines at
 the end of the first section: the first empty line is considered part of
 the section and is folded with it, but the second one remains. E.g.

For some reason, I didn't try that. :) Thanks. One annoyance less.



___
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] Feature idea: Automatic clocking

2009-08-21 Thread PT
I just started using clocking and it seems really useful. It
occured me it could also be done automatically for certain tasks
which are performed in the org buffer.

For example, I work on some text which I keep in an org subtree,
the branches of the subtree hold the chapters, etc.

If the main subtree which is the root of the document has a CLOCK
property (put there by a previous manual clocking) and also an
AUTOCLOCK or similar property then it could monitor if I modify
the text within the subtree and start the clock automatically. If
I stop modifying the subtree then after a while (say, 30 seconds,
configurable) it would stop the clock automatically.

So for subtrees explicitly marked for automatic clocking the user
wouldn't have to start/stop the clock manually at all, org could
do it itself.

What do you think?



___
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] Org suggestion: option which allows moving subtrees freely

2009-08-11 Thread PT
Often I want to move an item or a subtree to an other location
with M-up/down and I get the message Cannot move past superior
level.

I think there could be an option allowing this behavior. In
practice I found sometimes it would be quicker and easier to move
stuff under a different heading in the same file by simply using
Meta+cursor keys than using the refill interface.



___
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: Org suggestion: option which allows moving subtrees freely

2009-08-11 Thread PT
Carsten Dominik carsten.dominik at gmail.com writes:

 
 I do M-left M-up M-right to get past a parent.  When moving down,
 M-left M-down M-right will get you to the end of that subtree, but
 otherwise it works just fine.

It seems like something which org could also do if the user sets the option.

If I move the tree up with M-up and it sees I'm at the parent heading then it 
could set the header level to the same as the parent's, move the item above the 
parent and leave it there, letting me do the rest of the positioning manually.

So it would spare at least an M-left for the user which doesn't seem much, but 
small things add up in the long run.




___
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: Org suggestion: option which allows moving subtrees freely

2009-08-11 Thread PT
PT spamfilteraccount at gmail.com writes:
 
 So it would spare at least an M-left for the user which doesn't seem much, 
 but 
 small things add up in the long run.
 

Maybe the M-right part wouldn't be too hard either. If above the
moved up header (which is now at the same level as its previous
parent header after an automatic M-left) there is an other header
on the same level then it could be put under it with an automatic
M-right.

It could spare 2 keypresses which would be a real improvement.



___
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