[Orgmode] Re: Sorting agenda items

2008-04-18 Thread Manish
  On Fri, Apr 18, 2008 at 1:59 AM, Manish wrote:
  > Hello All,
  >
  >   I would like to set up a daily agenda view with todos sorted in the
  >  following order:
  >
  >   1. Timed TODOs
  >   2. DEADLINES
  >   3. TODO type - STARTED
  >   4. TODO type - NEXT
  >   5. TODO type - TODO
  >
  >   I could find/figure out how to do #1 and #2 but #3-5 escape me.  I
  >  hope I did not miss it in the manual.
  >
  >   The whole idea is to spend minimum brain cycles while picking up
  >  next item from the agenda.  One way that makes sense for me is to
  >  reduce the size of region that I would scan while picking up next item
  >  (i.e. set of NEXT todos).  I think it's possible if one uses tags to
  >  mark task state changes.  Not sure how to do it with TODO keywords.  I
  >  wonder if people just pick up whatever is on the top of the agenda or
  >  scan the whole list everytime you want to pick up next task?
  >
  >  Hope it made sense.
  >

  While searching for how people deal with this, I found this almost 3
year old wonderful post about strategies to approach your tasks:
http://www.murtworld.com/2005/04/revolving-workflow-strategies.php .

  And with latest sorting options "effort-up" and "effort-down", I
guess I have a sensible way to decide which next actions to pick up.
Thanks Carsten.  I am thinking it's even better than sorting on TODO
keywords.

  Now if only I can sort tasks based on their creation dates as
well. ;-) Just kidding.

-- 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: Search all `org-agenda-files'

2008-04-18 Thread Leo
On 2008-04-18 04:44 +0100, Carsten Dominik wrote:
> Internal commands for this in Org are:
>
[...]
>
> - Carsten

Great. Both are what I am looking for.

Thanks,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

Use the better alternative -- http://www.openoffice.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


Re: [Orgmode] void variable

2008-04-18 Thread Carsten Dominik

I cannot reproduce this.

What is your emacs version???

- Carsten

On Apr 17, 2008, at 9:54 PM, J. David Boyd wrote:



Whenever I try to publish an org file (ver 6.01a), I now get the error

Symbol's value as variable is void: add-to-diary-list

I can see the function being created in org-agenda, but I don't  
understand why the error msg references it a sa variable.



Here is the debug list.  Any ideas?


Debugger entered--Lisp error: (void-variable add-to-diary-list)
 byte-code("ÆÇ!ˆÈÉÊ   \n\f
&#ˆÈËÊ #ˆÈÌÃ\n!#ˆÈÍÃ\n!#ˆÈÎÊ #ˆÈÏÃ\n!#ˆÈÐÃ\n! 
#ˆÈÐÃ\n!#ˆÈÑÃ\n!#ˆÈ ÒÊ #ˆÈ!ÓÃ\n!#ˆÈ\"ÔÃ\n!#ˆÈ#ËÃ\n!#ˆÈ 
$ËÃ\n!#ˆÈ%ÌÃ\n!#ˆÈ&ÕÃ\n!#ˆÈ'ÖÃ\n!#‡" [add-to-diary-list  
string specifier &optional marker globcolor require org declare- 
function "diary-lib" date "cal-iso" "cal-julian" "cal-bahai"  
"holidays" "cal-china" "cal-coptic" "cal-french" "cal-move" "cal- 
hebrew" "cal-islam" "cal-mayan" "cal-persia" literal calendar- 
absolute-from-iso calendar-astro-date-string calendar-bahai-date- 
string calendar-check-holidays calendar-chinese-date-string calendar- 
coptic-date-string calendar-ethiopic-date-string calendar-french- 
date-string calendar-goto-date calendar-hebrew-date-string calendar- 
islamic-date-string calendar-iso-date-string calendar-iso-from- 
absolute calendar-julian-date-string calendar-mayan-date-string  
calendar-persian-date-string] 10)

 require(org-agenda)
 eval-buffer(# nil "/home/Dave/.emacs.d/org/lisp/org- 
exp.el" nil t)  ; Reading at buffer position 1196
 load-with-code-conversion("/home/Dave/.emacs.d/org/lisp/org-exp.el"  
"/home/Dave/.emacs.d/org/lisp/org-exp.el" 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




___
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 6.01 and XEmacs

2008-04-18 Thread Richard KLINDA
> Regarding 'Re: Org 6.01 and XEmacs'; Bernt Hansen adds:


  > Richard KLINDA <[EMAIL PROTECTED]> writes:
  >> Has anyone tried out Org 6.01 with XEmacs?  It doesn't work for me,
  >> before I dwell into this any further I would like to know if this
  >> is a problem with my setup, or others experience this too.  ATM I
  >> went back to 5.23a

  > It works for me (Org-mode version 6.02pre-01).  There are some setup
  > things to change with lisp files moving around etc - see the release
  > notes.

Today I redownloaded Org, now it is version 6.01d (org-version returns
6.01c), I plugged it in the place of the 6.01 and fortunately everything
works as expected.  Maybe I borked something up with the previous
version, in that case sorry for the noise. :)

Thanks,
Richard


___
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: (a bit OT) interesting post on "what makes a good GTD list manager"

2008-04-18 Thread Detlef Steuer
On Thu, 17 Apr 2008 13:35:07 +0100
Pete Phillips <[EMAIL PROTECTED]> wrote:

> > "Carsten" == Carsten Dominik <[EMAIL PROTECTED]> writes:
> 
> >> I chose orgmode because it is so usable and syncable on _my_
> >> portable device (good old zaurus).  Hits this spot, too!
> 
> Carsten> Does that really work?  Emacs on such a device?  I'd love
> Carsten> to try it.
> 
> I have a Zaurus, but I could never find a full emacs package to install,
> only microemacs I think.  I'd be happy to give it a try. Last summer I
> took my org files on holiday on my Zaurus and used vi to edit them!  
> 

I have a Zaurus 860 and emacs can be found here:

http://www.tyrannozaurus.com/feed/contribs/everyone-pdaxrom/

Obviously you must use the pdaXrom flavour.

Works surprisingly well.

Detlef

> Pete
> 
> 
> ___
> 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


[Orgmode] Re: Search all `org-agenda-files'

