GNU bug report logs -
#3336
fill-individual-paragraphs recently created bug
Previous Next
Reported by: Rory Mulvaney <rory1 <at> umbc.edu>
Date: Wed, 20 May 2009 11:45:04 UTC
Severity: normal
Tags: confirmed, unreproducible
Done: Andrew Hyatt <ahyatt <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3336 in the body.
You can then email your comments to 3336 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3336
; Package
emacs
.
(Wed, 20 May 2009 11:45:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rory Mulvaney <rory1 <at> umbc.edu>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 20 May 2009 11:45:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hello,
I use a system of indented note-taking where each separate note is a
paragraph with a hanging indent of 1 space, and the whole paragraph is
indented by some even number of spaces. I frequently use indent-rigidly
and fill-individual-paragraphs, in order to make the indentation right.
When I recently upgraded to emacs22 this year, a bug was introduced in
fill-individual-paragraphs, described here in a simple example:
In text fill mode with fill-column set at 78 (I think), repeat 12 blocks
of 1234567890 like so, properly filled with a hanging indent of 1 space:
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
Then select the region given by that paragraph and call indent-rigidly
with an argument of 4, to indent the whole thing, and then follow that up
with an invocation of fill-individual-paragraphs, with that paragraph
selected. In my upgraded emacs, that improperly fills the paragraph. If
the simpler command fill-paragraph is used on the paragraph, it works
correctly. Obviously I don't want to call fill-paragraph a bunch of times
when I want to fill many paragraphs at once, so this is a very annoying
bug. Fill-individual-paragraphs used to work correclty on the previous
version of emacs (emacs21, I think) for Debian stable.
Thanks for any help with this,
Rory Mulvaney
some settings from report-emacs-bug:
In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2008-11-09 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure '--build=i486-linux-gnu'
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim'
'--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Sat, 17 Sep 2011 06:20:04 GMT)
Full text and
rfc822 format available.
Message #8 received at 3336 <at> debbugs.gnu.org (full text, mbox):
Rory Mulvaney <rory1 <at> umbc.edu> writes:
> In text fill mode with fill-column set at 78 (I think), repeat 12
> blocks of 1234567890 like so, properly filled with a hanging indent of
> 1 space:
>
> 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
> 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
>
> Then select the region given by that paragraph and call indent-rigidly
> with an argument of 4, to indent the whole thing, and then follow that
> up with an invocation of fill-individual-paragraphs, with that
> paragraph selected. In my upgraded emacs, that improperly fills the
> paragraph. If the simpler command fill-paragraph is used on the
> paragraph, it works correctly.
So, you're saying that if you fill this:
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
Then you get this:
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890
1234567890
(Well, that's what I get when I follow your recipe.)
I don't think that's a bug, but perhaps I'm not seeing what you're
seeing?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Thu, 22 Sep 2011 06:29:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 3336 <at> debbugs.gnu.org (full text, mbox):
On Sat, 17 Sep 2011, Lars Magne Ingebrigtsen wrote:
> Rory Mulvaney <rory1 <at> umbc.edu> writes:
>
> > In text fill mode with fill-column set at 78 (I think), repeat 12
> > blocks of 1234567890 like so, properly filled with a hanging indent of
> > 1 space:
> >
> > 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
> > 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
> >
> > Then select the region given by that paragraph and call indent-rigidly
> > with an argument of 4, to indent the whole thing, and then follow that
> > up with an invocation of fill-individual-paragraphs, with that
> > paragraph selected. In my upgraded emacs, that improperly fills the
> > paragraph. If the simpler command fill-paragraph is used on the
> > paragraph, it works correctly.
>
> So, you're saying that if you fill this:
>
> 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
> 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
>
> Then you get this:
>
> 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
> 1234567890 1234567890 1234567890 1234567890 1234567890
> 1234567890
>
> (Well, that's what I get when I follow your recipe.)
>
> I don't think that's a bug, but perhaps I'm not seeing what you're
> seeing?
I think you just need to rigidly-indent it a little further before trying
fill-individual-paragraphs. First rigidly-indent it a little further
(like 4 or 6 spaces), and then there is a difference between the action of
fill-paragraph (works) and fill-individual-paragraphs (gives an odd
result).
Thanks and regards,
Rory
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Thu, 22 Sep 2011 07:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 3336 <at> debbugs.gnu.org (full text, mbox):
Rory Mulvaney <rory1 <at> umbc.edu> writes:
> I think you just need to rigidly-indent it a little further before trying
> fill-individual-paragraphs. First rigidly-indent it a little further
> (like 4 or 6 spaces), and then there is a difference between the action of
> fill-paragraph (works) and fill-individual-paragraphs (gives an odd
> result).
Can you give a precise test case that demonstrates this bug?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Thu, 22 Sep 2011 17:30:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 3336 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Highlight all the text and call M-x fill-individual-paragraphs on the
attached file. It ends up looking like:
1234567890 1234567890 1234567890 1234567890 1234567890
1234567890
1234567890 1234567890 1234567890 1234567890 1234567890
1234567890
Last works in Emacs 21.4, it seems.
[3336.txt (text/plain, inline)]
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Sat, 24 Sep 2011 01:18:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 3336 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, 22 Sep 2011, Lars Magne Ingebrigtsen wrote:
> Rory Mulvaney <rory1 <at> umbc.edu> writes:
>
> > I think you just need to rigidly-indent it a little further before
> > trying fill-individual-paragraphs. First rigidly-indent it a little
> > further (like 4 or 6 spaces), and then there is a difference between
> > the action of fill-paragraph (works) and fill-individual-paragraphs
> > (gives an odd result).
>
> Can you give a precise test case that demonstrates this bug?
>
Lars,
You are right that the way it was wrapped in my initial email (the wrap
column for the email program is less than 78) that the initial text was
not displaying correctly. Actually if it is first filled with the
fill-column set at 78, it appears as in the attached file text.txt
(because there is still more room on the first line for a 7th block).
Then, if you rigidly indent it 4 spaces by selecting it followed by C-u 4
M-x rigidly-indent, then fill it with fill-individual-paragraphs by
selecting it and M-x fill-individual-paragraphs, it gives the weird
result, in contrast to fill-paragraph.
I hope that clears it up,
Rory
[text.txt (text/plain, ATTACHMENT)]
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890
Added tag(s) confirmed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 25 Sep 2011 22:20:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Sun, 25 Sep 2011 22:24:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 3336 <at> debbugs.gnu.org (full text, mbox):
Rory Mulvaney <rory1 <at> umbc.edu> writes:
> Then, if you rigidly indent it 4 spaces by selecting it followed by C-u 4
> M-x rigidly-indent, then fill it with fill-individual-paragraphs by
> selecting it and M-x fill-individual-paragraphs, it gives the weird
> result, in contrast to fill-paragraph.
Yeah, I'm able to reproduce this bug in Emacs 24 now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3336
; Package
emacs
.
(Sun, 24 Jan 2016 16:21:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 3336 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> Rory Mulvaney <rory1 <at> umbc.edu> writes:
>
>> Then, if you rigidly indent it 4 spaces by selecting it followed by C-u 4
>> M-x rigidly-indent, then fill it with fill-individual-paragraphs by
>> selecting it and M-x fill-individual-paragraphs, it gives the weird
>> result, in contrast to fill-paragraph.
>
> Yeah, I'm able to reproduce this bug in Emacs 24 now.
Using Emacs 25 I'm not sure if I can reproduce it.
fill-individual-paragraphs and fill-paragraph fill the paragraph(s)
differently, but they seem to me to be behaving as described in the
documentation.
fill-paragraph treats the two lines as a single paragraph.
fill-individual-paragraphs treats the lines as two different paragraphs,
as described in the docs.
--
Alan Third
Severity set to 'serious' from 'normal'
Request was from
Andrew Hyatt <ahyatt <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Feb 2016 04:09:02 GMT)
Full text and
rfc822 format available.
Severity set to 'normal' from 'serious'
Request was from
Andrew Hyatt <ahyatt <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Feb 2016 04:09:02 GMT)
Full text and
rfc822 format available.
Added tag(s) unreproducible.
Request was from
Andrew Hyatt <ahyatt <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Feb 2016 04:09:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
3336 <at> debbugs.gnu.org and Rory Mulvaney <rory1 <at> umbc.edu>
Request was from
Andrew Hyatt <ahyatt <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Feb 2016 04:09:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 Mar 2016 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.