From unknown Sun Jun 15 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58202: [PATCH] Move point to end of line after indent for sieve-mode Resent-From: John Helmert III Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2022 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 58202@debbugs.gnu.org Cc: John Helmert III X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166456805412107 (code B ref -1); Fri, 30 Sep 2022 20:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Sep 2022 20:00:54 +0000 Received: from localhost ([127.0.0.1]:43011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeMBp-00039C-Fv for submit@debbugs.gnu.org; Fri, 30 Sep 2022 16:00:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:50556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeKRS-0006Zz-LN for submit@debbugs.gnu.org; Fri, 30 Sep 2022 14:08:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeKRS-0001ZC-Fv for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:08:54 -0400 Received: from woodpecker.gentoo.org ([140.211.166.183]:52630 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oeKRM-0001ST-Nm for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:08:53 -0400 From: John Helmert III Date: Fri, 30 Sep 2022 13:07:28 -0500 Message-Id: <20220930180728.327001-1-ajak@gentoo.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=140.211.166.183; envelope-from=ajak@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Fri, 30 Sep 2022 16:00:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) * lisp/net/sieve-mode.el: move pointer to end of line after indenting --- lisp/net/sieve-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/sieve-mode.el b/lisp/net/sieve-mode.el index f62af03534..80532fc1ba 100644 --- a/lisp/net/sieve-mode.el +++ b/lisp/net/sieve-mode.el @@ -200,7 +200,8 @@ Turning on Sieve mode runs `sieve-mode-hook'." (let ((depth (car (syntax-ppss)))) (when (looking-at "[ \t]*}") (setq depth (1- depth))) - (indent-line-to (* 2 depth))))) + (indent-line-to (* 2 depth)))) + (end-of-line)) (provide 'sieve-mode) -- 2.37.3 From unknown Sun Jun 15 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58202: [PATCH] Move point to end of line after indent for sieve-mode Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: John Helmert III Cc: 58202@debbugs.gnu.org Received: via spool by 58202-submit@debbugs.gnu.org id=B58202.166462875423506 (code B ref 58202); Sat, 01 Oct 2022 12:53:02 +0000 Received: (at 58202) by debbugs.gnu.org; 1 Oct 2022 12:52:34 +0000 Received: from localhost ([127.0.0.1]:43908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebys-000674-1Q for submit@debbugs.gnu.org; Sat, 01 Oct 2022 08:52:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebyq-00066q-Dc for 58202@debbugs.gnu.org; Sat, 01 Oct 2022 08:52:33 -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=GV3y6czKMpqUhNg+oCLSVhug7m147xGPqrlUsMQ3p8I=; b=uyUISMCd/xHCJFDT9URP9MtHn1 jhobZ9WGCcfFP2e0G8fACq9qs1RWIjmQvJpUjuyTFdbrkgzCXpjGjK+d6qi4oDZJ2fJ3PsvzTvYN2 s7B2a+nAygadOrRCpOFrOMW+bPQbslWB6SmL3uyKak+K0bV0Bh8jGz6/64PRSAjOY6GE=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oebyi-0004CD-32; Sat, 01 Oct 2022 14:52:26 +0200 From: Lars Ingebrigtsen In-Reply-To: <20220930180728.327001-1-ajak@gentoo.org> (John Helmert, III's message of "Fri, 30 Sep 2022 13:07:28 -0500") References: <20220930180728.327001-1-ajak@gentoo.org> X-Now-Playing: Django Django's _Django Django Meets The Professor_: "Hail Bop" Date: Sat, 01 Oct 2022 14:52:23 +0200 Message-ID: <878rlzhfjs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: John Helmert III writes: > * lisp/net/sieve-mode.el: move pointer to end of line after indenting I'm not very familiar with sieve-mode, but moving the pointer to the end of the line after indenting is pretty unusual for a mode. Why should sieve-mode do this? 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) John Helmert III writes: > * lisp/net/sieve-mode.el: move pointer to end of line after indenting I'm not very familiar with sieve-mode, but moving the pointer to the end of the line after indenting is pretty unusual for a mode. Why should sieve-mode do this? From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 01 08:52:38 2022 Received: (at control) by debbugs.gnu.org; 1 Oct 2022 12:52:38 +0000 Received: from localhost ([127.0.0.1]:43911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebyw-00067K-9Z for submit@debbugs.gnu.org; Sat, 01 Oct 2022 08:52:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oebyt-00066v-T6 for control@debbugs.gnu.org; Sat, 01 Oct 2022 08:52:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DJJ0vWpbADmQKAcChbNcvNVNNMnHOQ0Sw2p/8m9PXjE=; b=fBrjokihFtluamRcxe80/nXl5/ xSXW/xVEI5l9LJdIscn2r1Qf9ukNE2HPetC7UF4B2Jwb7/aYkUy6/uTVk9krOUdBT1eNmHecoQamS P6/iw8VQkQDj9IhTaLPYbQicBiLtldFByj0KSDsEcKviIIK5VDCkdOhms0SxG7ym6xhs=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oebym-0004CK-C2 for control@debbugs.gnu.org; Sat, 01 Oct 2022 14:52:30 +0200 Date: Sat, 01 Oct 2022 14:52:27 +0200 Message-Id: <877d1jhfjo.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58202 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: tags 58202 + moreinfo quit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) tags 58202 + moreinfo quit From unknown Sun Jun 15 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58202: [PATCH] Move point to end of line after indent for sieve-mode Resent-From: John Helmert III Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: Lars Ingebrigtsen Cc: 58202@debbugs.gnu.org Received: via spool by 58202-submit@debbugs.gnu.org id=B58202.16646563575516 (code B ref 58202); Sat, 01 Oct 2022 20:33:01 +0000 Received: (at 58202) by debbugs.gnu.org; 1 Oct 2022 20:32:37 +0000 Received: from localhost ([127.0.0.1]:45754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oejA4-0001Qt-Hf for submit@debbugs.gnu.org; Sat, 01 Oct 2022 16:32:37 -0400 Received: from woodpecker.gentoo.org ([140.211.166.183]:36518 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oedsn-0001a3-Co for 58202@debbugs.gnu.org; Sat, 01 Oct 2022 10:54:25 -0400 Date: Sat, 1 Oct 2022 09:54:17 -0500 From: John Helmert III Message-ID: References: <20220930180728.327001-1-ajak@gentoo.org> <878rlzhfjs.fsf@gnus.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RSZhGPGXqSOBzbKv" Content-Disposition: inline In-Reply-To: <878rlzhfjs.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Sat, 01 Oct 2022 16:32:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) --RSZhGPGXqSOBzbKv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 01, 2022 at 02:52:23PM +0200, Lars Ingebrigtsen wrote: > John Helmert III writes: >=20 > > * lisp/net/sieve-mode.el: move pointer to end of line after indenting >=20 > I'm not very familiar with sieve-mode, but moving the pointer to the end > of the line after indenting is pretty unusual for a mode. Why should > sieve-mode do this? Without doing this, the point ends up at the beginning of an indented line, before any added indentation spacing. --RSZhGPGXqSOBzbKv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQyG9yfCrmO0LPSdG2gXq2+aa/JtQUCYzhUlwAKCRCgXq2+aa/J tfSNAQCBW2iAjQ6NkxdIGii+neg1kOOxWANVukqw5amYJlzE7gEA7lLSVZiBah/M crWYNpBJXVwFVgM0xCq5naDmSRg/GgE= =T2G9 -----END PGP SIGNATURE----- --RSZhGPGXqSOBzbKv-- From unknown Sun Jun 15 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58202: [PATCH] Move point to end of line after indent for sieve-mode Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: John Helmert III Cc: 58202@debbugs.gnu.org Received: via spool by 58202-submit@debbugs.gnu.org id=B58202.16647124217624 (code B ref 58202); Sun, 02 Oct 2022 12:08:02 +0000 Received: (at 58202) by debbugs.gnu.org; 2 Oct 2022 12:07:01 +0000 Received: from localhost ([127.0.0.1]:46378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexkL-0001yr-Dw for submit@debbugs.gnu.org; Sun, 02 Oct 2022 08:07:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexkJ-0001yX-Mr for 58202@debbugs.gnu.org; Sun, 02 Oct 2022 08:07:00 -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=h0A492Ojc6CHlzZF8IzNGL6g02OlsKqBr85cIj+CQgI=; b=EaiyV0JrI07lrun1vs9rQqU8lz 4TBqymQlWZz0NUBeM+XRx69MaIP3BNWkNaupFTq1oWp7MZWr/Ya4nhKIQK9aKt4U8LgCTuoZ5Nojb XA2Z47BbhPkDCB+h1vaKmO5YreG28ondQCIlbNOl/guMgW83osdNl3ffTu6iUttf1Dkk=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oexkB-0006wf-CY; Sun, 02 Oct 2022 14:06:53 +0200 From: Lars Ingebrigtsen In-Reply-To: (John Helmert, III's message of "Sat, 1 Oct 2022 09:54:17 -0500") References: <20220930180728.327001-1-ajak@gentoo.org> <878rlzhfjs.fsf@gnus.org> X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Shotgun" Date: Sun, 02 Oct 2022 14:06:50 +0200 Message-ID: <87czbae8f9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: John Helmert III writes: > Without doing this, the point ends up at the beginning of an indented > line, before any added indentation spacing. But with it, if you hit TAB in the middle of a line, you'll end up at the end of the line. 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) John Helmert III writes: > Without doing this, the point ends up at the beginning of an indented > line, before any added indentation spacing. But with it, if you hit TAB in the middle of a line, you'll end up at the end of the line. I've now pushed a different fix to Emacs 29 that makes TAB work like in other modes. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 02 08:07:06 2022 Received: (at control) by debbugs.gnu.org; 2 Oct 2022 12:07:06 +0000 Received: from localhost ([127.0.0.1]:46381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexkP-0001zM-Qq for submit@debbugs.gnu.org; Sun, 02 Oct 2022 08:07:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexkP-0001yg-4W for control@debbugs.gnu.org; Sun, 02 Oct 2022 08:07:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QLuf4/deroHLU7F9svHjybR2cLEHYEneLMtLyFYsgtA=; b=pPS7M6Tr88T9+chyNFvz6/1Tkw YLuRCN1u095ing4e0xu2jwziJJ2ZOGGoRi4xd2AdG5gl2sHOGnbw2gv/KVZCr6j2J5EmfiKOLpXAQ pTber0ao7j4nClyGLNv5XvI6gKCvoH4OGbe0SAInQtyhcL2Khp37GkVbnwdlwu8SQjdY=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oexkH-0006wm-75 for control@debbugs.gnu.org; Sun, 02 Oct 2022 14:06:59 +0200 Date: Sun, 02 Oct 2022 14:06:56 +0200 Message-Id: <87bkque8f3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58202 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: close 58202 29.1 quit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) close 58202 29.1 quit