From: Eli Zaretskii <eliz@gnu.org>
To: jfbu <jfbu@free.fr>
Cc: stefan@merten-home.de, 72523-done@debbugs.gnu.org,
stefankangas@gmail.com
Subject: bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option
Date: Thu, 15 Aug 2024 11:34:46 +0300 [thread overview]
Message-ID: <86jzgi6v6h.fsf@gnu.org> (raw)
In-Reply-To: <0B473563-B2E8-4830-AA55-CFCF04C44A05@free.fr> (message from jfbu on Sat, 10 Aug 2024 11:41:32 +0200)
> Cc: 72523@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>
> From: jfbu <jfbu@free.fr>
> Date: Sat, 10 Aug 2024 11:41:32 +0200
>
> Hello all,
>
> > Le 10 août 2024 à 10:36, Stefan Merten <stefan@merten-home.de> a écrit :
> >
> > Hi!
> >
> > Yesterday Stefan Kangas wrote:
> >> jfbu <jfbu@free.fr> 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.
next prev parent reply other threads:[~2024-08-15 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 12:53 bug#72523: 28.1; rst.el: indentation from TAB key in rst mode (ReST) is wrong when directive as an option jfbu
2024-08-09 9:50 ` Stefan Kangas
2024-08-10 8:36 ` Stefan Merten
2024-08-10 9:41 ` jfbu
2024-08-15 8:34 ` Eli Zaretskii [this message]
2024-08-10 8:06 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86jzgi6v6h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72523-done@debbugs.gnu.org \
--cc=jfbu@free.fr \
--cc=stefan@merten-home.de \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.