From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 08:53:57 2024 Received: (at submit) by debbugs.gnu.org; 8 Aug 2024 12:53:57 +0000 Received: from localhost ([127.0.0.1]:35754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sc2eS-0001ea-Mb for submit@debbugs.gnu.org; Thu, 08 Aug 2024 08:53:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:57314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sc2eQ-0001eR-Gc for submit@debbugs.gnu.org; Thu, 08 Aug 2024 08:53:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sc2dz-0006g6-F8 for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2024 08:53:27 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sc2dx-00017x-BC for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2024 08:53:27 -0400 Received: from [172.20.10.4] (unknown [78.242.185.118]) (Authenticated sender: jfbu@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 226A72003DD for ; Thu, 8 Aug 2024 14:53:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1723121595; bh=4psu4PGNsinBhZBu0BtNGqP7ExdOwf+etS1R+E4ULSE=; h=From:Subject:Date:To:From; b=UsggwTR0CBoyOfwu8t33f35m5Vtk+6G0e/VxpIef6NGbMh6yTX1zLKW27XSTaqJ6G oA0ySMzIJezaXDZDB/7oJUmVXXftKTDvCmf2BmK79/5PHhLgndDGgKPDQcZ9khjxpr Sz9cnURC4Luvc2sSqXG0Av8KPfE4JxQRyrGDWpc4o9SdLjbq0zop7kc5gcsrsAT6nS lCv6bI4zRab0dzW7lY1B4TOnrcdKk1FjBnvyASAgodzoKJ2NMvR3oi20QAnqoWoUXl gf4nG/lFWMElRYM4uV4GIjaM8SMr2nc/FPjY0rlc4q4Q8H7Pi+b0Lkf2Qnz0FNXZCw 3+d8mkyNK1yCw== From: jfbu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option Message-Id: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> Date: Thu, 8 Aug 2024 14:53:13 +0200 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.9.7) Received-SPF: pass client-ip=212.27.42.2; envelope-from=jfbu@free.fr; helo=smtp2-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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -2.6 (--) Hi, I could not find a bug tracker restricted to rst.el (reStructured Text = mode). I was told rst.el is now maintained as part of Emacs, not at = [Docutils](https://sourceforge.net/projects/docutils/). Here is my report: Consider editing in Emacs a file `test.rst` and having typed so far ~~~rest .. note:: :name: test ~~~ then insert a blank line and hit the TAB key on next one. The cursor = will align with `test`, not with `:name:`. This produces extra space in output when processed either by rst2html or = integrated into a Sphinx projet. For context see [this Sphinx = comment](https://github.com/sphinx-doc/sphinx/issues/12742#issuecomment-22= 75622334). I am using a file rst.el.gz integrated to my Emacs 28.1 which contains ~~~lisp ;; Maintained by the release process. (defconst rst-official-version (rst-extract-version "%" "OfficialVersion: " = "[0-9]+\\(?:\\.[0-9]+\\)+" " " "%OfficialVersion: 1.5.2 %") "Official version of the package.") (defconst rst-official-cvs-rev (rst-extract-version "[%$]" "Revision: " "[0-9]+\\(?:\\.[0-9]+\\)+" " = " "$Revision: 1.1058.2.9 $") "CVS revision of this file in the official version.") ~~~ I tried with electric-indent-mode both on and off. No change. Regards, jfbu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 05:52:24 2024 Received: (at 72523) by debbugs.gnu.org; 9 Aug 2024 09:52:24 +0000 Received: from localhost ([127.0.0.1]:37705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scMIK-00020f-Fx for submit@debbugs.gnu.org; Fri, 09 Aug 2024 05:52:24 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:61800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scMII-00020R-Vv for 72523@debbugs.gnu.org; Fri, 09 Aug 2024 05:52:23 -0400 Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-530e2235688so2022807e87.3 for <72523@debbugs.gnu.org>; Fri, 09 Aug 2024 02:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723197049; x=1723801849; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ccRdHcZx97zxOD2Bf+TVr9YRKN/lOdBg37M+PN3Qg98=; b=JFnpJRnJO5YfHonbAeSU6RtInjfFJlIBkOjGfUsVIUFQZw0XSnioqHXfOFkLAPgbje NdVo8VUuS2esvEZ2cp2c0PRO5ZS223gdbKUPA6zJGII5QNQkc5HMDORSOAR5puWejoeH rgy0EjxkCBZUwIssmghK5YCACStb+SSyhcY0j/07ajk9Xwj7pTBu0mvF69wvjZ9gHyhL ak4mJeokMV7SyNMWCBEM0Lykx/W+T7pbwSbE+9LKm5NRAcq7h06ntY22tXQS+6vPNBRS wIv1IoWyiEKaVXd7TAytY8/ey7cTyv9OvGBZxGBxo0iNKaiSgWeh+SlA3z8tJSCuCM8s xFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723197049; x=1723801849; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ccRdHcZx97zxOD2Bf+TVr9YRKN/lOdBg37M+PN3Qg98=; b=FwH0KFzxcxLFmEa4pM/KKiSzP61ubtMucMvixfV7U1A/gGzyXqi0/uu+VAGea5d895 IbRcUAjih344Llltncn/9MC6yUYlAQMBhQ1tNx8Xt/XarWiaR6A2hY1iR6gnMuqfATFl DmstlmGHb9b/E4hE7mLtyMswRo6fbfi+hc5R2LTyTVc0vQrLEzUJgsfDrr2OxQIgebbr lQKfxIkyUhK9OXdyHnmqib6CCYaYib25EqAFxsVBHDypwaKYJMKDaFYUC9vNsLGntgla MHs1ukmKuViYZg1jlI4ymMWXPAbDpzsZDxMhVK3It5pjPoCiGGoXPXx/eUyLuOED8swM RkvA== X-Forwarded-Encrypted: i=1; AJvYcCV1MhTbyVBOmMa9Vd+X08xbvWLFPRoBvVAq324cuFgEdzdHCtZnlcMUkHXT6blA2CXtk1CQBqEOQ4FqM2K8Apq/YusrpMI= X-Gm-Message-State: AOJu0Yy4Kbtp+cruPvEbVMzPWxTvJNtdyXXN5BaSuUNnWNLU2nXSja2d 9GmzmUzi8Q01WM9lShPB0dgzPUYzqKlYYTNuNNGqcI1K5sIzGnMA58LilbXssUqs3DDE9W6kDwC Q2Xuv7RMPnMEYypOTToRrnsdTpeA= X-Google-Smtp-Source: AGHT+IHyw3d3JKW41N0oG/E2a797guxf6HkQhynUCSODxTa+AAsAEr6A/xwyd4EuLfMZhVzWFd9/5QI8IEcTEQBuiN8= X-Received: by 2002:a05:6512:15a7:b0:52f:df:db40 with SMTP id 2adb3069b0e04-530eea6ae82mr645728e87.56.1723197048812; Fri, 09 Aug 2024 02:50:48 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 9 Aug 2024 09:50:47 +0000 From: Stefan Kangas In-Reply-To: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> References: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> MIME-Version: 1.0 Date: Fri, 9 Aug 2024 09:50:47 +0000 Message-ID: Subject: Re: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option To: jfbu , 72523@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72523 Cc: Stefan Merten 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: -1.0 (-) jfbu writes: > Hi, > > I could not find a bug tracker restricted to rst.el (reStructured Text mode). I was told rst.el is now maintained as part of Emacs, not at [Docutils](https://sourceforge.net/projects/docutils/). > > Here is my report: > > Consider editing in Emacs a file `test.rst` and having typed so far > > ~~~rest > .. note:: > :name: test > ~~~ > > then insert a blank line and hit the TAB key on next one. The cursor will align with `test`, not with `:name:`. > > This produces extra space in output when processed either by rst2html or integrated into a Sphinx projet. For context see [this Sphinx comment](https://github.com/sphinx-doc/sphinx/issues/12742#issuecomment-2275622334). > > I am using a file rst.el.gz integrated to my Emacs 28.1 which contains > ~~~lisp > ;; Maintained by the release process. > (defconst rst-official-version > (rst-extract-version "%" "OfficialVersion: " "[0-9]+\\(?:\\.[0-9]+\\)+" " " > "%OfficialVersion: 1.5.2 %") > "Official version of the package.") > (defconst rst-official-cvs-rev > (rst-extract-version "[%$]" "Revision: " "[0-9]+\\(?:\\.[0-9]+\\)+" " " > "$Revision: 1.1058.2.9 $") > "CVS revision of this file in the official version.") > ~~~ > > I tried with electric-indent-mode both on and off. No change. > Regards, > jfbu I'm copying in Stefan Merten, in case he has any comments or suggestions. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 04:06:54 2024 Received: (at 72523) by debbugs.gnu.org; 10 Aug 2024 08:06:54 +0000 Received: from localhost ([127.0.0.1]:39008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sch7m-0006Of-Gg for submit@debbugs.gnu.org; Sat, 10 Aug 2024 04:06:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sch7k-0006OP-37 for 72523@debbugs.gnu.org; Sat, 10 Aug 2024 04:06:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sch7A-0003rb-Pq; Sat, 10 Aug 2024 04:06:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lrDtnP4yzjUY0DlsIgTKl/cNmlo2Aq4hanu4OjEeD3Y=; b=jKzmodlaHkr9 wzXoZGEizY2/286djG2DnSzmZtJvlPAglNW6RO4h/ihARKYVBaF1L4jZ0kFt+QqSH2TIrqjs7YMg9 8eFLSitMboxOA+e0xiWV7RH3Uh/BzEXYd6ucbeHx9f7QeJUtNP9E4GxSmwVE+YphhS2NeJr53j1Ia SePLe1y05oFann0s1P8Wq0NxL0buXRU9hNO7M1I9/lrlpTc1m4orArasybe8cAgu3KLr41vSuAZeW Fv41vgzPv3mhzD9ANxig/BomPRDJWtG/5Y0f0EN6O+bbvwHqGXmU5mF+s0cp1kOBqqOJsx/u2lq69 2HW4kHpnzZJS1KkncFh2xA==; Date: Sat, 10 Aug 2024 11:06:14 +0300 Message-Id: <86h6bskdjd.fsf@gnu.org> From: Eli Zaretskii To: jfbu , Stefan Merten In-Reply-To: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> (message from jfbu on Thu, 8 Aug 2024 14:53:13 +0200) Subject: Re: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option References: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72523 Cc: 72523@debbugs.gnu.org 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 (---) > From: jfbu > Date: Thu, 8 Aug 2024 14:53:13 +0200 > > Consider editing in Emacs a file `test.rst` and having typed so far > > ~~~rest > .. note:: > :name: test > ~~~ > > then insert a blank line and hit the TAB key on next one. The cursor will align with `test`, not with `:name:`. > > This produces extra space in output when processed either by rst2html or integrated into a Sphinx projet. For context see [this Sphinx comment](https://github.com/sphinx-doc/sphinx/issues/12742#issuecomment-2275622334). > > I am using a file rst.el.gz integrated to my Emacs 28.1 which contains > ~~~lisp > ;; Maintained by the release process. > (defconst rst-official-version > (rst-extract-version "%" "OfficialVersion: " "[0-9]+\\(?:\\.[0-9]+\\)+" " " > "%OfficialVersion: 1.5.2 %") > "Official version of the package.") > (defconst rst-official-cvs-rev > (rst-extract-version "[%$]" "Revision: " "[0-9]+\\(?:\\.[0-9]+\\)+" " " > "$Revision: 1.1058.2.9 $") > "CVS revision of this file in the official version.") > ~~~ > > I tried with electric-indent-mode both on and off. No change. Stefan, any comments or suggestions? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 04:38:47 2024 Received: (at 72523) by debbugs.gnu.org; 10 Aug 2024 08:38:47 +0000 Received: from localhost ([127.0.0.1]:39026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1schcd-0007BT-Bv for submit@debbugs.gnu.org; Sat, 10 Aug 2024 04:38:47 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:54557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1schcb-0007BB-1i for 72523@debbugs.gnu.org; Sat, 10 Aug 2024 04:38:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=merten-home.de; s=s1-ionos; t=1723279088; x=1723883888; i=stefan@merten-home.de; bh=HlnMZ6IzSFW+7r3wWPwS7IC4ceRNgag/OXplOjd0z9A=; h=X-UI-Sender-Class:From:To:cc:Subject:In-reply-to:References: MIME-Version:Content-Type:Content-Transfer-Encoding:Date: Message-ID:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=vSS1/TsEFXR+QF2fNK+47fNGi+rfRvQNkUzRsqRWxEdtLqcPPj3Ne4Fa1bVLUMu2 xOFe8+TiVps5K9tMDghGYOA7P5c/yh1CtD7tSSBObOKhWEBCxJLQyPRw2vr32+VjZ WL2V6T6p/6/9xDNWoHHcIawhqMNNC/tGX0P+5xny1f+Cm+IRwFhY/tmoQRDpZ6tC0 cjhlnq7wsyRsKJLqJ2z+U4vKyrVBvDHVgNWUqV/a9kwwf0tjh4gFNwF/NR+ILFx5J QnHzsafSeB1mGLJIxcM8cnlwNKM7Qae5Jw/Z/fcR9/22jjUmqFcNhqrkv8GVMq4NT OxINPtH5eNiJLlfVmw== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from eskebo.homelinux.merten-home.de ([109.43.112.179]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MkIEJ-1rwk4s3YXx-00pL0B; Sat, 10 Aug 2024 10:38:07 +0200 Received: by eskebo.homelinux.merten-home.de (Postfix, from userid 1000) id 43C90C0181; Sat, 10 Aug 2024 10:36:40 +0200 (CEST) From: Stefan Merten To: Stefan Kangas Subject: Re: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option In-reply-to: References: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> Comments: In-reply-to Stefan Kangas message dated "Fri, 09 Aug 2024 09:50:47 -0000." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10639.1723279000.1@eskebo> Content-Transfer-Encoding: quoted-printable Date: Sat, 10 Aug 2024 10:36:40 +0200 Message-ID: <10640.1723279000@eskebo> X-Provags-ID: V03:K1:QQBl0f3ZV2YzLEoaDzJVaXQtofJyrrdeLKy5kyaNY7mt3yN3nxn QqNltofpMICZetdaXE/Z/xS7g6pZVlzyyBqQPKmHNMcuA5xYez/YvWEtcE+j/kEwJzuWPFB 1WEnnGUPPLPOjp779DSQp0nDf2LdC54WJYUyXCR16MbFvT/ycQEuN8GvWGadNPZRrKPtGGT wnBHKahKC9UubI4owy4gA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:hOsu2j7uo8Y=;sDoZny6RPdmhL/dJ2xmx4sijFIg jA/JPe2L69d5APHJRHNi4YJtXKh8bHCW2sNv93DwdFsX4e9q8RT0AydUan3n/kzsf8iTYBogZ 5tKdwOqZ9lz4lvvbemojEyIs4/6LSWfTuDrld/h4VOOGx1QTik4RhASkcvtfGJmEQJDkt8tha B4EyV1I+wl0AUxtLm+2AsdeiU8D89oyxxJgSvxafHWxw9oVeVXuAfHdDrA8ycmdlRAV4civZM 6xOkCS0mEBjcF0brMfcCxwxCjnOHfRBmAsk89D3fN0tLbWl/xxpgiRmBcguXRIzL18a5t+GNC O298JDzOv45UkL/h13PPcam2cp9hbsMrqLIIfvMps95I7La/AGLgVMyZQaA2tgN7bscoeirDf JeYSDftKwk8yTxCygzJyl3wBvQD4trGE1YZhhx6Ck43PcZaRd4S9a3SScJCIZxCgr3Cv6p+W2 HQ5tD9gn5aSitrzxqfzxh2zjQfEzYIRk4zv8IugR1aKekqjjYc/pyWM+t/GLlfSzER2NJhFrX dwd+5UpQw6lXA8r2vEDyq3JR/fY78FTvfl13kSdLnRd9UyUm6Cg8DF8c+pWjI0jF1e/O6+kfZ E5c4onPir4MCsT9Gz8O91bU2jdQ+XWyMWBmI+jpMtJFQAONLry6Wic2j4YX1IM4hAWA8RrgRe gOL3G2i59UvSpKUyPYxhss2jj1fhx/6Auo8w24D2fFTgX0dPNnbL97zBbz4J+ENhK4BNdfCkE b0XtUYu61JRcAZRPGqd1EskBFI+sXG28w== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72523 Cc: 72523@debbugs.gnu.org, jfbu 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: -1.0 (-) Hi! Yesterday Stefan Kangas wrote: > jfbu writes: > = >> Hi, >> = >> I could not find a bug tracker restricted to rst.el (reStructured Text = mode). I was told rst.el is now maintained as part of Emacs, not at [Docut= ils](https://sourceforge.net/projects/docutils/). >> = >> Here is my report: >> = >> Consider editing in Emacs a file `test.rst` and having typed so far >> = >> ~~~rest >> .. note:: >> :name: test >> ~~~ >> = >> then insert a blank line and hit the TAB key on next one. The cursor w= ill align with `test`, not with `:name:`. This is not a bug, it's a feature. You may hit TAB again to jump to the previous alignment point. You may repeat this to cycle through all alignment points. Regards Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 05:42:09 2024 Received: (at 72523) by debbugs.gnu.org; 10 Aug 2024 09:42:09 +0000 Received: from localhost ([127.0.0.1]:39094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scibw-0000Jv-Og for submit@debbugs.gnu.org; Sat, 10 Aug 2024 05:42:09 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:42570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scibu-0000Jm-Ge for 72523@debbugs.gnu.org; Sat, 10 Aug 2024 05:42:07 -0400 Received: from [172.20.10.4] (unknown [78.242.88.41]) (Authenticated sender: jfbu@free.fr) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 5B60F19F54D; Sat, 10 Aug 2024 11:41:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1723282896; bh=qcpUlSrYL0QrgjgOu2bphAoDBribAbnKPoGbecSBZzM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DdOBXQ+93LSlNADHvhUz7Ge1kRNGVDzIiP2D458WTBXZ26Pm/K5tVDhvCJ8tZHJM+ 9KJ13Mm7cevkk6y9E/5EJDnXrbcoaoHU5kImFhuj+JupC1H48XdYGv0PE+W9vHrkQN WybxcMPckdaunWiLiNeco/PFaoE/iEUsInYcpguAT0JvfS+gGr2wFqVTTnNXedt/NT rWxYxWTMlcl2xHMGgvcJ148b4zSHpUVCV1I2oEPSXXcEnDL0k5rVFq2DGkkOYCay4m LIad9Ym1UlFVn0HgD/k32ejgGRUWA8X5uczBB4LGchY/+syiRW5sXAnTia4otSHtNM F9JFVOAqatS7g== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: Re: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option From: jfbu In-Reply-To: <10640.1723279000@eskebo> Date: Sat, 10 Aug 2024 11:41:32 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0B473563-B2E8-4830-AA55-CFCF04C44A05@free.fr> References: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> <10640.1723279000@eskebo> To: Stefan Merten X-Mailer: Apple Mail (2.3445.9.7) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72523 Cc: 72523@debbugs.gnu.org, Stefan Kangas 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: -1.0 (-) Hello all, > Le 10 ao=C3=BBt 2024 =C3=A0 10:36, Stefan Merten = a =C3=A9crit : >=20 > Hi! >=20 > Yesterday Stefan Kangas wrote: >> jfbu writes: >>=20 >>> Hi, >>>=20 >>> I could not find a bug tracker restricted to rst.el (reStructured = Text mode). I was told rst.el is now maintained as part of Emacs, not at = [Docutils](https://sourceforge.net/projects/docutils/). >>>=20 >>> Here is my report: >>>=20 >>> Consider editing in Emacs a file `test.rst` and having typed so far >>>=20 >>> ~~~rest >>> .. note:: >>> :name: test >>> ~~~ >>>=20 >>> then insert a blank line and hit the TAB key on next one. The = cursor will align with `test`, not with `:name:`. >=20 > This is not a bug, it's a feature. >=20 > You may hit TAB again to jump to the previous alignment point. You may > repeat this to cycle through all alignment points. >=20 I did completely overlook that feature! Sorry about that... ~~~rest .. note:: :class: w ~~~=20 First TAB aligns with w, second one aligns with the "a" of class and "e" of note and third one is the one a priori most expected. Fourth one goes back to start of line. If the alignment points were cycled in reverse order from now, that would solve my use case ;-) Best, Jean-Fran=C3=A7ois >=20 > Regards >=20 > Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 04:35:35 2024 Received: (at 72523-done) by debbugs.gnu.org; 15 Aug 2024 08:35:35 +0000 Received: from localhost ([127.0.0.1]:48319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seVxH-0005nt-6O for submit@debbugs.gnu.org; Thu, 15 Aug 2024 04:35:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seVxF-0005nd-8q for 72523-done@debbugs.gnu.org; Thu, 15 Aug 2024 04:35:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seVwZ-0005mM-Mq; Thu, 15 Aug 2024 04:34:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=AaCEHHOHPMOZhYj6Qc8XDxd2k5d8sVy+FWFbEeOsgEM=; b=p0sHSHFgqrJ45PhX7Qnq 6T69Fn8mUQrtm0re/eTmuy22jmx1nloqg+kfSYjyDiNsK94a2YPkGssL77YqGG/ZV9XGS42gaIx5J e6Yyn5FrVoUNjPWGEANQEx4EgCMkpZk+TgP7dCXnx+Ch/XNqCZkRHhQKBhdMBMzLtce7W/j410p7p 9HyIxNEJOll7gH5OOtEQIZbOqnndS+qqpNZI73XjGSSvVfeNR9eFD+iyhb8rjEIwSkET0J92HjhCd KrmFKpw2e3POq5BeSGH0JsGkFaRGQETDFyM8HcRalds3kNoMsY3UGPudpCC6IFidJGp3O8ENK0cBg dpEw3dG92jv8yw==; Date: Thu, 15 Aug 2024 11:34:46 +0300 Message-Id: <86jzgi6v6h.fsf@gnu.org> From: Eli Zaretskii To: jfbu In-Reply-To: <0B473563-B2E8-4830-AA55-CFCF04C44A05@free.fr> (message from jfbu on Sat, 10 Aug 2024 11:41:32 +0200) Subject: Re: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option References: <8AE41FA1-FD5F-4457-B2DB-00FE7728A037@free.fr> <10640.1723279000@eskebo> <0B473563-B2E8-4830-AA55-CFCF04C44A05@free.fr> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72523-done Cc: stefan@merten-home.de, 72523-done@debbugs.gnu.org, stefankangas@gmail.com 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 (---) > Cc: 72523@debbugs.gnu.org, Stefan Kangas > From: jfbu > Date: Sat, 10 Aug 2024 11:41:32 +0200 > > Hello all, > > > Le 10 août 2024 à 10:36, Stefan Merten a écrit : > > > > Hi! > > > > Yesterday Stefan Kangas wrote: > >> jfbu writes: > >> > >>> Hi, > >>> > >>> I could not find a bug tracker restricted to rst.el (reStructured Text mode). I was told rst.el is now maintained as part of Emacs, not at [Docutils](https://sourceforge.net/projects/docutils/). > >>> > >>> Here is my report: > >>> > >>> Consider editing in Emacs a file `test.rst` and having typed so far > >>> > >>> ~~~rest > >>> .. note:: > >>> :name: test > >>> ~~~ > >>> > >>> then insert a blank line and hit the TAB key on next one. The cursor will align with `test`, not with `:name:`. > > > > This is not a bug, it's a feature. > > > > You may hit TAB again to jump to the previous alignment point. You may > > repeat this to cycle through all alignment points. > > > > I did completely overlook that feature! Sorry about that... > > ~~~rest > .. note:: > :class: w > ~~~ > > First TAB aligns with w, second one aligns with the "a" > of class and "e" of note and third one is the one a priori > most expected. Fourth one goes back to start of line. > > If the alignment points were cycled in reverse order from now, > that would solve my use case ;-) Thanks, so I'm now closing this bug. From unknown Sat Jun 21 12:30:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 12 Sep 2024 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator