From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arni Magnusson Newsgroups: gmane.emacs.bugs Subject: bug#6035: M-x gdb crashes Date: Tue, 6 Jul 2010 08:47:20 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: dough.gmane.org 1278406843 19558 80.91.229.12 (6 Jul 2010 09:00:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 09:00:43 +0000 (UTC) Cc: 6035@debbugs.gnu.org, Dmitry Dzhus To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 11:00:41 2010 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.69) (envelope-from ) id 1OW411-0002Ex-Vh for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 11:00:38 +0200 Original-Received: from localhost ([127.0.0.1]:50577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW40a-0005C9-5Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 05:00:04 -0400 Original-Received: from [140.186.70.92] (port=53383 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW40Q-0005Aw-Fx for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 04:59:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OW40K-0004xh-IN for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 04:59:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46693) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW40K-0004xd-H2 for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2010 04:59:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OW3ov-0004UA-Rq; Tue, 06 Jul 2010 04:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arni Magnusson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jul 2010 08:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6035 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6035-submit@debbugs.gnu.org id=B6035.127840605017236 (code B ref 6035); Tue, 06 Jul 2010 08:48:01 +0000 Original-Received: (at 6035) by debbugs.gnu.org; 6 Jul 2010 08:47:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW3oP-0004Tx-O1 for submit@debbugs.gnu.org; Tue, 06 Jul 2010 04:47:30 -0400 Original-Received: from hafgarpur.hafro.is ([130.208.64.48]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW3oN-0004Tq-Gi for 6035@debbugs.gnu.org; Tue, 06 Jul 2010 04:47:28 -0400 X-Virus-Scanned: amavisd-new at hafro.is Original-Received: from hafstormur.hafro.is (hafstormur [130.208.66.52]) by hafgarpur.hafro.is (8.14.2/8.14.2/hafro-2.46) with ESMTP id o668lLol007144; Tue, 6 Jul 2010 08:47:21 GMT Original-Received: from hafstormur.hafro.is (localhost [127.0.0.1]) by hafstormur.hafro.is (8.14.3/8.14.3/hafro-1.6) with ESMTP id o668lL9g025266; Tue, 6 Jul 2010 08:47:21 GMT Original-Received: from localhost (arnima@localhost) by hafstormur.hafro.is (8.14.3/8.14.3/hafro-0.3) with ESMTP id o668lKK2025261; Tue, 6 Jul 2010 08:47:20 GMT X-Authentication-Warning: hafstormur.hafro.is: arnima owned process doing -bs In-Reply-To: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Jul 2010 04:48:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:38253 Archived-At: C-c C-char: reserved for major and minor modes (source: elisp manual) C-x C-char: free game for anyone, potential tug-of-wars between users and modes, but no should pose no danger of crashing a mode (source: my interpretation and experience) Given the nature of Emacs, some tug-of-war of keybindings can be expected. Many of my mode hooks, for example, rebind M-n and M-p to what I like them to do, overriding what the mode author thought I might like. This is harmless, and has not crashed any mode. The elisp manual (23.2.2) allows major modes to use these and other keystrokes, but I'm sure many Emacs users have bound them to generic functions they find useful in all modes. We sound like lawyers here, but all I'm asking is whether it's easy to prevent M-x gdb from crashing if C-x C-a is bound. If it's not easy, then so be it; the current error message accurately describes the quirk. Cheers, Arni On Tue, 6 Jul 2010, Lennart Borgman wrote: > On Tue, Jul 6, 2010 at 2:27 AM, Arni Magnusson wrote: >> >> I can find no warning >> against redefining C-x C-char, such as C-x C-a. > > The elisp manual chapter mentioned before here > > (info "(elisp) Key Binding Conventions") > > says that > > * Sequences consisting of `C-c' followed by a control character or a > digit are reserved for major modes. > > So it looks to me like GUD does follow that rule. > > Maybe the error message could include a link to that part of the elisp > manual, but that would rather be a general thing in Emacs, not > specific to GUD. >