unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: TRS-80 <lists.trs-80@isnotmyreal.name>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to automatically align to first word of previous line?
Date: Wed, 15 Jun 2022 09:20:19 +0300	[thread overview]
Message-ID: <Yql6I5Lu8b/zBUaI@protected.localdomain> (raw)
In-Reply-To: <09feab5cc0190b2c532ebaf5ab8bb517@isnotmyreal.name>

* TRS-80 <lists.trs-80@isnotmyreal.name> [2022-04-06 00:33]:
> 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?

I still did not find specific solution for this.

I would like spaces in new lines to align to first word after ❰    ❱

What I need is similar to following condition:

       Somewhat indented text RET
       in the next line follows
       aligned to the first word

❰    ❱ Then in this line I would like that ❰    ❱
       is ignored so that next line get aligned
       to the first word in this paragraph "Then".
       
-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



      reply	other threads:[~2022-06-15  6:20 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
2022-06-15  6:20   ` Jean Louis [this message]

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=Yql6I5Lu8b/zBUaI@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lists.trs-80@isnotmyreal.name \
    /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).