From unknown Thu Aug 14 18:40:20 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#20711 <20711@debbugs.gnu.org> To: bug#20711 <20711@debbugs.gnu.org> Subject: Status: 25.0.50; Emacs 24.5 regression: C++ font lock displays incorrectly when pasting Reply-To: bug#20711 <20711@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:40:20 +0000 retitle 20711 25.0.50; Emacs 24.5 regression: C++ font lock displays incorr= ectly when pasting reassign 20711 emacs,cc-mode submitter 20711 Barry OReilly severity 20711 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 14:00:15 2015 Received: (at submit) by debbugs.gnu.org; 1 Jun 2015 18:00:16 +0000 Received: from localhost ([127.0.0.1]:36376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzU0S-0005tT-Qr for submit@debbugs.gnu.org; Mon, 01 Jun 2015 14:00:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51413) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzU0I-0005sH-Gj for submit@debbugs.gnu.org; Mon, 01 Jun 2015 14:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzU0B-0006ae-SR for submit@debbugs.gnu.org; Mon, 01 Jun 2015 13:59:57 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzU0B-0006aa-PF for submit@debbugs.gnu.org; Mon, 01 Jun 2015 13:59:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzU09-0000JT-Sm for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 13:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzU08-0006Zj-8w for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 13:59:53 -0400 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]:35161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzU08-0006Zb-0B for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 13:59:52 -0400 Received: by oiax69 with SMTP id x69so4862055oia.2 for ; Mon, 01 Jun 2015 10:59:50 -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=N3p1IeRupX66jmky3x/FDs8nQsAKUJ5DL8C+NM+jBOU=; b=iKGdoMh8xU7jBCyf4FdyqzujPYITw5TdfTDVpbBBjfwwHKolXRjYPKBRj03VRDhru3 +a6YdZWuKevJrcElupe157c9sREBp9r95HmEQPTfn0BjFuYIWJotNSmI/peMDETzp21G QAiuAJVX/9i+fXJD7hFi05KsFWNED3yJCMQXYekd6FmdcXgNL4ngvon2Zm3NZW3uqvSD bmgFscMWgX/OR7o+lrPIT8p1cIftAK5BCEmkr3qeaWzWX141bounPVX8FkSUcZ9lJnlN H0e4cwNjSxix2cU/R2vD+uErqdyM9kMcvZYxGSbn9BK9dN2mO0o/fH4F00n8mU+1aZMx Fn/w== MIME-Version: 1.0 X-Received: by 10.202.208.66 with SMTP id h63mr17758073oig.74.1433181590419; Mon, 01 Jun 2015 10:59:50 -0700 (PDT) Received: by 10.76.34.69 with HTTP; Mon, 1 Jun 2015 10:59:50 -0700 (PDT) Date: Mon, 1 Jun 2015 10:59:50 -0700 Message-ID: Subject: 25.0.50; Emacs 24.5 regression: C++ font lock displays incorrectly when pasting From: Barry OReilly To: emacs bugs Content-Type: multipart/alternative; boundary=001a113d1e94987ee80517789733 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 (----) --001a113d1e94987ee80517789733 Content-Type: text/plain; charset=UTF-8 Create ~/tmp/foo.cc with file contents: // Start Emacs 24.5 by: emacs -Q ~/tmp/foo.cc Type 42 in some other X11 window (eg Chrome), and select it. In the Emacs window, paste it with the middle mouse button (mouse-yank-primary). The number 4 is not fontified. Try the same with Emacs 24.4 and all fontification is correct. In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2015-05-12 on REDACTED Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS (upgraded from: Ubuntu 12.04.4 LTS) Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-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 abbrev-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. foo.cc has auto save data; consider M-x recover-this-file Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs mule-util time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode 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 cl-preloaded 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 95173 6053) (symbols 48 20219 1) (miscs 40 298 85) (strings 32 17455 4710) (string-bytes 1 598651) (vectors 16 12120) (vector-slots 8 419820 4972) (floats 8 84 47) (intervals 56 186 0) (buffers 976 12) (heap 1024 27404 1005)) --001a113d1e94987ee80517789733 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Create ~/tmp/foo.cc with file contents:
=C2=A0 //

Start Emacs 24.5 by:

=C2=A0 emacs -Q ~/tmp/foo.cc