2008-04-18 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Internal commands for this in Org are:
>
> 1. multi-occur, a standard emacs command.  To apply it to the
>   agenda files, call it through the agenda dispatcher, for me this
>   is `C-c a /'.
>
>   That does not include any archive files though.  To do so,
>   get the new version from the git repo and do
>
>(setq org-agenda-text-search-extra-files '(agenda-archives))
>

Great!  I learn more useful org-mode/Emacs commands everyday :)


> 2. You can also use search view, which is a new agenda view and allows
> you
>   to search for multiple words and/or regexps which all need to match
> in an
>   entry, not necessarily in a single line.  It searches for whole
> words, not
>   partial words.  Hmm, maybe it should for partial words as well?
>
>   C-c a S +word1 +word2 -excludethisword RET

C-c a s +word1 +word2 -excludethisword RET
  ^
  lowercase 's'
>
>   This also searched the extra files defined above.

I tried this with the org-agenda-text-search-extra-files setting above
and it runs through each of my archives stating they don't exist.

non-existent file todo.org_archive. [R]emove from list or [A]bort?

Maybe it's looking in the wrong directory?

Thanks for this.  I can see this will be really useful for digging up
my old notes in my (now huge) org files (and their archives) :-)

Regards,
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] Search all `org-agenda-files'

2008-04-18 Thread Joel J. Adamson
Leo <[EMAIL PROTECTED]> writes:

> Dear All,
>
> Have you ever wanted to retrieve some information from your org files
> regarding some projects?
>
> I wonder whether a command similar to `occur' but applies to all files
> listed in `org-agenda-files' and their corresponding ARCHIVED files
> might be desirable for org users.

Try using ibuffer, filtering by name to files containing "org" or
whatever appropriate regex, then the command "O" will run something like
M-x occur.  You have to mark the files before you run O.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.





___
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] org-table : some questions ...

2008-04-18 Thread Carsten Dominik


On Apr 18, 2008, at 3:17 PM, Jose Robins wrote:

