all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: 60515@debbugs.gnu.org
Subject: bug#60515: 30.0.50; set-justification-center joins lines before centering
Date: Tue, 03 Jan 2023 15:48:15 +0200	[thread overview]
Message-ID: <831qob20gw.fsf@gnu.org> (raw)
In-Reply-To: <86wn636g3x.fsf@protected.rcdrun.com> (message from Jean Louis on Tue, 03 Jan 2023 13:56:50 +0300)

> From: Jean Louis <bugs@gnu.support>
> Date: Tue, 03 Jan 2023 13:56:50 +0300
> 
> 
> When I have following lines in text-mode:
> 
> MY FIRST LINE
> SECOND LINE
> THIRD LINE
> 
> and do M-x set-justification-center
> 
> I get following unexpected circumstance:
> 
> 		 MY FIRST LINE SECOND LINE THIRD LINE
> 
> Description of the function does not say it is going to join lines. My
> expectation is not that it should join lines but center lines only.

The doc string says:

  Make paragraphs in the region centered.

A paragraph in Emacs is (by default) delimited by empty lines.  So the
above is a single paragraph, and the doc string seems to be correct
and accurate.





  parent reply	other threads:[~2023-01-03 13:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 10:56 bug#60515: 30.0.50; set-justification-center joins lines before centering Jean Louis
2023-01-03 13:40 ` Andreas Schwab
2023-01-03 13:54   ` Jean Louis
2023-01-03 13:48 ` Eli Zaretskii [this message]
2023-01-04 18:07   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831qob20gw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60515@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /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.