Typ= e 42 in some other X11 window (eg Chrome), and select it. In the Emacs wind= ow, paste it with the middle mouse button (mouse-yank-primary). The number = 4 is not fontified.

Try the same with Emacs 24.4 a= nd all fontification is correct.


In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version= 2.24.23)
=C2=A0of 2015-05-12 on REDACTED
Windowing sys= tem distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubun= tu 14.04 LTS (upgraded from: Ubuntu 12.04.4 LTS)

C= onfigured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY = FREETYPE XFT ZLIB

Important settings:
= =C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @= im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

<= /div>
Major mode: C++/l

Minor modes in effect:=
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t<= /div>
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: = t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t<= /div>
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-= mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-num= ber-mode: t
=C2=A0 abbrev-mode: t

Recent= messages:
For information about GNU Emacs and the GNU system, ty= pe C-h C-a.
foo.cc has auto save data; consider M-x recover-this-= file

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr e= macsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm= -bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailhea= der sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prs= vr mail-utils cc-mode cc-fonts easymenu
cc-guess cc-menus cc-cmds= cc-styles cc-align cc-engine cc-vars cc-defs
mule-util time-date= tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-t= ype mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image= regexp-opt fringe tabulated-list newcomment elisp-mode 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 in= dian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simp= le abbrev
minibuffer cl-preloaded nadvice loaddefs button faces c= us-face macroexp
files text-properties overlay sha1 md5 base64 fo= rmat env code-pages mule
custom widget hashtable-print-readable b= ackquote gfilenotify
dynamic-setting system-font-setting font-ren= der-setting move-toolbar gtk
x-toolkit x multi-tty make-network-p= rocess emacs)

Memory information:
((cons= es 16 95173 6053)
=C2=A0(symbols 48 20219 1)
=C2=A0(mis= cs 40 298 85)
=C2=A0(strings 32 17455 4710)
=C2=A0(stri= ng-bytes 1 598651)
=C2=A0(vectors 16 12120)
=C2=A0(vect= or-slots 8 419820 4972)
=C2=A0(floats 8 84 47)
=C2=A0(i= ntervals 56 186 0)
=C2=A0(buffers 976 12)
=C2=A0(heap 1= 024 27404 1005))

