unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: calc-undo keybinding
Date: Wed, 19 Jan 2011 22:48:14 +0100	[thread overview]
Message-ID: <m362tkd0pt.fsf@verona.se> (raw)
In-Reply-To: <jwvtyh4zk63.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 19 Jan 2011 15:58:07 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I like to bind the undo command to c-z.
>
> OK.
>
>> calc-ext.el rebinds all standard undo keys to calc-undo.
>
> OK.
>
>> Now, I can of course create my prefered binding in the mode hook, but is
>> that really the best way? None of the keymap remap commands seemed
>> suitable, but I'm happily corrected.
>
> I missed the part where you describe the problem.  Is it that
> calc-ext.el rebinds all standard undo keys to calc-undo but doesn't
> rebind your C-z binding?

Yes. I can fix it in the mode hook, but is this really the way it should
work? It just feels like calc should hook into the existing undo
function.

>
>         Stefan

-- 
Joakim Verona



  reply	other threads:[~2011-01-19 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 15:58 calc-undo keybinding joakim
2011-01-19 20:58 ` Stefan Monnier
2011-01-19 21:48   ` joakim [this message]
2011-01-19 23:13     ` Stefan Monnier
2011-01-20 10:06       ` Štěpán Němec
2011-01-20 15:53         ` Stefan Monnier
2011-01-20 18:57           ` Jay Belanger

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m362tkd0pt.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.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).