unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to automatically align to first word of previous line?
Date: Tue, 08 Mar 2022 22:14:10 -0500	[thread overview]
Message-ID: <jwvwnh3ddls.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: YigFvD9N6wP20pvt@protected.localdomain

Jean Louis [2022-03-09 04:41:16] wrote:
> * Stefan Monnier via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> [2022-03-09 01:08]:
>> > I see that TAB works, the text moves to first line, though is there
>> > any way in Emacs to automatically invoke such alignment?
>> What major mode are you using?
> Just fundamental I guess.

Then try something like `text-mode`, maybe try playing with
`paragraph-indent-minor-mode`, or `adaptive-fill-mode`.
You may also want to check the various `adaptive-fill-prefix` variables.
Oh, and GNU ELPA has `filladapt-mode` which could also be a way to
a solution.


        Stefan




  reply	other threads:[~2022-03-09  3:14 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 [this message]
2022-04-05 21:32 ` TRS-80
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=jwvwnh3ddls.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).