From unknown Wed Aug 20 05:17:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15341 <15341@debbugs.gnu.org> To: bug#15341 <15341@debbugs.gnu.org> Subject: Status: 24.3.50; Wrong face in diff-mode Reply-To: bug#15341 <15341@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:17:56 +0000 retitle 15341 24.3.50; Wrong face in diff-mode reassign 15341 emacs submitter 15341 Xue Fuqiao severity 15341 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 11 10:22:43 2013 Received: (at submit) by debbugs.gnu.org; 11 Sep 2013 14:22:43 +0000 Received: from localhost ([127.0.0.1]:55773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJlJa-0003G8-DY for submit@debbugs.gnu.org; Wed, 11 Sep 2013 10:22:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57326) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJlJX-0003Fu-Qr for submit@debbugs.gnu.org; Wed, 11 Sep 2013 10:22:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJlJR-0000cF-BH for submit@debbugs.gnu.org; Wed, 11 Sep 2013 10:22:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlJR-0000cB-89 for submit@debbugs.gnu.org; Wed, 11 Sep 2013 10:22:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlJP-0000Ex-Ka for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 10:22:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJlJO-0000Ze-GA for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 10:22:31 -0400 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:52286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlJO-0000Xo-4h for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2013 10:22:30 -0400 Received: by mail-ie0-f171.google.com with SMTP id 16so8355829iea.30 for ; Wed, 11 Sep 2013 07:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Sl9NuPRXmGYFQfgLnWhu6OaIXW8LGJg4JOkjJBl8FBY=; b=UX7vNyoqvHNk1ePVwxT42LHddRCBRcSPZwP8xXrVsnHcIwBN/T31Bl/i4SLOBc5noJ OQ0wyWTtf9/iVdFzPhjAzzR7mZgniXn+WTIY8V5CPf8QtqP6YiKVw4efCNl8t/OrPoa7 RXnOTLuAtHQV4SYzPoyCAJzC5cYsqwpc1/BER5ekhMs+vH3OdKsWkMUEErjJk39u+ZPb RX4x3m5TPRow+z3fr60L+RaSw2murBFSog7LFS5ao1Lsz/faKEXi3jVti4KUzGB3wtR5 YjuOfWpYKZjkL7OhlukItE8+R1Vi5GIbVG7anAVdf3/fii2x5UfDcxGzqNEPK9h5L3ak olZg== MIME-Version: 1.0 X-Received: by 10.50.6.106 with SMTP id z10mr12218327igz.9.1378909349295; Wed, 11 Sep 2013 07:22:29 -0700 (PDT) Received: by 10.42.51.75 with HTTP; Wed, 11 Sep 2013 07:22:29 -0700 (PDT) Date: Wed, 11 Sep 2013 22:22:29 +0800 Message-ID: Subject: 24.3.50; Wrong face in diff-mode From: Xue Fuqiao To: bug-gnu-emacs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) When I was trying to read this patch is diff-mode: http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/tutorials/TUTORIAL?id= =3D2d0ab7fceb093acaead8d964ffaf8230098507c9 I found that the ">> Move the cursor to this line and type C-u 0 C-l" line is displayed as the =E2=80=98diff-added=E2=80=99 face, but it shouldn'= t. It should use the =E2=80=98diff-context=E2=80=99 face. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39) of 2013-09-07 on xfq.local Bzr revision: 114163 eggert@cs.ucla.edu-20130907002056-0jom28xr5402rpm9 Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns --enable-checking --disable-silent-rules' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e - e m - b u Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) --=20 Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 11 11:44:37 2013 Received: (at 15341) by debbugs.gnu.org; 11 Sep 2013 15:44:37 +0000 Received: from localhost ([127.0.0.1]:55893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJmaq-0005OB-MZ for submit@debbugs.gnu.org; Wed, 11 Sep 2013 11:44:36 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:60516) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJmao-0005O2-VF for 15341@debbugs.gnu.org; Wed, 11 Sep 2013 11:44:35 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r8BFiXAh012485; Wed, 11 Sep 2013 11:44:33 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6516FB40D6; Wed, 11 Sep 2013 11:44:33 -0400 (EDT) From: Stefan Monnier To: Xue Fuqiao Subject: Re: bug#15341: 24.3.50; Wrong face in diff-mode Message-ID: References: Date: Wed, 11 Sep 2013 11:44:33 -0400 In-Reply-To: (Xue Fuqiao's message of "Wed, 11 Sep 2013 22:22:29 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4698=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4698> : inlines <80> : streams <1035575> : uri <1533748> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 15341 Cc: 15341@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) > When I was trying to read this patch is diff-mode: > http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/tutorials/TUTORIAL?= id=3D2d0ab7fceb093acaead8d964ffaf8230098507c9 This is an HTML page. How did you get it into a diff-mode buffer? > I found that the ">> Move the cursor to this line and type C-u 0 C-l" > line is displayed as the =E2=80=98diff-added=E2=80=99 face, but it should= n't. I strongly suspect that the space before the ">>" got dropped along the way to the diff-mode buffer, resulting in an invalid patch, which would explain and justify the mis-highlighting. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 11 19:14:26 2013 Received: (at 15341-done) by debbugs.gnu.org; 11 Sep 2013 23:14:26 +0000 Received: from localhost ([127.0.0.1]:56899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJtcA-0000bt-HL for submit@debbugs.gnu.org; Wed, 11 Sep 2013 19:14:26 -0400 Received: from mail-ie0-f178.google.com ([209.85.223.178]:56335) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJtc8-0000bd-Lc for 15341-done@debbugs.gnu.org; Wed, 11 Sep 2013 19:14:25 -0400 Received: by mail-ie0-f178.google.com with SMTP id to1so10212914ieb.37 for <15341-done@debbugs.gnu.org>; Wed, 11 Sep 2013 16:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nh0B+lSI3wFTHByc3VQA5M51Jjk5kpZuT/IXpoPJwiQ=; b=y54UAfg/nV+cWPbel9wRGPa4OdEKZ7bio4b5jKyTGxM8Vhv71JAFUnqkeaNqQVKtQG Bnh+6HfNUFyVNPgg1Ox6dVvrPw8GXk8Mb0C+hP2Ob0itxL8gCSDh9+F2j5K2i7EEeDc8 pKyhXezIvc6I6XBXgxSnas3P0vWK0L9hTlJnGER7KucCS+J5uO4FeGtDD3Q+tyPFeR4I NaeMy8Bhf7qpZSVYxmAi51KKwvYbXyFMc7Q4M2nb/ztAPxzYKnct6e5at9WILlxIxi2g JD/1VHwTij7j7yKNkp6NeBNLtASdyFL+OOsm/XW+9Wdxsi+cRkeK3Tul9gz4umRFPJrf b+Bg== MIME-Version: 1.0 X-Received: by 10.50.117.3 with SMTP id ka3mr8529627igb.15.1378941258836; Wed, 11 Sep 2013 16:14:18 -0700 (PDT) Received: by 10.42.51.75 with HTTP; Wed, 11 Sep 2013 16:14:18 -0700 (PDT) Date: Thu, 12 Sep 2013 07:14:18 +0800 Message-ID: Subject: Re: bug#15341: 24.3.50; Wrong face in diff-mode From: Xue Fuqiao To: 15341-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 15341-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Yes, the space before the ">>" got dropped along the way to the diff-mode buffer. Sorry for the noise. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ From unknown Wed Aug 20 05:17:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Oct 2013 11:24:04 +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