Let me first setup the context for my question. I'm an electrical  
engineer designing IC's (in San Diego, USA) and have a great need  
for documenting my simulation data in a format similar to what I  
have attached in the jpg file (and pasted below)...


The snapshot below  was using  built-in table-mode in emacs. The key  
reason I used table mode instead of org-table to document this data  
was due to the ability to have some columns be merged (or "spanned"  
in table-mode terminology) in some rows. However I find org-table's  
features a bit more intuitive and would prefer to use that instead.   
In fact I started off with documenting data in org-mode and finally  
converted that to table-mode because of the exact reason that I  
mentioned above.


Question(s):
1.  Is there a way that I could achieve this sort of column spanning  
in org-table mode?


No.



2. Or is there an alternative way of arrangement using org-mode to  
achieve the same objective of data organization?


Not really.  You can put arbitrarily long text into a column and then  
fix with width of a column, but that is it.


3. If not, would this be easy to implement (and useful enough for  
others) to have such an option?


I would be really hard to implement and so it is not oing to happen.   
table.el that
comes with emacs is nice for this kind of stuff, if you find some of  
the commands
not intuitive, try to bind your own commands, or contact the author of  
table.el, Takaaki Ota is a nice guy, maybe you can inspire him.


table.el is focussed on nice and flexible layout, and they integrate  
with Org quite well in terms of export and activation.


Org's tables are for speed and ease of use, and to allow  
computations.  I don't see a way to make both possible in the same  
table.


- 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


[Orgmode] Re: Search all `org-agenda-files'

2008-04-18 Thread Jost Burkardt
Hi Leo,

is

M-x org-occur-in-agenda-files 

what you are looking for?

> Dear All,
>
> Have you ever wanted to retrieve some information from your org files
> regarding some projects?
>
> I wonder whether a command similar to `occur' but applies to all files
> listed in `org-agenda-files' and their corresponding ARCHIVED files
> might be desirable for org users.
>
> Thank you for considering this proposal.
>
> Regards,
> -- 
> .:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.
>
> Use the better alternative -- http://www.openoffice.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
>
--
 Jost



___
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: void variable

2008-04-18 Thread J. David Boyd



GNU Emacs 22.1.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars)

I had some extensions written by Sacha Chua installed, but I've
removed them, and it still barfs.

I guess I'll try unloading my entire .emacs, then loading just the org
stuff, and see what happens.

Dave



Carsten Dominik <[EMAIL PROTECTED]> writes:

> I cannot reproduce this.
>
> What is your emacs version???
>
> - 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


[Orgmode] Re: void variable

2008-04-18 Thread J. David Boyd

Well, when I removed the .elc files, so I could attempt to debug it,
it worked fine.

Maybe I'll recompile, and maybe I'll just leave it alone.  It works
fast enough for me without being compiled.  Maybe I had an old .elc
file that never got overwritten.

Whatever, sorry for the false alarm.

Dave



Carsten Dominik <[EMAIL PROTECTED]> writes:

> I cannot reproduce this.
>
> What is your emacs version???
>
> - 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] Sorting agenda items

2008-04-18 Thread Carsten Dominik


On Apr 17, 2008, at 10:29 PM, Manish wrote:


Hello All,

 I would like to set up a daily agenda view with todos sorted in the
following order:

 1. Timed TODOs
 2. DEADLINES
 3. TODO type - STARTED
 4. TODO type - NEXT
 5. TODO type - TODO

 I could find/figure out how to do #1 and #2 but #3-5 escape me.  I
hope I did not miss it in the manual.



You cannot sort tasks in an agenda view according to TODO type,
but you can make a block agenda that extracts the different task
types one by one.

For example

(setq org-agenda-custom-commands
   '(("A" "Task types"
  ((agenda "" nil)
  (todo "STARTED" nil)
  (todo "NEXT" nil)
  (todo "TODO" nil))
  nil nil)))

sets up a view that contains

1. The agenda, which includes scheduled and deadline stuff.
2. All STARTED entries
3. All NEXT entries
4. All TODO entries


The other posiility, if you want to reduce the amount of stuff you  
look at, is to make

separate commands for each of these

(setq org-agenda-custom-commands
   '(("A" . "Tasks")
 ("Aa" "My agenda" agenda "" nil)
 ("As" "STARTED Stuff" todo "STARTED" nil)
 ("An" "NEXT Actions" todo "NEXT" nil)
 ("At" "TODO Items" todo "TODO" nil)))

HTH

- 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] Org-mode on Windows - Putty

2008-04-18 Thread Manish
  Wanrong> > > What I did is:
  Wanrong> > >  Add some alternative TTY key bindings for some
frequently used
  Wanrong> commands,
  Wanrong> > >  and use "AutoHotkey" to map things like "M-RET" to
those TTY key
  Wanrong> > >  bindings. Not ideal, but works fine.

Manish> > If I understand you correctly, what you are suggesting is to use
Manish> > alternative key binds as suggested by Giovanni and use
AutoHotKey to
Manish> > `translate' S- to C-c  for example.  Hmm.
Not a bad idea
Manish> > at all.  Should work.
Manish> > Can you please share relevant pieces from your .emacs
and AHK script?

  Wanrong>  #IfWinActive ahk_class PuTTY

  Wanrong>  ;; this is the killer
  Wanrong>  RAlt::LAlt

  Wanrong>  PgDn::Send ^v
  Wanrong>  PgUp::Send !v
  Wanrong>  Home::Send ^a
  Wanrong>  End::Send ^e
  Wanrong>  Delete::Send ^d
  Wanrong>  ^Home::Send !<
  Wanrong>  ^End::Send !>
  Wanrong>  ^Space::Send ^c{Space}   ;; to avoid Chinese input ZiGuan
