[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: New implementation of the Org remember process ready f
From: |
Bernt Hansen |
Subject: |
Re: [Orgmode] Re: New implementation of the Org remember process ready for comments and testing |
Date: |
Wed, 23 Jun 2010 22:41:37 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Bernt Hansen <address@hidden> writes:
> Nick Dokos <address@hidden> writes:
>
>> Bernt Hansen <address@hidden> wrote:
>>
>>>
>>> One thing I'm missing is I have a function that changes my TODO state to
>>> NEXT on clock in except when I'm creating a new remember-mode task.
>>>
>>> I need a similar way to tell if I'm in a capture-mode buffer to prevent
>>> changing the todo state to NEXT on clock-in.
>>>
>>> I can use the buffer name which starts with "CAPTURE-" and ends in
>>> ".org" but that feels kind of hackish. Is there a variable or function
>>> available that I can use to tell if I'm clocking in a task in a capture
>>> buffer?
>>>
>>> Something like (capture-mode-p) maybe?
>>>
>>
>> Maybe this?
>>
>> ,----
>> | org-capture-mode is a variable defined in `org-capture.el'.
>> | Its value is t
>> | Local in buffer CAPTURE-work.org; global value is nil
>> |
>> | Automatically becomes buffer-local when set in any fashion.
>> |
>> | Documentation:
>> | Non-nil if Org-Capture mode is enabled.
>> | Use the command `org-capture-mode' to change this variable.
>> `----
>
> I tried that but couldn't get it to work :)
Actually that seems to work in Emacs 23 but not in Emacs 22. It's value
is always nil in emacs 22.
GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09
on raven, modified by Debian
-Bernt
- Re: [Orgmode] New implementation of the Org remember process ready for comments and testing, (continued)
- [Orgmode] Re: New implementation of the Org remember process ready for comments and testing, Bernt Hansen, 2010/06/23
- Re: [Orgmode] Re: New implementation of the Org remember process ready for comments and testing, Nick Dokos, 2010/06/23
- Re: [Orgmode] Re: New implementation of the Org remember process ready for comments and testing, Bernt Hansen, 2010/06/23
- Re: [Orgmode] Re: New implementation of the Org remember process ready for comments and testing,
Bernt Hansen <=
- [Orgmode] Capture mode seems to be easily confused in Emacs 22, Bernt Hansen, 2010/06/23
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Carsten Dominik, 2010/06/24
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Bernt Hansen, 2010/06/24
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Carsten Dominik, 2010/06/24
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Bernt Hansen, 2010/06/24
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Carsten Dominik, 2010/06/24
- [Orgmode] Re: Capture mode seems to be easily confused in Emacs 22, Bernt Hansen, 2010/06/24