all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19334: 25.0.50; Display bug with zero width fringe
@ 2014-12-10  8:31 Helmut Eller
  2014-12-10 16:14 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Eller @ 2014-12-10  8:31 UTC (permalink / raw)
  To: 19334

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

When I start emacs with:

  emacs -Q -eval '(insert-char ?x 80)'

then, as expected, all the Xes are displayed in one line and the cursor
is displayed in the right fringe.

But when I start it with:

  emacs -Q -eval '(set-fringe-mode (cons 0 8))' -eval '(insert-char ?x 80)'

then two lines are used, the last column of the first line is empty, an
arrow appears in the right fringe, and the cursor is displayed in the
second column of the second line.  See attached screenshot.

The second case should be displayed almost like the first with all Xes
in one line.


[-- Attachment #2: screenshot.png --]
[-- Type: image/png, Size: 10855 bytes --]

[-- Attachment #3: Type: text/plain, Size: 447 bytes --]


In GNU Emacs 25.0.50.10 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2014-12-10 on ix
Repository revision: 99be75085cec471fa35a811bddaf09fe91fc3452
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux 7.1 (wheezy)

Configured using:
 `configure --with-jpeg=no --with-gif=no --with-tiff=no'

Configured features:
XPM PNG RSVG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT
ZLIB

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19334: 25.0.50; Display bug with zero width fringe
  2014-12-10  8:31 bug#19334: 25.0.50; Display bug with zero width fringe Helmut Eller
@ 2014-12-10 16:14 ` Eli Zaretskii
  2014-12-10 16:45   ` Helmut Eller
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2014-12-10 16:14 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 19334

> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Wed, 10 Dec 2014 09:31:37 +0100
> 
> When I start emacs with:
> 
>   emacs -Q -eval '(insert-char ?x 80)'
> 
> then, as expected, all the Xes are displayed in one line and the cursor
> is displayed in the right fringe.
> 
> But when I start it with:
> 
>   emacs -Q -eval '(set-fringe-mode (cons 0 8))' -eval '(insert-char ?x 80)'
> 
> then two lines are used, the last column of the first line is empty, an
> arrow appears in the right fringe, and the cursor is displayed in the
> second column of the second line.  See attached screenshot.

It's a feature: one column is reserved for R2L lines, which will have
to show the continuation glyph on the left, because there's no fringe
there.

If you don't like this, try this alternative:

  emacs -Q -eval '(set-fringe-mode (cons 1 8))' -eval '(insert-char ?x 80)'

That is, give Emacs 1-pixel fringe on the left.

Or enlarge the frame by one more column.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19334: 25.0.50; Display bug with zero width fringe
  2014-12-10 16:14 ` Eli Zaretskii
@ 2014-12-10 16:45   ` Helmut Eller
  2014-12-10 17:09     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Eller @ 2014-12-10 16:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 19334

On Wed, Dec 10 2014, Eli Zaretskii wrote:

>> then two lines are used, the last column of the first line is empty, an
>> arrow appears in the right fringe, and the cursor is displayed in the
>> second column of the second line.  See attached screenshot.
>
> It's a feature: one column is reserved for R2L lines, which will have
> to show the continuation glyph on the left, because there's no fringe
> there.

Apparently not a "pay as you go" feature as I never use R2L lines.

> If you don't like this, try this alternative:
>
>   emacs -Q -eval '(set-fringe-mode (cons 1 8))' -eval '(insert-char ?x 80)'

Not great but that'll do.

Helmut





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19334: 25.0.50; Display bug with zero width fringe
  2014-12-10 16:45   ` Helmut Eller
@ 2014-12-10 17:09     ` Eli Zaretskii
  2021-08-19 13:40       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2014-12-10 17:09 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 19334

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: 19334@debbugs.gnu.org
> Date: Wed, 10 Dec 2014 17:45:14 +0100
> 
> On Wed, Dec 10 2014, Eli Zaretskii wrote:
> 
> >> then two lines are used, the last column of the first line is empty, an
> >> arrow appears in the right fringe, and the cursor is displayed in the
> >> second column of the second line.  See attached screenshot.
> >
> > It's a feature: one column is reserved for R2L lines, which will have
> > to show the continuation glyph on the left, because there's no fringe
> > there.
> 
> Apparently not a "pay as you go" feature as I never use R2L lines.

Alas, we don't have a mechanism for adapting the geometry of screen
lines dynamically.  It is calculated when the display of a window
begins, and then used all the way until redisplay of that window is
completed.

If people are annoyed by this "payment", we could perhaps have a
defcustom that would disable the usurpation of that column, but then
people shouldn't complain if/when they see strange effects in R2L
lines (which can happen even if you don't expect them).





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19334: 25.0.50; Display bug with zero width fringe
  2014-12-10 17:09     ` Eli Zaretskii
@ 2021-08-19 13:40       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-19 13:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Helmut Eller, 19334

Eli Zaretskii <eliz@gnu.org> writes:

> If people are annoyed by this "payment", we could perhaps have a
> defcustom that would disable the usurpation of that column, but then
> people shouldn't complain if/when they see strange effects in R2L
> lines (which can happen even if you don't expect them).

I think the conclusion here was that this was working as designed, and
there doesn't seem to be much of a demand for allowing this to be
customised further, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-19 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  8:31 bug#19334: 25.0.50; Display bug with zero width fringe Helmut Eller
2014-12-10 16:14 ` Eli Zaretskii
2014-12-10 16:45   ` Helmut Eller
2014-12-10 17:09     ` Eli Zaretskii
2021-08-19 13:40       ` Lars Ingebrigtsen

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.