--001a113d1e94987ee80517789733-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 02 09:42:04 2015 Received: (at 20711) by debbugs.gnu.org; 2 Jun 2015 13:42:04 +0000 Received: from localhost ([127.0.0.1]:36988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzmSB-00087t-C0 for submit@debbugs.gnu.org; Tue, 02 Jun 2015 09:42:03 -0400 Received: from colin.muc.de ([193.149.48.1]:41405 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzmS8-00087S-MC for 20711@debbugs.gnu.org; Tue, 02 Jun 2015 09:42:01 -0400 Received: (qmail 43824 invoked by uid 3782); 2 Jun 2015 13:41:59 -0000 Date: 2 Jun 2015 13:41:59 -0000 Message-ID: <20150602134159.43823.qmail@mail.muc.de> From: Alan Mackenzie To: 20711@debbugs.gnu.org Subject: Re: bug#20711: 25.0.50; Emacs 24.5 regression: C++ font lock displays incorrectly when pasting Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/10.1-RELEASE (amd64)) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20711 Cc: Barry OReilly 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 (/) Hello, Barry. In article you wrote: > [-- text/plain, encoding 7bit, charset: UTF-8, 88 lines --] > Create ~/tmp/foo.cc with file contents: > // Did you create it using Emacs? If so, C++ Mode will automatically have added a linefeed at the end of the bare line. > Start Emacs 24.5 by: > emacs -Q ~/tmp/foo.cc > Type 42 in some other X11 window (eg Chrome), and select it. In the Emacs > window, paste it with the middle mouse button (mouse-yank-primary). The > number 4 is not fontified. That's a pretty crisp recipe, thanks. I can't reproduce it, though. I'm in XFCE in X-Windows, and the program I used to get "42" into the mouse-yank-primary buffer was vim running on xfce4-terminal. I'm assuming that the "//" is at the beginning of the line, that there is no trailing space after it, but there is a linefeed at the end of the line. I yanked in the "42" just after the second "/". Could there be anything unusual about the "42" you got from Chrome? What's your desktop environment? Is there anything else you can think of in your setup that might be influencing the bug? Does the bug happen every time you try it, sometimes, or did it only happen once? > Try the same with Emacs 24.4 and all fontification is correct. As a matter of interest, would you reproduce your Emacs configuration line, please (M-: system-configuration-options). > In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) > of 2015-05-12 on REDACTED This is Emacs 25.0.50. What is the connection, if any, between the debug info you included below, and the test you ran on 24.5? > Windowing system distributor `The X.Org Foundation', version 11.0.11501000 > System Description: Ubuntu 14.04 LTS (upgraded from: Ubuntu 12.04.4 LTS) > Configured features: > XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB > Important settings: > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=ibus > locale-coding-system: utf-8-unix > Major mode: C++/l [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 02 13:44:01 2015 Received: (at 20711-done) by debbugs.gnu.org; 2 Jun 2015 17:44:01 +0000 Received: from localhost ([127.0.0.1]:37889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzqEK-0007Du-PN for submit@debbugs.gnu.org; Tue, 02 Jun 2015 13:44:01 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:36590) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzqEI-0007Df-8o for 20711-done@debbugs.gnu.org; Tue, 02 Jun 2015 13:43:59 -0400 Received: by oihb142 with SMTP id b142so131412232oih.3 for <20711-done@debbugs.gnu.org>; Tue, 02 Jun 2015 10:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Le54DSvRDbOV11ca27y+W2QieiOcfXeJG3Pu1wIjtk0=; b=kSmkO1BvmsA8c9I7orqyF3RK0j40lYzghdsXeSYGXPmB3f7jWc+DzfUEJNGFVBoVVa frglIQlBV36OnqUjboeH//qe9TSan+S1CUX80+vGQm863l3zLOjTUwA57GhKWkRGi7SM enxIjKJ2BgG1y2F6bLyk+PciG+xXlUU73h4tXhd1rtrSbpv79gNOM1uMAN2TfCqrTgXZ j8hatwJoCgdwqMg/iwwHH5eJNvERCVW86HAGxHiqb4BjpqH4u0PSIVsQIDzGU8kC2UBF p5il0JK2SOwYuUUlt4/V+1aOZGsm+IONsxF83kzoZenw79Gfk4zcUoksRJnQmIVvIjI7 BZuw== MIME-Version: 1.0 X-Received: by 10.202.225.65 with SMTP id y62mr22182410oig.78.1433267032672; Tue, 02 Jun 2015 10:43:52 -0700 (PDT) Received: by 10.76.34.69 with HTTP; Tue, 2 Jun 2015 10:43:52 -0700 (PDT) In-Reply-To: <20150602134159.43823.qmail@mail.muc.de> References: <20150602134159.43823.qmail@mail.muc.de> Date: Tue, 2 Jun 2015 10:43:52 -0700 Message-ID: Subject: Re: bug#20711: 25.0.50; Emacs 24.5 regression: C++ font lock displays incorrectly when pasting From: Barry OReilly To: Alan Mackenzie Content-Type: multipart/alternative; boundary=001a113d469459d00605178c7c18 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20711-done Cc: 20711-done@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: -0.7 (/) --001a113d469459d00605178c7c18 Content-Type: text/plain; charset=UTF-8 Sorry, I made a mistake with my versions. I always witness it at: commit c03c195a274ab4092cc5f2a881a87cb2643d9b3b Date: Tue May 12 19:35:54 2015 +0300 I do not witness it in Emacs 24.5 nor today's emacs-24 nor today's master. So it must have been fixed in the past few weeks. Closing the bug. Thanks for having taken a look and sending such a timely response. On Tue, Jun 2, 2015 at 6:41 AM, Alan Mackenzie wrote: > Hello, Barry. > > In article you wrote: > > [-- text/plain, encoding 7bit, charset: UTF-8, 88 lines --] > > > Create ~/tmp/foo.cc with file contents: > > > // > > Did you create it using Emacs? If so, C++ Mode will automatically have > added a linefeed at the end of the bare line. > > > Start Emacs 24.5 by: > > > emacs -Q ~/tmp/foo.cc > > > Type 42 in some other X11 window (eg Chrome), and select it. In the Emacs > > window, paste it with the middle mouse button (mouse-yank-primary). The > > number 4 is not fontified. > > That's a pretty crisp recipe, thanks. I can't reproduce it, though. I'm > in XFCE in X-Windows, and the program I used to get "42" into the > mouse-yank-primary buffer was vim running on xfce4-terminal. > > I'm assuming that the "//" is at the beginning of the line, that there is > no trailing space after it, but there is a linefeed at the end of the > line. I yanked in the "42" just after the second "/". > > Could there be anything unusual about the "42" you got from Chrome? > > What's your desktop environment? > > Is there anything else you can think of in your setup that might be > influencing the bug? Does the bug happen every time you try it, > sometimes, or did it only happen once? > > > Try the same with Emacs 24.4 and all fontification is correct. > > As a matter of interest, would you reproduce your Emacs configuration > line, please (M-: system-configuration-options). > > > In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) > > of 2015-05-12 on REDACTED > > This is Emacs 25.0.50. What is the connection, if any, between the debug > info you included below, and the test you ran on 24.5? > > > Windowing system distributor `The X.Org Foundation', version > 11.0.11501000 > > System Description: Ubuntu 14.04 LTS (upgraded from: Ubuntu 12.04.4 LTS) > > > Configured features: > > XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB > > > Important settings: > > value of $LANG: en_US.UTF-8 > > value of $XMODIFIERS: @im=ibus > > locale-coding-system: utf-8-unix > > > Major mode: C++/l > > [ .... ] > > -- > Alan Mackenzie (Nuremberg, Germany). > > --001a113d469459d00605178c7c18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, I made a mistake with my versions. I always wi= tness it at:

=C2=A0 commit c03c195a274ab4092cc5f2a= 881a87cb2643d9b3b
=C2=A0 Date: =C2=A0 Tue May 12 19:35:54 2015 +0= 300

I do not witness it in Emacs 24.5 nor today= 9;s emacs-24 nor today's master. So it must have been fixed in the past= few weeks. Closing the bug.

Thanks for having tak= en a look and sending such a timely response.


On Tue, Jun 2, 2015 = at 6:41 AM, Alan Mackenzie <acm@muc.de> wrote:
Hello, Barry.

In article <mailman.4088.1433181672.904.bug-gnu-emacs@gnu.org> you wrot= e:
> [-- text/plain, encoding 7bit, charset: UTF-8, 88 lines --]

> Create ~/tmp/foo.cc with file contents:

>=C2=A0 //

Did you create it using Emacs?=C2=A0 If so, C++ Mode will automatically hav= e
added a linefeed at the end of the bare line.

> Start Emacs 24.5 by:

>=C2=A0 emacs -Q ~/tmp/foo.cc

> Type 42 in some other X11 window (eg Chrome), and select it. In the Em= acs
> window, paste it with the middle mouse button (mouse-yank-primary). Th= e
> number 4 is not fontified.

That's a pretty crisp recipe, thanks.=C2=A0 I can't reproduce it, t= hough.=C2=A0 I'm
in XFCE in X-Windows, and the program I used to get "42" into the=
mouse-yank-primary buffer was vim running on xfce4-terminal.

I'm assuming that the "//" is at the beginning of the line, t= hat there is
no trailing space after it, but there is a linefeed at the end of the
line.=C2=A0 I yanked in the "42" just after the second "/&qu= ot;.

Could there be anything unusual about the "42" you got from Chrom= e?

What's your desktop environment?

Is there anything else you can think of in your setup that might be
influencing the bug?=C2=A0 Does the bug happen every time you try it,
sometimes, or did it only happen once?

> Try the same with Emacs 24.4 and all fontification is correct.

As a matter of interest, would you reproduce your Emacs configuration
line, please (M-: system-configuration-options).

> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23= )
> of 2015-05-12 on REDACTED

This is Emacs 25.0.50.=C2=A0 What is the connection, if any, between the de= bug
info you included below, and the test you ran on 24.5?

> Windowing system distributor `The X.Org Foundation', version 11.0.= 11501000
> System Description: Ubuntu 14.04 LTS (upgraded from: Ubuntu 12.04.4 LT= S)

> Configured features:
> XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB

> Important settings:
>=C2=A0 value of $LANG: en_US.UTF-8
>=C2=A0 value of $XMODIFIERS: @im=3Dibus
>=C2=A0 locale-coding-system: utf-8-unix

> Major mode: C++/l

[ .... ]

--
Alan Mackenzie (Nuremberg, Germany).


--001a113d469459d00605178c7c18-- From unknown Thu Aug 14 18:40:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Jul 2015 11:24:05 +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