From mboxrd@z Thu Jan 1 00:00:00 1970 From: bebop52 Subject: Re: Error in pre-command-hook Date: Thu, 02 Dec 2010 21:47:03 +0100 Message-ID: <86oc932988.fsf@googlemail.com> References: <87y6892qt9.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33011 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POG3p-0004ve-Rz for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 15:47:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POG3o-0000lP-5R for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 15:47:25 -0500 Received: from lo.gmane.org ([80.91.229.12]:34776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POG3n-0000ko-Qs for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 15:47:24 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1POG3m-0001W9-8y for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 21:47:22 +0100 Received: from e179042110.adsl.alicedsl.de ([85.179.42.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Dec 2010 21:47:22 +0100 Received: from gruenderteam.berlin by e179042110.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Dec 2010 21:47:22 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org David Maus 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 = ) 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-+,