GNU bug report logs -
#4469
23.1; visual-line-fringe-indicators w/ 80 column lines
Previous Next
Reported by: Reiner Steib <Reiner.Steib <at> gmx.de>
Date: Thu, 17 Sep 2009 20:55:04 UTC
Severity: wishlist
Tags: confirmed
Done: Eli Zaretskii <eliz <at> gnu.org>
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 4469 in the body.
You can then email your comments to 4469 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#4469
; Package
emacs
.
(Thu, 17 Sep 2009 20:55:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reiner Steib <Reiner.Steib <at> gmx.de>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 17 Sep 2009 20:55:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Consider the following file with line of exactly 80 columns:
$ cat 80columns
12345678901234567890123456789012345678901234567890123456789012345678901234567890
line 2...01234567890123456789012345678901234567890123456789012345678901234567890
line 3...01234567890123456789012345678901234567890123456789012345678901234567890
$ emacs-23-1 -geometry 80x10 -Q \
--eval "(setq visual-line-fringe-indicators
'(left-curly-arrow right-curly-arrow))" 80columns
The the buffer is displayed fine: Three lines that fit into 80 columns
displayed in 3 "visual lines".
[v-l-m-off.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Then do M-x visual-line-mode RET and get this: "visual line breaks"
are inserted. The buffer is displayed as 6 "visual lines".
[v-l-m-on.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
In fact, I now notice that setting visual-line-fringe-indicators is
irrelevant for the bug.
With ...
$ emacs-23-1 -geometry 80x10 -Q 80columns -f visual-line-mode
... I get:
[v-l-m-on-no-indicators.png (image/png, inline)]
[Message part 7 (text/plain, inline)]
As the lines fit into 80 columns, visual-line-mode should not insert
"visual line breaks".
In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
of 2009-07-30 on primula
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
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: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
visual-line-mode: t
transient-mark-mode: t
Recent input:
<help-echo> M-x v i s <tab> u <tab> <return> M-x r
e p o r t - e m a c s - b u g <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Visual-Line mode enabled
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
Added tag(s) confirmed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Sep 2011 08:39:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4469
; Package
emacs
.
(Sun, 18 Sep 2011 08:50:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 4469 <at> debbugs.gnu.org (full text, mbox):
Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
> As the lines fit into 80 columns, visual-line-mode should not insert
> "visual line breaks".
I can confirm that this issue is still in Emacs 24.
It seems like a simple off-by-one error to me. A line with 80 columns
in an 80-column wide Emacs gets a visual line break, while you'd expect
that to happen at 81 columns instead. Wouldn't you?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4469
; Package
emacs
.
(Sun, 18 Sep 2011 10:04:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 4469 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 18 Sep 2011 10:28:39 +0200
>
> It seems like a simple off-by-one error to me. A line with 80 columns
> in an 80-column wide Emacs gets a visual line break, while you'd expect
> that to happen at 81 columns instead. Wouldn't you?
It isn't an off-by-one. You want the overflow-newline-into-fringe
feature together with word-wrap, but this combination was never
implemented. I will try to see if it can be easily added, but don't
hold your breath.
If it isn't easy, we will have to mark it "wishlist" and leave it
alone for now.
Severity set to 'wishlist' from 'normal'
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Aug 2016 18:21:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4469
; Package
emacs
.
(Tue, 25 Mar 2025 12:29:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 4469 <at> debbugs.gnu.org (full text, mbox):
Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> Consider the following file with line of exactly 80 columns:
>
> $ cat 80columns
>
12345678901234567890123456789012345678901234567890123456789012345678901234567890
> line
2...01234567890123456789012345678901234567890123456789012345678901234567890
> line
3...01234567890123456789012345678901234567890123456789012345678901234567890
>
> $ emacs-23-1 -geometry 80x10 -Q \
> --eval "(setq visual-line-fringe-indicators
> '(left-curly-arrow right-curly-arrow))" 80columns
>
> The the buffer is displayed fine: Three lines that fit into 80 columns
> displayed in 3 "visual lines".
>
> x
>
>
> Then do M-x visual-line-mode RET and get this: "visual line breaks"
> are inserted. The buffer is displayed as 6 "visual lines".
>
> x
>
>
> In fact, I now notice that setting visual-line-fringe-indicators is
> irrelevant for the bug.
>
> With ...
>
> $ emacs-23-1 -geometry 80x10 -Q 80columns -f visual-line-mode
>
> ... I get:
>
> x
>
>
> As the lines fit into 80 columns, visual-line-mode should not insert
> "visual line breaks".
>
I can't reproduce this bug. I tried current master and emacs-27.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Tue, 25 Mar 2025 12:55:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Reiner Steib <Reiner.Steib <at> gmx.de>
:
bug acknowledged by developer.
(Tue, 25 Mar 2025 12:55:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 4469-done <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 25 Mar 2025 09:27:48 -0300
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
> From: Mauro Aranda <maurooaranda <at> gmail.com>
>
> Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
>
> > Please describe exactly what actions triggered the bug
> > and the precise symptoms of the bug:
> >
> > Consider the following file with line of exactly 80 columns:
> >
> > $ cat 80columns
> >
> 12345678901234567890123456789012345678901234567890123456789012345678901234567890
> > line
> 2...01234567890123456789012345678901234567890123456789012345678901234567890
> > line
> 3...01234567890123456789012345678901234567890123456789012345678901234567890
> >
> > $ emacs-23-1 -geometry 80x10 -Q \
> > --eval "(setq visual-line-fringe-indicators
> > '(left-curly-arrow right-curly-arrow))" 80columns
> >
> > The the buffer is displayed fine: Three lines that fit into 80 columns
> > displayed in 3 "visual lines".
> >
> > x
> >
> >
> > Then do M-x visual-line-mode RET and get this: "visual line breaks"
> > are inserted. The buffer is displayed as 6 "visual lines".
> >
> > x
> >
> >
> > In fact, I now notice that setting visual-line-fringe-indicators is
> > irrelevant for the bug.
> >
> > With ...
> >
> > $ emacs-23-1 -geometry 80x10 -Q 80columns -f visual-line-mode
> >
> > ... I get:
> >
> > x
> >
> >
> > As the lines fit into 80 columns, visual-line-mode should not insert
> > "visual line breaks".
> >
>
> I can't reproduce this bug. I tried current master and emacs-27.
This mis-feature (not a bug) was fixed in Emacs 25. Closing.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 23 Apr 2025 11:24:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.