Received: (at 56384) by debbugs.gnu.org; 5 Jul 2022 16:44:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 12:44:52 2022 Received: from localhost ([127.0.0.1]:51443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8lfQ-00044U-AB for submit <at> debbugs.gnu.org; Tue, 05 Jul 2022 12:44:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o8lfO-00044G-8M for 56384 <at> debbugs.gnu.org; Tue, 05 Jul 2022 12:44:51 -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 :Date:References:In-Reply-To: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=trVAeddvrwf2MpfhZeFlSZva260A5JUoHWcGojNVGz0=; b=GJHGw04thkZBaDi2h9o58OUDVe SaXRlQteD8FiBMyKkw3ifs0ELsb/DynZRgpVITho7iUAtl0xTrMouo/ap9pp98V5PWVejXbLz+QdI 6XeoYRA+MU6u/HTg94MMm8NIWldBWfFi4YjhSNnoKlBiocfRqiOcG8praFc8KzTrGN/E=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o8lfE-0003sA-JX; Tue, 05 Jul 2022 18:44:43 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: <spwhitton@HIDDEN> Subject: Re: bug#56384: 29.0.50; backward-word doesn't move far enough in message-mode In-Reply-To: <87tu7vljau.fsf@HIDDEN> (spwhitton@HIDDEN's message of "Tue, 05 Jul 2022 07:34:49 -0700") References: <875ykcoodr.fsf@HIDDEN> <87zghn4x1z.fsf@HIDDEN> <mvmv8sbn5s7.fsf@HIDDEN> <87o7y33hfm.fsf@HIDDEN> <87tu7vljau.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWFem5CPDeVin// ///U816mAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHBRAbBtVEs8IAAAF3SURBVCjPTZDBauMwEIZ/ G3tRfXJKppQ9KWUDTp7CKTW4PSlmxqQPsO8hTLaUHsP67i499Sk7lu2yP0joY0b/SD8SRIk3qI39 Z1CWNjaARfFxBtDFUbJCl2VYZKwxBVDWFpGD3fpPwKEzVdW9Ji9v2uH91lEZZ3uvPqZO48j98sUA XNcx7YcWL5dXIEfH2cC3ag7srOefZzG7jUWdx1d8m9DdZX0GCXNOjh7adQMRYV8d6MB0GkFqR3SQ voTwSk4ivRO5h9j3sSisDZDjIYAQZ+q2qO2wHCvhAeM+QiliIanwH4XTaEByXDqfvu+onEI6H4Uh TXRUfK7ue9HK79mb/gP1UajWYf4EelV1ows6nmazUAnQyNS2iAJsqA6TR2hTaegbenFMM9SUuvCN ER5kLZz3s1t/w44nqISi6YcBZE5rHtqSTG0UHsO0Evy94pRhNZ19g2inwT5uiaV4QrHR5/8YUy4+ Yb2aJbnmmu0xdCQpq3l7efsCE+abYhqQ54EAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDctMDVU MTY6Mjc6MDYrMDA6MDD2IVAGAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTA1VDE2OjI3OjA2 KzAwOjAwh3zougAAAABJRU5ErkJggg== X-Now-Playing: Flux's _Uncarved Block_: "The Stonecutter" Date: Tue, 05 Jul 2022 18:44:40 +0200 Message-ID: <87k08r1pc7.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: <spwhitton@HIDDEN> writes: > I noticed this bug because it breaks expanding abbrevs at the beginning > of the line. E.g. you've just pressed 'R' to reply with quoting the > original message in Gnus, and point is at the beginnin [...] 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: 56384 Cc: Andreas Schwab <schwab@HIDDEN>, 56384 <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 (---) <spwhitton@HIDDEN> writes: > I noticed this bug because it breaks expanding abbrevs at the beginning > of the line. E.g. you've just pressed 'R' to reply with quoting the > original message in Gnus, and point is at the beginning of the first > quoted line. Then if you type a word that is the key for an abbrev, and > then whitespace, it won't expand. I wonder if that can be fixed without > losing the benefits of Jo=C3=A3o's change. I'm not quite sure the change makes all that much sense. If you have this: --- foo > bar zot --- with point after foo, `M-C-f' takes you to the end of zot, which is surprising. I guess the idea is that you'd never want to edit quoted text? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.Received: (at 56384) by debbugs.gnu.org; 5 Jul 2022 14:35:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 10:35:01 2022 Received: from localhost ([127.0.0.1]:51204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8jdl-0006wb-F2 for submit <at> debbugs.gnu.org; Tue, 05 Jul 2022 10:35:01 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1o8jdg-0006wK-Ol for 56384 <at> debbugs.gnu.org; Tue, 05 Jul 2022 10:35:00 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 728A35C01C8; Tue, 5 Jul 2022 10:34:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 05 Jul 2022 10:34:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657031691; x= 1657118091; bh=PQATchuAU1apN4qv4wRn8h/s0mPBZ3fRGPDEDg2v9fQ=; b=v okXnVWkBslUKAHMOr5VgaAc2B7tP+r0aKwS47FWu2pgLskTOKO7nTUwVnBt1EflP u2NkvUL5+6D4glKUNqYIAy375R25FkK7vCzDTW7RSvyeL+CtoVwuNL/c1WLdNeXJ ToN68DSp58HslmMkuuUW0YFR9rTPJahqQC5c8eY6grPW+sM2J2GWsQQuxHZQt0Zm FoCx6uL5e1z4NFXj6L7c8YQ2xmH1XpMfN08DrDFFTFSmHHFtz3wpNEwyz/JtzEW7 6FrHaA+ON4w1PfkUGcIYX81YNr1rm18Rm7hr28fMIF1AdastYhPWs71Qs0OHetJS ZzR8/rstmX3JBJvGCbDfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1657031691; x= 1657118091; bh=PQATchuAU1apN4qv4wRn8h/s0mPBZ3fRGPDEDg2v9fQ=; b=G xrD92WfOdTn3uYE/coISaidWPvxZjGPwOa+MW+m0QWxP6TKeXULSbpjP2GQPrZs2 cVqO5bz4Jqm3mATqLZFa9vBOeVecCwq8gGz3Ssiec21DXOmzej3Uk9T9ccTvC30T dSay+qc2Zq2fPzQm86Onbai+gJYFLvkw0S43Mv7j6CxJ3t7Tdfy6rD4dyiCM8jQz GuqndYQt/jaWygzr5dexw3aFXCjmh/Ne2d1N/2bst5Vty9+WBcvkdFI+rSmlhLMl AeBNilaNmtZhXv6IDKbKzyuG1nQnT5WXGvKCBRYUNOQb1MN+rEdUzcx48S6IuUZq IBHO5dfn1MQKrknD2OZAw== X-ME-Sender: <xms:C0zEYmSy5wei9ifx6VTtGULFKphSVLMZXDxitpEfnxHhpS7O6BCnMw> <xme:C0zEYrzoEvzW0mLw3DoY0jgWnLLR2eL0O-91SMo_pSzOxCTOm8zxMrr1VysGT6Ya7 EjCq4cg9VgoPtP_kA> X-ME-Received: <xmr:C0zEYj1Y1t1AgwqZmAWyg9PvTyXj9CN3os-7mnkHMTyLvQCD1Wd03upk5W6Lea-FSwNTPNm9i6oBmVoCGNBRUxjYmNWixCE> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtgfesthhqtddttddtjeenucfhrhhomhepoehsphif hhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhephe efueevkeeitdeifeeijefhffeuudehudegteevkeetgeegtdfgkeevveffhfdvnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtth honhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: <xmx:C0zEYiDMqYqByO5N5f4k4Jl1AztTrnByh2MJpwwjle_nZbINJm2Bkg> <xmx:C0zEYvhtdMHxUKbj3wYZ1XTXqNiQYoLkiSDeB5WkjvRanGDf0a_zIQ> <xmx:C0zEYuo-5upTfHRDCG2Wh2NFMimhN9h4vq9H380eAYguClie5-Oyuw> <xmx:C0zEYitC8ul6il08sfpkHu5F4tZWWqCAFbRo6BmhDiTdEsY0LMRqZg> Feedback-ID: i23c04076:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 10:34:50 -0400 (EDT) Received: by athena.silentflame.com (Postfix, from userid 1000) id B312E1B5D60; Tue, 5 Jul 2022 14:34:49 +0000 (UTC) From: <spwhitton@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN>, Andreas Schwab <schwab@HIDDEN> Subject: Re: bug#56384: 29.0.50; backward-word doesn't move far enough in message-mode In-Reply-To: <87o7y33hfm.fsf@HIDDEN> References: <875ykcoodr.fsf@HIDDEN> <87zghn4x1z.fsf@HIDDEN> <mvmv8sbn5s7.fsf@HIDDEN> <87o7y33hfm.fsf@HIDDEN> Date: Tue, 05 Jul 2022 07:34:49 -0700 Message-ID: <87tu7vljau.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 56384 Cc: 56384 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN> 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 (-) Hello, On Tue 05 Jul 2022 at 01:52PM +02, Lars Ingebrigtsen wrote: > Andreas Schwab <schwab@HIDDEN> writes: > >> There is a syntax-table property on the first character. > > Ah, thanks. This was added by: > > commit 25449e7296fe6e5cd9bca49ae1bc52d1552d5324 > Author: Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> > AuthorDate: Sun Apr 12 13:12:27 2015 +0100 > > Summary: Improve sexp-based movement in message-mode > > Works by giving citations and smileys a different syntax. This helps > modes like `show-paren-mode', `electric-pair-mode', and C-M-* > sexp-based movement. >=20=20=20=20=20 > * lisp/gnus/message.el (message--syntax-propertize): New function. > (message-mode): Set syntax-related vars. > (message-smileys): New variable. > > * test/automated/message-mode-tests.el: New file I noticed this bug because it breaks expanding abbrevs at the beginning of the line. E.g. you've just pressed 'R' to reply with quoting the original message in Gnus, and point is at the beginning of the first quoted line. Then if you type a word that is the key for an abbrev, and then whitespace, it won't expand. I wonder if that can be fixed without losing the benefits of Jo=C3=A3o's change. --=20 Sean Whitton
bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.Received: (at 56384) by debbugs.gnu.org; 5 Jul 2022 11:52:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 07:52:42 2022 Received: from localhost ([127.0.0.1]:49557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8h6f-0006bG-TN for submit <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:52:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o8h6e-0006b4-G1 for 56384 <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:52: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 :Date:References:In-Reply-To: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=f0OgwK5TakOwjcJUkzgDgjF71W4rILJYw3GrhwtSvKE=; b=tXPBbdIRD+jZ+sQapd1c5rj0xe bfUdaWIHdBVoN0+QekGZMFL5KuOLh8KrGVrVSZ6WhT6G5araoX/3CAMA44POZWj51y205Ib8Q+ZTr s4S6TOZshZhU5Ic0ErqsuLY6mnC8tv2WtZpBfRhwl4TPwvC5V3zKME9ghwX/6ePsaUbk=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o8h6V-0001JI-3G; Tue, 05 Jul 2022 13:52:33 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andreas Schwab <schwab@HIDDEN> Subject: Re: bug#56384: 29.0.50; backward-word doesn't move far enough in message-mode In-Reply-To: <mvmv8sbn5s7.fsf@HIDDEN> (Andreas Schwab's message of "Tue, 05 Jul 2022 13:43:52 +0200") References: <875ykcoodr.fsf@HIDDEN> <87zghn4x1z.fsf@HIDDEN> <mvmv8sbn5s7.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWcm55ET0UVFBX/ //+9ms0AAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHBQsyLFrKqW4AAAGwSURBVCjPJZCxbhsxEESH Ru4K9xTi653CX0EBNpCougNuCZBVAtwJEr9CaVSksgyTiK8yAlEQ9yuztDs+LGd2dtBl5Zk5rpPT GGbifblEItJQYaFStlFPRoPmNyKZjHOvIOPoyiUTjU8gGxMHFqARs1/SEsTODhVIz5Tkr3PI/vRt GMjd+0tBDmn7a2yIPEdMoWyzI5YYGfkpsCXaS6SEQp0TGNviC7h03oX4rHIQg9fVstPWYA6MaLry DG9AWYB0AfwBW2bYqB2wMrgXGMQWaMxjqBqiGdBjI1tFRwRM00q24pT1Hk3v/DlscIrNHR5OdvNq Wwzj+gdCTJskQU0//EVI7G2WfZqu6ESdo4WidMVtPaAMWLv0bjehjizWgd/VkeUaSWL88hsvSwnZ S6zV6Tv+yS9pEkbT1xq/3PIFB+V3NX5ppZCz4h2km+wlwQ7Uozpz3mKqUN+cGJMm8wGlY/wk6lWF a8s438RebeTPGYy7dcFNDXrFCp1U0HQf+zs5kvpW5MzGI2UybTX4svfY58FUCaP2Fl4O9Wq2Ao/h +AnVIvHRfEDnGW/8Rz18Dvg/34fvddfenN8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDctMDVU MTE6NTA6NDQrMDA6MDBTYEd3AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTA1VDExOjUwOjQ0 KzAwOjAwIj3/ywAAAABJRU5ErkJggg== X-Now-Playing: Eurythmics's _In The Garden_: "Never Gonna Cry Again" Date: Tue, 05 Jul 2022 13:52:29 +0200 Message-ID: <87o7y33hfm.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: Andreas Schwab <schwab@HIDDEN> writes: > There is a syntax-table property on the first character. Ah, thanks. This was added by: 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: 56384 Cc: 56384 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN> 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 (---) Andreas Schwab <schwab@HIDDEN> writes: > There is a syntax-table property on the first character. Ah, thanks. This was added by: commit 25449e7296fe6e5cd9bca49ae1bc52d1552d5324 Author: Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> AuthorDate: Sun Apr 12 13:12:27 2015 +0100 Summary: Improve sexp-based movement in message-mode =20=20=20=20 Works by giving citations and smileys a different syntax. This helps modes like `show-paren-mode', `electric-pair-mode', and C-M-* sexp-based movement. =20=20=20=20 * lisp/gnus/message.el (message--syntax-propertize): New function. (message-mode): Set syntax-related vars. (message-smileys): New variable. =20=20=20=20 * test/automated/message-mode-tests.el: New file diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -2964,0 +2969,18 @@ +(defun message--syntax-propertize (beg end) + "Syntax-propertize certain message text specially." + (let ((citation-regexp (concat "^" message-cite-prefix-regexp ".*$")) + (smiley-regexp (regexp-opt message-smileys))) + (goto-char beg) + (while (search-forward-regexp citation-regexp + end 'noerror) + (let ((start (match-beginning 0)) + (end (match-end 0))) + (add-text-properties start (1+ start) + `(syntax-table ,(string-to-syntax "<"))) + (add-text-properties end (min (1+ end) (point-max)) + `(syntax-table ,(string-to-syntax ">"))))) + (goto-char beg) + (while (search-forward-regexp smiley-regexp + end 'noerror) + (add-text-properties (match-beginning 0) (match-end 0) + `(syntax-table ,(string-to-syntax ".")))))) So it's giving the first character of each cited line a "<" syntax... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.Received: (at 56384) by debbugs.gnu.org; 5 Jul 2022 11:44:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 07:44:05 2022 Received: from localhost ([127.0.0.1]:49514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8gyL-00048q-EA for submit <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:44:05 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:56726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1o8gyG-00048A-MI for 56384 <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:44:04 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 7B00D1FB3E; Tue, 5 Jul 2022 11:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657021434; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U7cQvTaa/nlONs2pBwIg1DeBf4H8lUdfc1Zz6+w8kEg=; b=ZrMDSF6nREU2kLDVxfo5TRLKv7gEtWh7rpRvoNUrGeAqrRfNGRJCf+fMAu2arAOnolczuj Z+KR9hXhkow7cEjJ7NdoLjF6TB43/fHEEORBn3AMNaizHQW6OfSEdjNS/F9C1PfnCFSWMq DzUPgiaxVInq8tygW9+8TWrLOFDfbog= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657021434; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U7cQvTaa/nlONs2pBwIg1DeBf4H8lUdfc1Zz6+w8kEg=; b=7OdkYNVhmg42uUapJT8PMhUePYNvnLA0PuQGJrGSiJWCeJd45uM2uR7d1DzqionUFBUNXf 1ZWoV5rMp2D4VwBQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 0BCF12C141; Tue, 5 Jul 2022 11:43:53 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 60E6E444B8C; Tue, 5 Jul 2022 13:43:53 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#56384: 29.0.50; backward-word doesn't move far enough in message-mode References: <875ykcoodr.fsf@HIDDEN> <87zghn4x1z.fsf@HIDDEN> X-Yow: I want the presidency so bad I can already taste the hors d'oeuvres. Date: Tue, 05 Jul 2022 13:43:52 +0200 In-Reply-To: <87zghn4x1z.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 05 Jul 2022 13:29:44 +0200") Message-ID: <mvmv8sbn5s7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56384 Cc: 56384 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN> 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 (---) On Jul 05 2022, Lars Ingebrigtsen wrote: > Sean Whitton <spwhitton@HIDDEN> writes: > >> 1. emacs -q >> 2. C-x m >> 3. foo> >> 4. C-b >> 5. M-b >> >> Point does not move to the beginning of the line, as one would expect. >> >> If a punctuation character other than '>' is used, it does to go bol. > > How strange -- it goes to the second character on the line? Anybody > know what could be causing this? There is a syntax-table property on the first character. -- Andreas Schwab, SUSE Labs, schwab@HIDDEN GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.Received: (at 56384) by debbugs.gnu.org; 5 Jul 2022 11:29:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 07:29:56 2022 Received: from localhost ([127.0.0.1]:49446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8gke-0001YP-Kw for submit <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:29:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o8gkc-0001Y9-N3 for 56384 <at> debbugs.gnu.org; Tue, 05 Jul 2022 07:29:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=0/cMCSp+kowSxJc4eZseRQpjPUanQZ2gNCYavLu4xw8=; b=gsedAoDaWHMg+bAXawd/1bGpQr 1nBXCdY4qi5K8fGBM/m9GPxj8etZEjInFRmIY6rIaM1dFeW34j3pcAHr2cisME+5iZo3RoTV/9Oq9 +vPucT+xmTyzdicCuBpV13WKZV2iPgnBgEqtZgJoCdKQgZN9kX/Hvgz7CxHC0JOVuU1w=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o8gkT-00014b-4v; Tue, 05 Jul 2022 13:29:47 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#56384: 29.0.50; backward-word doesn't move far enough in message-mode In-Reply-To: <875ykcoodr.fsf@HIDDEN> (Sean Whitton's message of "Mon, 04 Jul 2022 09:04:32 -0700") References: <875ykcoodr.fsf@HIDDEN> X-Now-Playing: Eurythmics's _In The Garden_: "English Summer" Date: Tue, 05 Jul 2022 13:29:44 +0200 Message-ID: <87zghn4x1z.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Sean Whitton <spwhitton@HIDDEN> writes: > 1. emacs -q > 2. C-x m > 3. foo> > 4. C-b > 5. M-b > > Point does not move to the beginning of the line, as one would expect. > > If a punctuation character other than '>' is used, it does to go bol [...] 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: 56384 Cc: 56384 <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 (---) Sean Whitton <spwhitton@HIDDEN> writes: > 1. emacs -q > 2. C-x m > 3. foo> > 4. C-b > 5. M-b > > Point does not move to the beginning of the line, as one would expect. > > If a punctuation character other than '>' is used, it does to go bol. How strange -- it goes to the second character on the line? Anybody know what could be causing this? I think message-mode is interpreting that foo> as a cited text, but I don't quite see why that'd make point go to the second column instead of the first. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 Jul 2022 16:04:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 12:04:49 2022 Received: from localhost ([127.0.0.1]:48518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o8OZ7-0008G8-7B for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 12:04:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:44550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1o8OZ2-0008Fv-Jx for submit <at> debbugs.gnu.org; Mon, 04 Jul 2022 12:04:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>) id 1o8OYy-0004jK-3X for bug-gnu-emacs@HIDDEN; Mon, 04 Jul 2022 12:04:43 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>) id 1o8OYw-0000aY-7Q for bug-gnu-emacs@HIDDEN; Mon, 04 Jul 2022 12:04:39 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CAE145C0062 for <bug-gnu-emacs@HIDDEN>; Mon, 4 Jul 2022 12:04:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 04 Jul 2022 12:04:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1656950674; x=1657037074; bh=syLCAzN4dgfa2JpSGvICUmAsQo2k3wkM4yZ Zij4jTa0=; b=GjVaHh3bw9gmk8w4K/06DFT/QDXQFqryRllJpv1/Anl/Heut1Mw I7W71xqzcBlsklAVsVy4/6Wly1tFJoV6kdZ0/dDQZTkf5CUhicZhgyW6YZIpEUFo oLtB8ZR2nvAb7nsbs68C7Kp1okPvvfw5Fb0Ygm7qN2UICNVLyD/AvkHrj/1gc0k2 MeILCShNJ4CmW76YAXJFlXavJ4SgMb2+DG79VDrfYPXvXhnqkKoaRya6kLvye53P t75j2gJP5H7R165RPH4KMVsrjDT5KSLI2VGmMZMzFzQsQYf7K9z0ASYPIVN+eldb yCMr7lz/yhp+jw0VayJH9UObJMLn44TAqCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656950674; x= 1657037074; bh=syLCAzN4dgfa2JpSGvICUmAsQo2k3wkM4yZZij4jTa0=; b=w DS+NQ1TyhA1Lp+8pHzcpPs4o132iWLlJXrbcKRT9mtNxPapyo7CAOm/zxheT7QS5 58cvJjJESWStDhx98QVt1NOAfH29XF3x2mPeM0UzFKChlbISlhoYsvcrGbnd9lPx SYhL/zJ+6kDQwtd377fdMP9Wge12gzsdeJ7PgcB8FyKpM/4JQaVV660gloqA5C4C 6MqZFVyN69vqDQD4+BxeV25PzQ5lEbhzektdxRQQMRcc/5+Kt0tidVsZWoAuILqn dBF1Kln2yQSpTagvyWIlmBQEZVaShgfHuiKfjNCeGSPtT8jNu9TI7dSmxxtE9eL8 qz5ZmheEO5VW6sviIitaw== X-ME-Sender: <xms:kg_DYpapG6Iaj0bqjRvAWMnRCOdp2XfjlNZI8vCg_dvHulPYEt7D_w> <xme:kg_DYgYVYpI3tYeMb-vQf5rYyLDxoY41m6mmndMpHthnC6y80Va_xRwaK1IzAyVLx ofHRQMIo1qkInCMFg> X-ME-Received: <xmr:kg_DYr-vjv9ndfTdZAKr_8zWAB_Mnql5rj7f2vGircj5sKRjkEEOyMedwUBPCe7BXe_oqe_3cCmp1Dsv3gZ5_yUp3TsgB-g> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehledgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdttddttd ertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhp fihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeffgfehgefggfehuedvte fhkedutdfggfdtueekgeektdetffdtgefhvdfgtdejleenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhith htohhnrdhnrghmvg X-ME-Proxy: <xmx:kg_DYnraney6todZcDqwrxV9LfIIb8wEnSuusPm90eeq0n243GzcVw> <xmx:kg_DYkpmOwLi8b4GB3_IYHj-CtmHmqjt3EVEV6cpDjJq7Uf4f7vtwA> <xmx:kg_DYtSlT0rsX-p1sVEv7ha2khS_UR24nSz01SGrnqcK-NiVGHKm0g> <xmx:kg_DYqGiVf33biXJTgnfcqo8OvsEZupQpyT0WZu6_IIvEz7y98JeFA> Feedback-ID: i23c04076:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Mon, 4 Jul 2022 12:04:34 -0400 (EDT) Received: by athena.silentflame.com (Postfix, from userid 1000) id ED2BE1B8436; Mon, 4 Jul 2022 16:04:32 +0000 (UTC) From: Sean Whitton <spwhitton@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 29.0.50; backward-word doesn't move far enough in message-mode Date: Mon, 04 Jul 2022 09:04:32 -0700 Message-ID: <875ykcoodr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.27; envelope-from=spwhitton@HIDDEN; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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: -2.7 (--) Hello, 1. emacs -q 2. C-x m 3. foo> 4. C-b 5. M-b Point does not move to the beginning of the line, as one would expect. If a punctuation character other than '>' is used, it does to go bol. -- Sean Whitton
Sean Whitton <spwhitton@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#56384
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.