From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug: keymap interference with calc Date: Wed, 28 Mar 2007 20:02:43 +0200 Message-ID: <5b9415e61999f7afd40512b65583d4bd@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWdnh-0002SM-T0 for emacs-orgmode@gnu.org; Wed, 28 Mar 2007 15:27:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWdng-0002P3-DO for emacs-orgmode@gnu.org; Wed, 28 Mar 2007 15:27:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWdng-0002Om-3t for emacs-orgmode@gnu.org; Wed, 28 Mar 2007 14:27:16 -0500 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HWdlA-00048X-LS for emacs-orgmode@gnu.org; Wed, 28 Mar 2007 15:24:40 -0400 In-Reply-To: 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: Thomas Baumann Cc: emacs-orgmode@gnu.org This is some very weired internal problem which I have not been able to figure out what is causing it, but it looks to me that Org-mode is not doing something wrong. The internals of remapping keys may be the culprit. For now, a work-around seems to be (setq calc-scan-for-dels nil) - Carsten On Mar 27, 2007, at 7:39, Thomas Baumann wrote: > Hi Carsten and others > > there seems to be an interference with the way org-mode captures > DEL. This happens with emacs 22.0.96 strated with emacs -Q > > Load org, visit an org-buffer, load and start calc, > in the calc buffer backspace is bound to > > DEL (translated from ) runs the command delete-backward-char > which is an interactive built-in function in `C source code'. > It is bound to DEL. > (delete-backward-char n &optional killflag) > > ... > > which causes an error in calc because there DEL should be bound to > > DEL (translated from ) runs the command calc-pop > which is an interactive compiled Lisp function in `calc.el'. > It is bound to DEL, C-d. > (calc-pop n) > > ... > > If calc is started _before_ org-mode everything is ok. This behaviour > is present in all versions since 4.57 and also in emacs-cvs. > > Best wishes > Thomas > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477