From: bebop52 <gruenderteam.berlin@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Error in pre-command-hook
Date: Thu, 02 Dec 2010 21:47:03 +0100 [thread overview]
Message-ID: <86oc932988.fsf@googlemail.com> (raw)
In-Reply-To: 87y6892qt9.wl%dmaus@ictsoc.de
David Maus <dmaus@ictsoc.de> 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.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
> _______________________________________________
> 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
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.
next prev parent reply other threads:[~2010-12-02 20:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 12:27 Error in pre-command-hook Thorsten
2010-12-01 20:14 ` David Maus
2010-12-02 20:47 ` bebop52 [this message]
2010-12-12 9:11 ` Thorsten
2010-12-12 9:37 ` Leo
2010-12-15 1:42 ` Thorsten
2010-12-15 19:57 ` bebop52
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86oc932988.fsf@googlemail.com \
--to=gruenderteam.berlin@googlemail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).