emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: keymap interference with calc
@ 2007-03-27  5:39 Thomas Baumann
  2007-03-28 10:01 ` Carsten Dominik
  2007-03-28 18:02 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Baumann @ 2007-03-27  5:39 UTC (permalink / raw)
  To: emacs-orgmode

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 <backspace>) 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 <backspace>) 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug: keymap interference with calc
  2007-03-27  5:39 bug: keymap interference with calc Thomas Baumann
@ 2007-03-28 10:01 ` Carsten Dominik
  2007-03-28 18:02 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2007-03-28 10:01 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

I had noticed this problem with calc too, but had not figured out that 
this is related to Org-mode.  I'll check.  Thanks.

- 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 <backspace>) 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 <backspace>) 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug: keymap interference with calc
  2007-03-27  5:39 bug: keymap interference with calc Thomas Baumann
  2007-03-28 10:01 ` Carsten Dominik
@ 2007-03-28 18:02 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2007-03-28 18:02 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode


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 <backspace>) 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 <backspace>) 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-28 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27  5:39 bug: keymap interference with calc Thomas Baumann
2007-03-28 10:01 ` Carsten Dominik
2007-03-28 18:02 ` Carsten Dominik

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).