bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fringe bugs and issues (and a couple display margin bugs)


From: Kim F. Storm
Subject: Re: fringe bugs and issues (and a couple display margin bugs)
Date: 24 Jan 2002 10:03:53 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

rms@gnu.org (Richard Stallman) writes:

>     But are we sure that the display margins will be mostly used for such
>     features?  Isn't it possible that someone will use them for other
>     features, where the current order would be more natural?
> 
> The intended purpose of display margins was to be used for marginal
> notes and images.  For that, it seems ok to have the fringes inside
> the display margins.  So perhaps that change is simply a good one.
> Does anyone see uses where it would be better to have the display
> margins outside the fringes?
> 
> Of course, most buffers don't have display margins--they are enabled
> only when you ask for them.

One problem here is that display margins are per-window while fringes
are per-frame.  If we want to swap the display margins and the fringes,
it would probably make sense to make fringes per-window too.

BTW, I noticed that the display margins are not persistent...
If I do:
        C-x 1
        M-: (set-window-margins nil 5 5)
        C-x b RET
        C-x b RET
the window margins of the first buffer are lost.

For example, if we imagine using the display margin to show some nice
icons in gud-mode (e.g. break-points), then I would see the display
margins as a requirement of the gud-mode buffer, rather than the
specific window in which it is shown.

So maybe there need to be a way to set display margins (and fringes)
persistently on a per-buffer basis.  

-- 
Kim F. Storm  http://www.cua.dk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]