From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Subject: Re: Error in pre-command-hook Date: Sun, 12 Dec 2010 10:11:44 +0100 Message-ID: <86ei9nqrsf.fsf@googlemail.com> References: <87y6892qt9.wl%dmaus@ictsoc.de> <86oc932988.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49434 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRhyU-0005Dh-0a for emacs-orgmode@gnu.org; Sun, 12 Dec 2010 04:12:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRhyP-0005N9-5i for emacs-orgmode@gnu.org; Sun, 12 Dec 2010 04:12:09 -0500 Received: from lo.gmane.org ([80.91.229.12]:43625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRhyO-0005MT-Ln for emacs-orgmode@gnu.org; Sun, 12 Dec 2010 04:12:05 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PRhyM-0000Gm-1T for emacs-orgmode@gnu.org; Sun, 12 Dec 2010 10:12:02 +0100 Received: from g231225253.adsl.alicedsl.de ([92.231.225.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 10:12:02 +0100 Received: from gruenderteam.berlin by g231225253.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Dec 2010 10:12:02 +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 Hello, I still recieve this not so critical error message in the situation described above in this thread: Error in pre-command-hook: (wrong-type-argument symbolp (lambda nil (interactive) (org-eval-in-calendar (quote (calendar-forward-day 1))))) But now I have an additional problem. Inserting a timestamp (M-x org-time-stamp) works, but the keybindings C-c . and C-u-c . do not work anymore. C-h k gives no result on both keybindings, and C-h f (org-time-stamp) does not say anything about key-bindings. C-h m gives the following output (but confusingly, the other bindings C-c C-a etc still work): C-c . org-time-stamp (that binding is currently shadowed by another mode) C-c C-a show-all (that binding is currently shadowed by another mode) C-c C-b outline-backward-same-level (that binding is currently shadowed by another mode) C-c C-c hide-entry (that binding is currently shadowed by another mode) C-c C-d hide-subtree (that binding is currently shadowed by another mode) C-c C-e show-entry (that binding is currently shadowed by another mode) C-c C-f outline-forward-same-level (that binding is currently shadowed by another mode) C-c C-k show-branches (that binding is currently shadowed by another mode) C-c C-l hide-leaves (that binding is currently shadowed by another mode) C-c RET outline-insert-heading (that binding is currently shadowed by another mode) C-c C-o hide-other (that binding is currently shadowed by another mode) C-c C-q hide-sublevels (that binding is currently shadowed by another mode) C-c C-s show-subtree (that binding is currently shadowed by another mode) C-c C-t hide-body (that binding is currently shadowed by another mode) C-c C-v outline-move-subtree-down (that binding is currently shadowed by another mode) C-c @ outline-mark-subtree (that binding is currently shadowed by another mode) M-TAB ispell-complete-word (that binding is currently shadowed by another mode) Something very similar was reported here: http://osdir.com/ml/emacs-orgmode-gnu/2010-10/msg00810.html I read that autopair.el could have something to do with it, so I added (add-hook 'org-mode-hook #'(lambda () (setq autopair-dont-activate t))) to my .emacs file - but it did not help. I'm now on orgmode 7.3, Emacs 23.1.1 and Ubuntu Maverick. Thanks for any advice Cheers Thorsten