From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: calc-undo keybinding Date: Wed, 19 Jan 2011 22:48:14 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295473712 27436 80.91.229.12 (19 Jan 2011 21:48:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 21:48:32 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 19 22:48:27 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfftC-0004nZ-JH for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2011 22:48:26 +0100 Original-Received: from localhost ([127.0.0.1]:60847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfftC-0004ZH-3R for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2011 16:48:26 -0500 Original-Received: from [140.186.70.92] (port=60609 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfft5-0004QR-BU for emacs-devel@gnu.org; Wed, 19 Jan 2011 16:48:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfft4-0000Qg-5t for emacs-devel@gnu.org; Wed, 19 Jan 2011 16:48:19 -0500 Original-Received: from iwfs.imcode.com ([82.115.149.64]:55279 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfft3-0000QQ-Om for emacs-devel@gnu.org; Wed, 19 Jan 2011 16:48:18 -0500 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id p0JLmFp1017157; Wed, 19 Jan 2011 22:48:15 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 19 Jan 2011 15:58:07 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134780 Archived-At: Stefan Monnier 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