Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 46590) by debbugs.gnu.org; 17 Jun 2022 15:37:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 17 11:37:42 2022 Received: from localhost ([127.0.0.1]:46744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o2E2Y-00059u-0M for submit <at> debbugs.gnu.org; Fri, 17 Jun 2022 11:37:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o2E2W-00059h-7y for 46590 <at> debbugs.gnu.org; Fri, 17 Jun 2022 11:37:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=o8dUbtqNPpwMKzvvHscRmD373ejWNq/37/nr3897N6k=; b=qcJtzOawZJgOmyuCD0bng1k/So RfKz7vPpQbjaCF22vI/XnDYth8vq2462RXcJaLp3gszjmAEEFVP3STuS41tGNh6MaoWP/Wczb/tvn YbBZu1cQfc6cEH7dObmVsWc/zwWouoO0/oIhRmD8Gb/e5Ap8yqQQ2cgNVPpIOu5SofDo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o2E2N-0004XJ-Ti; Fri, 17 Jun 2022 17:37:34 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: =?utf-8?B?RnLDqWTDqXJpYw==?= Baldit <frederic.baldit@HIDDEN> Subject: Re: bug#46590: 27.1.91; abnormal whitespace-mode behavior References: <20210217150614.1eaecfdd@HIDDEN> X-Now-Playing: The Notwist's _Vertigo Days_: "Ship (feat. Saya)" Date: Fri, 17 Jun 2022 17:37:31 +0200 In-Reply-To: <20210217150614.1eaecfdd@HIDDEN> (=?utf-8?B?IkZyw6lk?= =?utf-8?B?w6lyaWM=?= Baldit"'s message of "Wed, 17 Feb 2021 15:06:14 +0100") Message-ID: <87k09f5mis.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Frédéric Baldit <frederic.baldit@HIDDEN> writes: > 6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically > aligned with fourth word of line 1 («text»), but it is at column 26: > that's the bug. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46590 Cc: 46590 <at> debbugs.gnu.org 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: -3.3 (---) Fr=C3=A9d=C3=A9ric Baldit <frederic.baldit@HIDDEN> writes: > 6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically > aligned with fourth word of line 1 (=C2=ABtext=C2=BB), but it is at colum= n 26: > that's the bug. This is a duplicate of bug#18441 (and others), so I've now merged the reports. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.Received: (at 46590) by debbugs.gnu.org; 23 Feb 2021 15:54:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 23 10:54:37 2021 Received: from localhost ([127.0.0.1]:60258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lEa11-0003Cm-QX for submit <at> debbugs.gnu.org; Tue, 23 Feb 2021 10:54:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1lEa10-0003CY-Gn for 46590 <at> debbugs.gnu.org; Tue, 23 Feb 2021 10:54:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47155) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1lEa0v-0007ED-7G; Tue, 23 Feb 2021 10:54:17 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3523 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1lEa0u-0005HF-Gv; Tue, 23 Feb 2021 10:54:17 -0500 Date: Tue, 23 Feb 2021 17:54:07 +0200 Message-Id: <838s7evkyo.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?B?RnLDqWTDqXJpYw==?= Baldit <frederic.baldit@HIDDEN> In-Reply-To: <20210223150547.45f58520@HIDDEN> (message from =?utf-8?B?RnLDqWTDqXJpYw==?= Baldit on Tue, 23 Feb 2021 15:05:47 +0100) Subject: Re: bug#46590: 27.1.91; abnormal whitespace-mode behavior References: <20210217150614.1eaecfdd@HIDDEN> <837dn3143m.fsf@HIDDEN> <20210223150547.45f58520@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46590 Cc: 46590 <at> debbugs.gnu.org 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 (-) > Date: Tue, 23 Feb 2021 15:05:47 +0100 > From: Frédéric Baldit <frederic.baldit@HIDDEN> > Cc: 46590 <at> debbugs.gnu.org > > I just began reading whitespace.el, in particular the use of the > display table, which seems to be crucial here. But I'm just > learning emacs (and emacs lisp), so there could be a long way > before I can truly (and deeply) understand whitespace.el code and see > how to fix the bug. I don't think this can be fixed without a complete redesign how a TAB is displayed under this mode. display-tables simply cannot deal with such situations. But I didn't think about this too long, so maybe I'm missing something. > I asked myself: should I contact the maintainer of whitespace.el > (Vinicius Jose Latorre) to get some help? I don't know, but what do you have to lose?
bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.Received: (at 46590) by debbugs.gnu.org; 23 Feb 2021 14:06:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 23 09:05:59 2021 Received: from localhost ([127.0.0.1]:58570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lEYK7-0004P9-L0 for submit <at> debbugs.gnu.org; Tue, 23 Feb 2021 09:05:59 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:25169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <frederic.baldit@HIDDEN>) id 1lEYK5-0004P0-4C for 46590 <at> debbugs.gnu.org; Tue, 23 Feb 2021 09:05:57 -0500 Received: from Cornafion.lan (unknown [IPv6:2a01:cb14:4d4:ee00:f88b:12fe:4bcc:8956]) (Authenticated sender: frederic.baldit@HIDDEN) by smtp3-g21.free.fr (Postfix) with ESMTPA id D905C13F866; Tue, 23 Feb 2021 15:05:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1614089156; bh=r+AilELWXciWS+FhzlhUPlL0Zss8vSSCmBSs7ypnbS0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tm0EfSsG22VWspVJzmJCG0wPfTEHnMklIFQ23sXdt9vsBQd5sMqrAsfVT0wVCuqTz pnLsy9eEs9roWg8B+7J/pxWnsqsra7lIZ1ORvjWqysGRvLvI8/pe2kLJUKhZni2Mb3 hsn49/ltWWdIPKFC+syISZZeflK7826X96FCC6lJWAFULdTzC37oAdziuqQSKo5Xck kbb5foKHlBktjklxzoWQ2CgyXkae3vbFZGgrQv+a+k8WZHuFD4Lq/R5COnACPxUJgQ GHw6ReOXbp9+CQqPL1Jpi+Td+xaDq+UK+AlmK4QNBZpsbEenhferNb+kmhWvy6yoOw XFIuDb/E/2wvQ== Date: Tue, 23 Feb 2021 15:05:47 +0100 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Baldit <frederic.baldit@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#46590: 27.1.91; abnormal whitespace-mode behavior Message-ID: <20210223150547.45f58520@HIDDEN> In-Reply-To: <837dn3143m.fsf@HIDDEN> References: <20210217150614.1eaecfdd@HIDDEN> <837dn3143m.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46590 Cc: 46590 <at> debbugs.gnu.org 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 (-) Thank you for your message and for pointing out the warning in whitespace.el code. Now I can better understand what is triggering this bad display. For example, the following text yields the same result: ........First line of text in emacs ....... (eight spaces at beginning of line 1, 7 at beginning of line 2, point at end of line 2). Then typing TAB inserts 1 TAB symbol (character '=C2=BB', \xBB) followed by eight grouped spaces (1 TAB), whereas only one '=C2=BB' should be indeed be displayed. I'm quite surprised by this, because to me it's not so marginal and unused. Also whitespace.el is now builtin with emacs. And emacs is such a long-time proven editor, I think it can be quite disappointing to see such a =C2=ABflat=C2=BB (I mean trivial) bug in it. I just began reading whitespace.el, in particular the use of the display table, which seems to be crucial here. But I'm just learning emacs (and emacs lisp), so there could be a long way before I can truly (and deeply) understand whitespace.el code and see how to fix the bug. I asked myself: should I contact the maintainer of whitespace.el (Vinicius Jose Latorre) to get some help? -- Fr=C3=A9d=C3=A9ric Baldit Le sam. 20 f=C3=A9vr. 2021 =C3=A0 11:27:25 +0200 Eli Zaretskii <eliz@HIDDEN> a =C3=A9crit: > > Date: Wed, 17 Feb 2021 15:06:14 +0100 > > From: Fr=C3=A9d=C3=A9ric Baldit <frederic.baldit@HIDDEN> > >=20 > > emacs -Q test.txt & > >=20 > > 2) M-x whitespace-mode RET > >=20 > > 3) type the following text (=C2=AB.=C2=BB for spacebar key): > >=20 > > =C2=AB....First line of text in emacs=C2=BB, then type RET > >=20 > > 4) DEL DEL to suppress backward two spaces on line 2, then type text > > =C2=ABSecond one=C2=BB > >=20 > > 5) M-2 M-b > >=20 > > 6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically > > aligned with fourth word of line 1 (=C2=ABtext=C2=BB), but it is at col= umn 26: > > that's the bug. =20 >=20 > It's a known misfeature of whitespace-mode. There's a comment in > whitespace.el to that effect: >=20 > ;; WARNING: the mapping below has a problem. > ;; When a TAB occupies exactly one column, it will display the > ;; character ?\xBB at that column followed by a TAB which goes to > ;; the next TAB column. > ;; If this is a problem for you, please, comment the line below. > (tab-mark ?\t [?=C2=BB ?\t] [?\\ ?\t]) ; tab - right > guillemet >=20 > You could customize whitespace-display-mappings to remove tab-mark > from it, if you want to avoid this issue. >=20 > > Rq1: what is curious (to me) is that deactivating whitespace-mode > > removes abnormally inserted tab character (8 spaces) and everything > > is OK. =20 >=20 > That's because disabling whitespace-mode deactivates the display-table > mappings, which include the above mapping. >=20 > > Rq2: I noted that with a different text, this behavior of > > whitespace-mode disappears. For example, if one uses the following > > first line of text: > >=20 > > =C2=AB....This.is.a.first.line.of.text.with.a.few.words=C2=BB, > >=20 > > then the result of typing TAB multiple times is as expected, with or > > without whitespace-mode activated! =20 >=20 > Most probably because the "TAB occupies exactly one column" condition > doesn't happen there. >=20 > Thanks.
bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.Received: (at 46590) by debbugs.gnu.org; 20 Feb 2021 09:27:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 20 04:27:52 2021 Received: from localhost ([127.0.0.1]:51008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lDOYK-0007Jy-Mh for submit <at> debbugs.gnu.org; Sat, 20 Feb 2021 04:27:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1lDOYG-0007Jj-K6 for 46590 <at> debbugs.gnu.org; Sat, 20 Feb 2021 04:27:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41151) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1lDOYA-0003kx-Rr; Sat, 20 Feb 2021 04:27:42 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1lDOYA-0005sX-3O; Sat, 20 Feb 2021 04:27:42 -0500 Date: Sat, 20 Feb 2021 11:27:25 +0200 Message-Id: <837dn3143m.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?B?RnLDqWTDqXJpYw==?= Baldit <frederic.baldit@HIDDEN> In-Reply-To: <20210217150614.1eaecfdd@HIDDEN> (message from =?utf-8?B?RnLDqWTDqXJpYw==?= Baldit on Wed, 17 Feb 2021 15:06:14 +0100) Subject: Re: bug#46590: 27.1.91; abnormal whitespace-mode behavior References: <20210217150614.1eaecfdd@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46590 Cc: 46590 <at> debbugs.gnu.org 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.7 (-) > Date: Wed, 17 Feb 2021 15:06:14 +0100 > From: Frédéric Baldit <frederic.baldit@HIDDEN> > > emacs -Q test.txt & > > 2) M-x whitespace-mode RET > > 3) type the following text («.» for spacebar key): > > «....First line of text in emacs», then type RET > > 4) DEL DEL to suppress backward two spaces on line 2, then type text > «Second one» > > 5) M-2 M-b > > 6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically > aligned with fourth word of line 1 («text»), but it is at column 26: > that's the bug. It's a known misfeature of whitespace-mode. There's a comment in whitespace.el to that effect: ;; WARNING: the mapping below has a problem. ;; When a TAB occupies exactly one column, it will display the ;; character ?\xBB at that column followed by a TAB which goes to ;; the next TAB column. ;; If this is a problem for you, please, comment the line below. (tab-mark ?\t [?» ?\t] [?\\ ?\t]) ; tab - right guillemet You could customize whitespace-display-mappings to remove tab-mark from it, if you want to avoid this issue. > Rq1: what is curious (to me) is that deactivating whitespace-mode > removes abnormally inserted tab character (8 spaces) and everything is > OK. That's because disabling whitespace-mode deactivates the display-table mappings, which include the above mapping. > Rq2: I noted that with a different text, this behavior of > whitespace-mode disappears. For example, if one uses the following first > line of text: > > «....This.is.a.first.line.of.text.with.a.few.words», > > then the result of typing TAB multiple times is as expected, with or > without whitespace-mode activated! Most probably because the "TAB occupies exactly one column" condition doesn't happen there. Thanks.
bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.Received: (at 46590) by debbugs.gnu.org; 17 Feb 2021 18:12:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 17 13:12:53 2021 Received: from localhost ([127.0.0.1]:44871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lCRJl-0000O0-17 for submit <at> debbugs.gnu.org; Wed, 17 Feb 2021 13:12:53 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:42565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bhavin7392@HIDDEN>) id 1lCRJi-0000Nm-OK for 46590 <at> debbugs.gnu.org; Wed, 17 Feb 2021 13:12:51 -0500 Received: by mail-lf1-f48.google.com with SMTP id z11so23131204lfb.9 for <46590 <at> debbugs.gnu.org>; Wed, 17 Feb 2021 10:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yWsJYqrOsnZpi8K2C9a4hQtvhi6iaG/nvCbyz08qjtE=; b=qKQf8zWek/CpyJ1ImiDvCVaKrpWAducq7uc8X06sEa4fd1irvwKP2CXZ4Ad0MS0B+V rvNlTTy05vLclo21yapW8JJxGkU2YHxOKG40paIQcyms6pwtrYtF3oZgXFgrQwlSUPPH zlJ+TLea4vfsZ9tAczWb0EzyOahJPcWo9S9bQcYvYMIbVmCERU4MBZfKXTB4Oi1TFvTC bvIoH9qfCfjsRMOdr27ipAVomDAu+1w22qCATA7I00tt5Y8nvNFj6Me1SNn5VF+ZBgk2 Q+9oIQDilDFi5aT8Q5iJPcffdDIySOCvcNQWTuR97KU9QAGUSc/FP7Vgoik6XJ2YQ7Il KO4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yWsJYqrOsnZpi8K2C9a4hQtvhi6iaG/nvCbyz08qjtE=; b=kWOa5QqiYh1pC6/FU7goGMlE+7Z3hFrEtzRJ1O7zoaPxrwdQC+Hy3ncPeSEkjTGosd 39WP9FO1R17vh/G5/F4/HAfhTdzFTYAA4QUQ8mAqWm9b1dnsnhD39MnkEbJHpN9rU6WE N/AGOFXOo2+xsf/VilvaaovYwyVmSmyV5nW/Jo04DSkEUUsSNfqqtPeI2qjGorpA7TMp DtN0A1he9TNokG3+aXFKRZ5eZSQz85cxE/oILrgaSslg7waqhGdcgMPo6ipZKB4ST4bj Rs5NtUylONHLPnemahDN5lL2XXxvxBlz6tlvWgcotk6VxZtWKlsgoPCQycaE+fBr4obl A9YA== X-Gm-Message-State: AOAM532JvGQNQUQGygx3x1yLqKNJT91mJJkuAb1KfhzSKT2tMPCjsy6s qyKRXLksx2iNLej+RyhjfK4xBSrS203lqiTHIa0= X-Google-Smtp-Source: ABdhPJw+laWj8fPViWhfOfe8skxPPNIT23lfcO3k+FNasg3mK+n3MFWmmQBvtoOpbDkxDE7WasE+oWWX/VjvXLl6Xv8= X-Received: by 2002:ac2:555b:: with SMTP id l27mr88457lfk.173.1613585564733; Wed, 17 Feb 2021 10:12:44 -0800 (PST) MIME-Version: 1.0 References: <20210217150614.1eaecfdd@HIDDEN> In-Reply-To: <20210217150614.1eaecfdd@HIDDEN> From: Bhavin Gandhi <bhavin7392@HIDDEN> Date: Wed, 17 Feb 2021 23:42:08 +0530 Message-ID: <CAOn=hbezApEfKkvRMD0RyuOWYBYLmHHHm8gtBmghC-JKn2kyiw@HIDDEN> Subject: Re: bug#46590: 27.1.91; abnormal whitespace-mode behavior To: =?UTF-8?B?RnLDqWTDqXJpYyBCYWxkaXQ=?= <frederic.baldit@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 46590 Cc: 46590 <at> debbugs.gnu.org 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: -0.8 (/) On Wed, 17 Feb 2021 at 20:55, Fr=C3=A9d=C3=A9ric Baldit <frederic.baldit@fr= ee.fr> wrote: > > 3) type the following text (=C2=AB.=C2=BB for spacebar key): > I was able to reproduce the behavior by following the steps above, thought = of replying to clarify that I used SPC at the places where the given text has =C2=AB or =C2=BB character. --=20 Warm Regards, Bhavin Gandhi (bhavin192) | https://geeksocket.in
bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Feb 2021 15:24:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 17 10:24:22 2021 Received: from localhost ([127.0.0.1]:44688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lCOgg-0004fL-5w for submit <at> debbugs.gnu.org; Wed, 17 Feb 2021 10:24:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:46910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <frederic.baldit@HIDDEN>) id 1lCNTL-0002Lz-9U for submit <at> debbugs.gnu.org; Wed, 17 Feb 2021 09:06:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <frederic.baldit@HIDDEN>) id 1lCNTK-0005hs-U4 for bug-gnu-emacs@HIDDEN; Wed, 17 Feb 2021 09:06:30 -0500 Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]:48156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <frederic.baldit@HIDDEN>) id 1lCNTI-0005ao-4P for bug-gnu-emacs@HIDDEN; Wed, 17 Feb 2021 09:06:30 -0500 Received: from Cornafion.lan (unknown [IPv6:2a01:cb14:4d4:ee00:756f:da9e:3d15:b87e]) (Authenticated sender: frederic.baldit@HIDDEN) by smtp6-g21.free.fr (Postfix) with ESMTPA id 8C06C780344 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Feb 2021 15:06:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1613570783; bh=GxT3RLz7PDjiEadlKwh6k4fjHpxBHyowC/2GYPvPsiI=; h=Date:From:To:Subject:From; b=M6197aFqDBnqCSFd+PM2BvK506Pycg0VaGG4fIazWThJQjk8yshB0jfHpp/Em7mfC e7i1mZPhdK12bSd6a+gHIT0ZnFEqyYHHgFvt6ANQbnjbobD1LxeGz14CUbgNBTr2Xy aBQfXkNKq7xe9IIrIoXjfwGqVWVKFQUHAuRHsHR0tayLXyzfrg3sgeGPXDcdd/2smB OcRcTpU9c/Lcnn/qBCiVUUr9BP2EatkXzcHu+CALil9ZJ7XaSrEO3YImu2mtOOPu71 dGEPe5YU/8+/fu6edurHXCHEitMvQZ86VIg8RFXMKpMSURqkiNDO4C1QD2gFwW5kiw vAWGUFCy5YnGA== Date: Wed, 17 Feb 2021 15:06:14 +0100 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Baldit <frederic.baldit@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.1.91; abnormal whitespace-mode behavior Message-ID: <20210217150614.1eaecfdd@HIDDEN> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a01:e0c:1:1599::15; envelope-from=frederic.baldit@HIDDEN; helo=smtp6-g21.free.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 17 Feb 2021 10:24:20 -0500 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: -3.3 (---) --text follows this line-- Recipe to reproduce the bug: 1) I'm using emacs version 27.1.91 built from git sources in my /home directory (same bug is experimented with emacs version 26.1 installed from debian stable package). Command used to run emacs: emacs -Q test.txt & 2) M-x whitespace-mode RET 3) type the following text (=C2=AB.=C2=BB for spacebar key): =C2=AB....First line of text in emacs=C2=BB, then type RET 4) DEL DEL to suppress backward two spaces on line 2, then type text =C2=ABSecond one=C2=BB 5) M-2 M-b 6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically aligned with fourth word of line 1 (=C2=ABtext=C2=BB), but it is at column = 26: that's the bug. Rq1: what is curious (to me) is that deactivating whitespace-mode removes abnormally inserted tab character (8 spaces) and everything is OK. Rq2: I noted that with a different text, this behavior of whitespace-mode disappears. For example, if one uses the following first line of text: =C2=AB....This.is.a.first.line.of.text.with.a.few.words=C2=BB, then the result of typing TAB multiple times is as expected, with or without whitespace-mode activated! Rq3: as I'm not an emacs expert, I first posted on help-gnu-emacs list in order to see if someone could explain me what I was missing: https://lists.gnu.org/archive/html/help-gnu-emacs/2021-02/msg00321.html Nobody explained me why I see this behavior (of whitespace-mode), thus I came to the conclusion it might be a bug (both answers are from persons using emacs 28.0.50). I must say that I followed as precisely as I could the advices found to submit a bug, in particular I read and followed =C2=AB52-Reporting bugs=C2=BB of emacs manual. --end of bug description-- In GNU Emacs 27.1.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2021-02-04 built on Cornafion Repository revision: 89f1634afcca318def07151424a21b81c70acd76 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Whitespace mode enabled in current buffer You can run the command =E2=80=98whitespace-mode=E2=80=99 with M-x whit-m R= ET Whitespace mode enabled in current buffer Auto-saving...done Auto-saving...done Making completion list... Configured using: 'configure --prefix=3D/home/fred/emacs-03022021/' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: whitespace-mode: t 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 transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv bytecomp byte-compile cconv 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 subr-x cl-loaddefs cl-lib disp-table whitespace tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 49999 5008) (symbols 48 6166 1) (strings 32 16282 1605) (string-bytes 1 538103) (vectors 16 10378) (vector-slots 8 138289 8918) (floats 8 20 41) (intervals 56 535 0) (buffers 1000 14)) -- Fr=C3=A9d=C3=A9ric Baldit
Frédéric Baldit <frederic.baldit@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#46590
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.