GNU bug report logs - #60515
30.0.50; set-justification-center joins lines before centering

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 3 Jan 2023 13:21:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #11 received at 60515 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: 60515 <at> debbugs.gnu.org
Subject: Re: bug#60515: 30.0.50;
 set-justification-center joins lines before centering
Date: Tue, 03 Jan 2023 15:48:15 +0200
> From: Jean Louis <bugs <at> 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.




This bug report was last modified 2 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.