to intercept the
  Wanrong> Ctrl-SPC

  Wanrong>  ;; modified arrow and return keys
  Wanrong>  ^Up::Send ^c{Up}
  Wanrong>  ^Down::Send ^c{Down}
  Wanrong>  ^Right::Send ^c{Right}
  Wanrong>  ^Left::Send ^c{Left}
  Wanrong>  ^Return::Send ^c{Return}
  Wanrong>  !Up::Send ^x{Up}
  Wanrong>  !Down::Send ^x{Down}
  Wanrong>  !Right::Send ^x{Right}
  Wanrong>  !Left::Send ^x{Left}
  Wanrong>  +!Return::Send ^x{Return}

  Wanrong>  ;; mark and selection commands
  Wanrong>  +Home::Send ^x{Space}^a
  Wanrong>  +End::Send ^x{Space}^e
  Wanrong>  +PgDn::Send ^x{Space}^v
  Wanrong>  +PgUp::Send ^x{Space}!v
  Wanrong>  !+Home::Send ^x{Space}!<
  Wanrong>  !+End::Send ^x{Space}!>
  Wanrong>  ^+Home::Send ^x{Space}^a
  Wanrong>  ^+End::Send ^x{Space}^e


What's working for me now is following AHK setup:

,[ AHK keys ]
| #IfWinActive lappy
| +Left::Send,^c{Left}
| +Right::Send,^c{Right}
| +Up::Send,^c{Up}
| +Down::Send,^c{Down}
| !+Left::Send,^c^x{L}
| +!Right::Send,^c^x{R}
`

along with these two key-bindings in .emacs:

,[ .emacs ]
| (global-set-key (kbd "") 'org-columns-next-allowed-value)
| (global-set-key (kbd "") 'org-columns-previous-allowed-value)
`

I don't like very much in comparison with native port.  But it works!

Thank you,
-- 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] org-mode-abbrevs-table and text-mode-abbrevs-table

2008-04-18 Thread Carsten Dominik


On Apr 17, 2008, at 6:32 PM, Seweryn Kokot wrote:


Hello,

I would like to have the same abbrevs in org-mode and text-mode.
I defined text-mode-abbrev-table, but the abbrevs are invisible in  
org-mode. I
know that message-mode inherits abbrevs from text-mode and it would  
be nice to
have the same behaviour for org-mode. Any idea how to solve the  
problem?


Best regards.
Seweryn Kokot



Hi Seweryn,

this would be

(add-hook 'org-mode-hook
  (lambda () (setq local-abbrev-table text-mode-abbrev-table)))

This could be done by default, but people use Org for so many
different things that I do not want to impose this.

- 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