From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#835: 23.0.60; Quick calc is quietly disabled in view-mode Date: Mon, 01 Sep 2008 23:08:11 +0200 Message-ID: <48BC59BB.5@gmx.at> References: <87fxojg0k5.fsf@cyd.mit.edu> Reply-To: martin rudalics , 835@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220304470 19151 80.91.229.12 (1 Sep 2008 21:27:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 21:27:50 +0000 (UTC) Cc: 835@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 23:28:44 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KaGww-0007Yw-I1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2008 23:28:39 +0200 Original-Received: from localhost ([127.0.0.1]:56189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaGvx-0005OR-FH for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2008 17:27:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaGvu-0005OC-VH for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 17:27:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaGvt-0005Nr-H8 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 17:27:34 -0400 Original-Received: from [199.232.76.173] (port=45038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaGvt-0005Ni-89 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 17:27:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48008) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KaGvs-0007PT-Lr for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2008 17:27:33 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m81LRUM8022293; Mon, 1 Sep 2008 14:27:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m81LK4B1019394; Mon, 1 Sep 2008 14:20:04 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 01 Sep 2008 21:20:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 835 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 835-submit@emacsbugs.donarmstrong.com id=B835.122030343517134 (code B ref 835); Mon, 01 Sep 2008 21:20:04 +0000 Original-Received: (at 835) by emacsbugs.donarmstrong.com; 1 Sep 2008 21:10:35 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m81LAV7Z017128 for <835@emacsbugs.donarmstrong.com>; Mon, 1 Sep 2008 14:10:33 -0700 Original-Received: (qmail invoked by alias); 01 Sep 2008 21:10:25 -0000 Original-Received: from 62-47-37-200.adsl.highway.telekom.at (EHLO [62.47.37.200]) [62.47.37.200] by mail.gmx.net (mp006) with SMTP; 01 Sep 2008 23:10:25 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX180KIov1LM0+F1tTIVFyWZFT+LoL9QpiBhZtOsDEc AUHC2TlgSBI1MR User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87fxojg0k5.fsf@cyd.mit.edu> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 01 Sep 2008 17:27:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19986 Archived-At: > ! (define-key map (char-to-string (- (car x) ?a -1)) (cdr > x))) [...] > ! (define-key map (upcase (char-to-string (car x))) (cdr > x))) > What the original code > does is the following: for a character such as "n", it adds "C-n" to the > keymap as well (it's a hack that relies on the specific properties of > the ASCII table, and needs at least a comment). That's not what the > patched code does: it adds "N" to the keymap. Martin, what's the reason > for this change? That was my intention: AFAICT `view-mode' took `Q' (and, for example, `E') away from calc and I simply tried to give it back to calc. But maybe this part of the code really intended to add a "C-" ... martin