From Matthieu.Moy@imag.fr Tue Apr 7 06:00:25 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Apr 2009 13:00:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37D0LrY025904 for ; Tue, 7 Apr 2009 06:00:22 -0700 Received: from mail.gnu.org ([199.232.76.166]:58274 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LrAuZ-0007Ql-Jx for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 09:00:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LrAuV-0006Ka-Au for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 09:00:19 -0400 Received: from harmonie.imag.fr ([147.171.130.40]:57257) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrAuU-0006Ja-Oz for emacs-pretest-bug@gnu.org; Tue, 07 Apr 2009 09:00:15 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by harmonie.imag.fr (8.13.8/8.13.8) with ESMTP id n37CvsFR024919; Tue, 7 Apr 2009 14:57:55 +0200 (CEST) Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1LrAsE-0000Jg-5F; Tue, 07 Apr 2009 14:57:54 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1LrAsE-0005aW-33; Tue, 07 Apr 2009 14:57:54 +0200 To: emacs-pretest-bug@gnu.org Subject: 23.0.91; diff-mode redefines M-q to some harmfull command From: Matthieu Moy Date: Tue, 07 Apr 2009 14:57:54 +0200 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (harmonie.imag.fr [147.171.130.40]); Tue, 07 Apr 2009 14:57:55 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr X-detected-operating-system: by monty-python.gnu.org: Solaris 9 Hi, Emacs's diff-mode redefines M-q, which I normally use for fill-paragraph (the standard binding), since: revision 1.54 date: 2004-02-02 22:08:37 +0100; author: uid69204; state: Exp; lines: +2 -1; Bind q to `quit-window'. I often use diff-mode to edit patches, (created by Git with git send-email --anotate) and add comments to them before I send them by email, and therefore fill my paragraphs (like in any other emails). Having M-q rebound to quit-window there is harmfull. It should definitely not be the default. This is especially frustrating since the code says: (easy-mmode-defmap diff-mode-shared-map [...] ;; Standard M-a is useful, so don't change M-A. ;;("A" . diff-ediff-patch) ;; Standard M-r is useful, so don't change M-r or M-R. ;;("r" . diff-restrict-view) ;;("R" . diff-reverse-direction) ("q" . quit-window)) so, some care has been taken not to override M-A, M-r and M-R, but M-q still is. Thanks, In GNU Emacs 23.0.91.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2009-03-17 on bauges Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--prefix=/home/moy/local/usr/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: auto-fill-function: do-auto-fill erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t recentf-mode: t global-whitespace-mode: t global-hl-line-mode: t icomplete-mode: t auto-image-file-mode: t which-function-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: a t c h C-x k C-x b . p a t c h M-x f o M-p f i l l C-k - r e f i l l r e p a r C-_ C-n C-e C-a C-p M-x C-n C-n C-e : : C-e SPC SPC a n d SPC b e f o r e SPC + . C-x C-s C-x # C-l C-x b s c r a M-> M-y M-y M-y C-a C-k C-_ C-y C-x b A r C-x o y g s n n n q g s g q g s p c s C-x C-f / t m p / f o o . t p a t c h M-q C-x b . p a t c h C-s C-h k M-q C-x o C-n C-h m C-s m - q C-h v d i f f - m o m a C-n C-p C-e C-s M - q C-s C-s C-p M-< C-s q u i t - w i n d o w C-x 1 M-x v c - m o a n n C-s C-s C-s C-s C-s C-p M-x r e p o r b u Recent messages: Saving file /home/moy/.newsrc.eld... Wrote /home/moy/.newsrc.eld Saving /home/moy/.newsrc.eld...done (New file) Type C-x 4 C-o RET to restore the other window. Mark saved where search started uncompressing diff-mode.el.gz...done Mark saved where search started Mark set Mark saved where search started vc-ensure-vc-buffer: File /net/bauges/local/moy/usr/share/emacs/23.0.91/lisp/diff-mode.el.gz is not under version control -- Matthieu From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 18 13:06:47 2011 Received: (at control) by debbugs.gnu.org; 18 Mar 2011 17:06:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0d8Q-00047f-Tf for submit@debbugs.gnu.org; Fri, 18 Mar 2011 13:06:47 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0d8P-00047T-JU for control@debbugs.gnu.org; Fri, 18 Mar 2011 13:06:45 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Q0d8K-0008AQ-5d for control@debbugs.gnu.org; Fri, 18 Mar 2011 13:06:40 -0400 Date: Fri, 18 Mar 2011 13:06:40 -0400 Message-Id: Subject: control message for bug 8284 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 2919 8284 From unknown Fri Sep 05 15:37:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Apr 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator