GNU bug report logs - #24101
24.5; incorrect double-click selection in cperl-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Vincent Lefevre <vincent@HIDDEN>; Keywords: confirmed; dated Fri, 29 Jul 2016 00:07:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 26.2. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 24101 <at> debbugs.gnu.org:


Received: (at 24101) by debbugs.gnu.org; 5 Jul 2019 20:17:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 05 16:17:38 2019
Received: from localhost ([127.0.0.1]:53829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hjUeI-000841-3b
	for submit <at> debbugs.gnu.org; Fri, 05 Jul 2019 16:17:38 -0400
Received: from mail-wm1-f54.google.com ([209.85.128.54]:36831)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1hjUeG-00083l-Jx
 for 24101 <at> debbugs.gnu.org; Fri, 05 Jul 2019 16:17:36 -0400
Received: by mail-wm1-f54.google.com with SMTP id g67so4595341wme.1
 for <24101 <at> debbugs.gnu.org>; Fri, 05 Jul 2019 13:17:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=fRkEjklEbbN/pD9MT5WzROXvsPK5caKXoyx95UrDu98=;
 b=HbLqIEN0bG/GB23uenNaskmYnWHFeU7FTD8BngGGMvCkY7dr/uu6DQrzDEIWV49LW9
 wAGUMc/DagVksIFOwcM3N18xkVTtaK74C5y3wLiWC6ig5sTOQfNlUf9DHqsKJw8jy3aA
 57+DMWtXSaUlOIa0FcxtMRCP9WfeqdB6AeRKcsliwUFvjRxUqEKmp6q3xkW4OvUV5X/0
 D4KN+6PDBm0Kix5+rGMAgo4+rLUWXVm9PGapPV2RviChtPqcR6pw432roy+pY1dLb2yB
 JGBhnZPp0qyhjBjVxRCe9N86Hi4OJ/o3uHvdL9lq1zgI97UaO7fF3dZ0BjJy2W0knRds
 EjIQ==
X-Gm-Message-State: APjAAAW3jEerESRm069fqL9irH3ziiDYX8iwOoT4g6+snkdUBdnSnZb3
 S4Pvk9jxQqeQXqJusx0uW3tRgdAKnQfAmpMskCNAr/bM
X-Google-Smtp-Source: APXvYqz2PgqyFyFwwjh1hAJUA858GY87ZMP5/nWePZsIpBG9rj5GZJ8HNOfGbaAgVxoORUw2KCsMMjdzSwMzWB18cD4=
X-Received: by 2002:a7b:c04f:: with SMTP id u15mr4551414wmc.106.1562357850414; 
 Fri, 05 Jul 2019 13:17:30 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Fri, 5 Jul 2019 22:17:19 +0200
Message-ID: <CADwFkmmELeia=y4_C3XXXrXMpjhz=dCbZHTDFhr_i+fwAwn7uw@HIDDEN>
Subject: Re: bug#24101: 24.5; incorrect double-click selection in cperl-mode
To: 24101 <at> debbugs.gnu.org,
 =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= <clement.pit@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24101
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Cl=C3=A9ment Pit--Claudel <clement.pit@HIDDEN> writes:

> Thanks; I can reproduce this on master. Calling word-at-point on "2" show=
s the same problem (it doesn't include "1").
> The problem seems to be a custom syntax-table property that cperl-mode pu=
ts on "1".
>
> Cl=C3=A9ment.
>
> On 2016-07-28 20:05, Vincent Lefevre wrote:
>>
>> 1. Under X Window (so that Emacs uses its own interface), open
>> a file containing:
>>
>> # -*- mode: cperl -*-
>>
>> tr/ABCDE/12345/;
>>
>> 2. Double-click over "4".
>>
>> Only "2345" is selected, instead of "12345".

I can reproduce this on Emacs 26.2.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24101; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Jul 2016 01:10:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 28 21:10:12 2016
Received: from localhost ([127.0.0.1]:49822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bSwJY-00021c-DY
	for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 21:10:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJW-00021O-0Y
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 21:10:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJP-0005ub-LK
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 21:10:04 -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
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33541)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJP-0005tC-IT
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 21:10:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44883)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJN-0003Vf-43
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 21:10:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJJ-0005ru-Pv
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 21:10:00 -0400
Received: from mout.kundenserver.de ([212.227.126.134]:59475)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <clement.pit@HIDDEN>) id 1bSwJJ-0005rn-DN
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 21:09:57 -0400
Received: from [18.189.62.146] ([18.189.62.146]) by mrelayeu.kundenserver.de
 (mreue002) with ESMTPSA (Nemesis) id 0MCUTZ-1bbyqo3CXB-00975R for
 <bug-gnu-emacs@HIDDEN>; Fri, 29 Jul 2016 03:09:56 +0200
Subject: Re: bug#24101: 24.5; incorrect double-click selection in cperl-mode
To: bug-gnu-emacs@HIDDEN
References: <8737mt48bw.fsf@HIDDEN>
From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= <clement.pit@HIDDEN>
Message-ID: <9c28f332-2fe1-240c-b682-2cb372591e7c@HIDDEN>
Date: Thu, 28 Jul 2016 21:09:47 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <8737mt48bw.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="iLTAcEUlnvd7QTutfhEorAjaNeewPNEN4"
X-Provags-ID: V03:K0:0JII1VcDDzC5YWjlJSrs9R7ZJTgG2iOLXygXSGHYjruSMY0H5uH
 8gTDWfQp6re+fq8SXyvGI8n7gNmd4AfFyh1GpTkFLyh70LyQGjGxYJBW5fcixRbkHTeSsDj
 k7+CJQZDBr+yUHMq1JQ6FwcVS5DTRRDgxcnx4yFeSGoYdOvw5tyl5QWGY46i4SOuuj2opgi
 HL1TXkr+zhBJswtw2Fvhw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:0Rs8O7/b3yY=:BhFVovYuGYC/vCEqVK8Gbg
 JUoZeChUNv14GyGfjgeFOmbMdZp2CMAU6LELGfKuryaAg8grN5l8TJVu85AiLflo5DwGijNjs
 6eNyf0JFHTqtscVcBTkBr57idJBLO1Zqk6rgy/ngFB9DpvFXJzgTF5lRTWOIb75IMyLEcQ1ZV
 NvtpymgLJmeA/yeQ1v6TGNmi01/0KLH387WvkAalSa1FjpGJqqHQ2SiXgc6Q9hYSFTN1PAAW7
 iG50xNWvjHQ64fJWn9Sp/FXBjoLSbXvrRGohTMeCBz69SRnnnc6P1a404WFiALYnSaRywhItp
 WKXEKU6w7064OSGQMgLQ5AtEY+qwATqhsYenhsWV1hD1yCdXbqWaYhLhQG0IIlSFflJoGbONl
 qh3CjbPbW7zKxjaqgLfg9h4kNxwUojUREVyVV9OllrSYj+bRNfi0cxg/ycwcfkK8hyDac2sx/
 mg0t00L8sJ3wjKRlxbvAPaNCzXyd63rTjXWERW3ilfol/uyTvSrNAk2wmiupm2awgIxltY/vt
 LLza8oO/5XW4X3o7D5kK1uTwQieZzibvfuMxZieE30mZnI4PtN+yAX9eYe+tIPHgvjSJAKtIp
 jaq+IMBgXi0wTm89/NsZcRk99dbx7ucjBqhnEKa6xwY7uXBJNp/VCk4nO+8XSde4mU3UlxXFF
 5lb/yx4UYMDKbH3v4x9V1iAKsGBxeEeZTZT3gifM4Ble9jmMhaaGGFqpowtNOFtWm6ZQ=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--iLTAcEUlnvd7QTutfhEorAjaNeewPNEN4
Content-Type: multipart/mixed; boundary="RrPXxqCqGJwW6L3wJJa48wfIVRjXWDD2B"
From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= <clement.pit@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Message-ID: <9c28f332-2fe1-240c-b682-2cb372591e7c@HIDDEN>
Subject: Re: bug#24101: 24.5; incorrect double-click selection in cperl-mode
References: <8737mt48bw.fsf@HIDDEN>
In-Reply-To: <8737mt48bw.fsf@HIDDEN>

--RrPXxqCqGJwW6L3wJJa48wfIVRjXWDD2B
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Thanks; I can reproduce this on master. Calling word-at-point on "2" show=
s the same problem (it doesn't include "1").
The problem seems to be a custom syntax-table property that cperl-mode pu=
ts on "1".

Cl=E9ment.

On 2016-07-28 20:05, Vincent Lefevre wrote:
>=20
> 1. Under X Window (so that Emacs uses its own interface), open
> a file containing:
>=20
> # -*- mode: cperl -*-
>=20
> tr/ABCDE/12345/;
>=20
> 2. Double-click over "4".
>=20
> Only "2345" is selected, instead of "12345".
>=20
>=20
>=20
> In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.3)
>  of 2016-05-07 on zira, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.11804=
000
> System Description:	Debian GNU/Linux stable-updates (sid)
>=20
> Configured using:
>  `configure --build x86_64-linux-gnu --prefix=3D/usr
>  --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
>  --localstatedir=3D/var/lib --infodir=3D/usr/share/info
>  --mandir=3D/usr/share/man --with-pop=3Dyes
>  --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emac=
s/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/s=
ite-lisp:/usr/share/emacs/site-lisp
>  --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib
>  --libexecdir=3D/usr/lib --localstatedir=3D/var/lib
>  --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes=

>  --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emac=
s/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/s=
ite-lisp:/usr/share/emacs/site-lisp
>  --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars
>  'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
>  -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time
>  -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro'
>=20
> Important settings:
>   value of $LC_COLLATE: POSIX
>   value of $LC_CTYPE: en_US.UTF-8
>   value of $LC_TIME: en_DK
>   value of $LANG: POSIX
>   locale-coding-system: utf-8-unix
>=20
> Major mode: Lisp Interaction
>=20
> Minor modes in effect:
>   display-time-mode: t
>   show-paren-mode: t
>   tooltip-mode: t
>   electric-indent-mode: t
>   mouse-wheel-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
>   column-number-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>=20
> Recent messages:
> Loading cjk-enc...done
> Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
> Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
> Loading /etc/emacs/site-start.d/50psvn.el (source)...done
> Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done
> Loading /etc/emacs/site-start.d/50rnc-mode.el (source)...done
> Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...do=
ne
> Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...don=
e
> Loading time...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
>=20
> Load-path shadows:
> /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/s=
ite-lisp/debian-startup
> /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/ema=
cs/site-lisp/cmake-mode
> /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmod=
es/rst
> /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/=
emacs/24.5/lisp/language/thai-word
>=20
> Features:
> (shadow sort gnus-util mail-extr warnings 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 help-fns mail-prsvr mail-utils time cus-start
> cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs edmacro
> kmacro cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hoo=
k
> vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
> regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode registe=
r
> 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 dbusbind
> gfilenotify dynamic-setting system-font-setting font-render-setting
> move-toolbar gtk x-toolkit x multi-tty emacs)
>=20
> Memory information:
> ((conses 16 92575 4671)
>  (symbols 48 20397 0)
>  (miscs 40 45 93)
>  (strings 32 16037 4299)
>  (string-bytes 1 472568)
>  (vectors 16 10305)
>  (vector-slots 8 396942 4282)
>  (floats 8 70 229)
>  (intervals 56 231 6)
>  (buffers 960 12)
>  (heap 1024 37269 984))
>=20
>=20
>=20
>=20


--RrPXxqCqGJwW6L3wJJa48wfIVRjXWDD2B--

--iLTAcEUlnvd7QTutfhEorAjaNeewPNEN4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXmqzgAAoJEPqg+cTm90wjg5UQAJPh+BdnA+Mlb8pyO1O23fI3
gmiu0iyBck/uiS+dPLQq44KMx0hKDGJVfvOm7DTqHKBq9g1FRWY4A4YPgYYbfq+f
rXZVqDhMlSUqydmsK067RzWK1mkNC/8eyF7ul6ykRlPfi6CZxPOSc9kIlTQAbsiM
xSwzcH+BWtPHJa7xGppzY8vr12rHHURidfz8Kro08oN+z4AkpBqnrP5GQtZvy18S
S7dJuxGjylyX6Il5ozaJrNl+C04vWWgr9BuKm9j4PqP0x0DFaqkg8dKqYhFachdw
AAyDDCZdVvF5n1LYG0+9RGxLxNcYxP+SDqZi9tW9zfhAubzt+Xj7UgsC9fYmHTOp
K3GQcmU808T41i3EbZOgSiXthVmmtrm9ReKv6mgipx8KaOdk6EITj0UZrBs7dsST
5GDB3dsxQS2I0gA2dPs5SEfSVy47TTG69mAzB2MEC9U/syANhxCcZ3cIPHqb3GwF
qh+ohtUoFm8jz32vwFJK0lkf/sxfl3e1COHlECCViwjeHoCzA+fm1O0PCLjuPJaH
eb0um2TaJ84Lp12ZZ8TPijH6Ub7MF24DOjTA4WrLG/7M38Yh/7y7o9GfYhqo43Qn
lUXv1lfBW61DrZwOC2a8CBR1qCP965br+4CmVebYWWVAjEYWkgfofwcn7p7dCeT6
9B6aiPSoMnWOMW0373bi
=xmZM
-----END PGP SIGNATURE-----

--iLTAcEUlnvd7QTutfhEorAjaNeewPNEN4--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24101; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Jul 2016 00:06:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 28 20:06:03 2016
Received: from localhost ([127.0.0.1]:49758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bSvJT-000485-Ch
	for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 20:06:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44986)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vincent@HIDDEN>) id 1bSvJR-00047c-Pp
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 20:06:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vincent@HIDDEN>) id 1bSvJL-0002Xp-65
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 20:05:56 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36102)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vincent@HIDDEN>) id 1bSvJL-0002Ww-2j
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2016 20:05:55 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35940)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vincent@HIDDEN>) id 1bSvJI-0006hz-Gx
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 20:05:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vincent@HIDDEN>) id 1bSvJD-0002Vv-EK
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 20:05:51 -0400
Received: from ioooi.vinc17.net ([92.243.22.117]:57851)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vincent@HIDDEN>) id 1bSvJD-0002VO-2w
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2016 20:05:47 -0400
Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128])
 by ioooi.vinc17.net (Postfix) with ESMTPSA id 36E0A4F2;
 Fri, 29 Jul 2016 02:05:39 +0200 (CEST)
Received: by zira.vinc17.org (Postfix, from userid 1000)
 id 1806BC2901C; Fri, 29 Jul 2016 02:05:39 +0200 (CEST)
From: Vincent Lefevre <vincent@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.5; incorrect double-click selection in cperl-mode
Date: Fri, 29 Jul 2016 02:05:39 +0200
Message-ID: <8737mt48bw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


1. Under X Window (so that Emacs uses its own interface), open
a file containing:

# -*- mode: cperl -*-

tr/ABCDE/12345/;

2. Double-click over "4".

Only "2345" is selected, instead of "12345".



In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.3)
 of 2016-05-07 on zira, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11804000
System Description:	Debian GNU/Linux stable-updates (sid)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LC_COLLATE: POSIX
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_TIME: en_DK
  value of $LANG: POSIX
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading cjk-enc...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done
Loading /etc/emacs/site-start.d/50rnc-mode.el (source)...done
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done
Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...done
Loading time...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.5/lisp/language/thai-word

Features:
(shadow sort gnus-util mail-extr warnings 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 help-fns mail-prsvr mail-utils time cus-start
cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs edmacro
kmacro cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd 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 dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 92575 4671)
 (symbols 48 20397 0)
 (miscs 40 45 93)
 (strings 32 16037 4299)
 (string-bytes 1 472568)
 (vectors 16 10305)
 (vector-slots 8 396942 4282)
 (floats 8 70 229)
 (intervals 56 231 6)
 (buffers 960 12)
 (heap 1024 37269 984))




Acknowledgement sent to Vincent Lefevre <vincent@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#24101; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.