emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Error in pre-command-hook


From: bebop52
Subject: [Orgmode] Re: Error in pre-command-hook
Date: Thu, 02 Dec 2010 21:47:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

David Maus <address@hidden> writes:

> At Wed, 1 Dec 2010 12:27:10 +0000 (UTC),
> Thorsten wrote:
>>
>> When entering a date and pressing M-+ to increment 1 day I get the following
>> error message:
>> Error in pre-command-hook: (wrong-type-argument symbolp
>> (lambda nil (interactive) (org-eval-in-calendar
>> (quote (calendar-forward-day 1)))))
>>
>> This only happens once, the first time I press M-+ in a new Emacs session.
>> Then I can try again and everything works fine.
>
> I cannot reproduce this.  Can you give a step-by-step instruction (aka
> minimal example)?  I tried to reproduce this one with Org 7.3 while
> scheduling an item, but no luck: M-+ is not bount to a function.
>
> Best,
>   -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... address@hidden
> Email..... address@hidden
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



1. I start up emacs and open an .org file
2. I enter i.e.a new meeting
* meeting 
and hit C-c .  or C-u-c .
3. Then in the minibuffer I hit M-+ or M-p (M = <ALT>) to change day or
week in the calendar. 

The very first time I do this I get the above error message, and only
then. 

cheers
Thorsten
   
C-h k =>
-------
M-+ runs the command org-shiftright, which is an interactive Lisp
function in `org.el'.

It is bound to M-+, <menu-bar> <Org> <TODO Lists> <Select keyword>
<Next keyword>, <menu-bar> <Org> <Dates and Scheduling> <Change Date>
<1 Day Later>.

(org-shiftright &optional arg)

Cycle the thing at point or in the current line, depending on context.
Depending on context, this does one of the following:

- switch a timestamp at point one day into the future
- on a headline, switch to the next TODO keyword.
- on an item, switch entire list to the next bullet type
- on a property line, switch to the next allowed value
- on a clocktable definition line, move time block into the future

------

M-p runs the command org-shiftup, which is an interactive Lisp
function in `org.el'.

It is bound to M-p, <menu-bar> <Org> <TODO Lists> <Priority Up>,
<menu-bar> <Org> <Dates and Scheduling> <Change Date> <1 ... Later>.

(org-shiftup &optional arg)

Increase item in timestamp or increase priority of current headline.
Calls `org-timestamp-up' or `org-priority-up', or `org-previous-item',
depending on context.  See the individual commands for more information.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]