From: TRS-80 <lists.trs-80@isnotmyreal.name>
To: help-gnu-emacs@gnu.org
Subject: Re: How to automatically align to first word of previous line?
Date: Tue, 05 Apr 2022 17:32:46 -0400 [thread overview]
Message-ID: <09feab5cc0190b2c532ebaf5ab8bb517@isnotmyreal.name> (raw)
In-Reply-To: <courier.00000000622077E5.00005A08@stw1.rcdrun.com>
On 2022-03-03 03:11, Jean Louis wrote:
> I have this particular situation below, where I would like to avoid
> position (1) and rather get automatically into the position (2), where
> text after ❰ ❱ shall be automatically aligned in the second line to
> the begin of first word in the first line.
>
> Position 1:
>
> ❰ ❱ Next step is to report the school and abuses of children'
> rights to Ministry of Education.
>
>
> Position 2:
>
> ❰ ❱ Next step is to report the school and abuses of children'
> rights to Ministry of Education.
>
> I see that TAB works, the text moves to first line, though is there
> any way in Emacs to automatically invoke such alignment?
>
It looks to me like you want a list of check boxes? If so, Org Mode
will do this, and along with ~adaptive-wrap-prefix-mode~, will also soft
wrap the left side automatically.
Which reminds me, you did not specify if you wanted a 'hard' (inserting
actual spaces/tabs) or 'soft' (display only) wrapping. Most of other
solutions mentioned will give you the former. But maybe that's what you
want?
Cheers,
TRS-80
next prev parent reply other threads:[~2022-04-05 21:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-03 8:11 How to automatically align to first word of previous line? Jean Louis
2022-03-03 18:18 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-08 8:34 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2022-03-08 8:40 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2022-03-08 21:24 ` Jean Louis
2022-03-08 22:01 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-03-09 1:41 ` Jean Louis
2022-03-09 3:14 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-04-05 21:32 ` TRS-80 [this message]
2022-06-15 6:20 ` Jean Louis
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09feab5cc0190b2c532ebaf5ab8bb517@isnotmyreal.name \
--to=lists.trs-80@isnotmyreal.name \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).