GNU bug report logs -
#6933
24.0.50; fringe-mode value of `half' is broken
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 28 Aug 2010 00:18:01 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#6933: 24.0.50; fringe-mode value of `half' is broken
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 6933 <at> debbugs.gnu.org.
--
6933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6933
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Cc: <6933-done <at> debbugs.gnu.org>
> Date: Fri, 17 Sep 2010 15:25:59 -0700
>
> > I changed fringe.el to use (4 . 4). So this bug should be fixed now
> > (revno 101464).
>
> What about the confusing name `default' and the doc?
The original bug report was only about the effect of `half'.
Documentation is an unrelated issue.
> The doc string for the function `fringe-mode' mentions the rounding, but the doc
> string for the option (customization) does not mention it.
I added to the doc string of the defcustom a note about rounding.
> `default' probably should be renamed. It is not just a default: `half'
> presumably takes its meaning from the meaning of `default'. I suggested "full",
> "whole", or "maximal", but perhaps something even better can be found. The
> clearest doc about the fringe is the Elisp manual, and that refers to this as
> the "standard" width. That is better than `default'.
I don't see a good reason for renaming the symbolic values. Doing so
will surely cause back-compatibility issues, so IMO we need a really
good reason for such a change.
> "standard fringe width, which is the width needed to display the fringe bitmaps"
>
> That suggests that it is a function of the fringe bitmaps, not a constant width.
They are constant for the time being, but may change in the future,
e.g. if we lift the current restriction of the display engine that
limits window width to an integral multiple of the canonical character
size.
> But as I say, if `default' and `half' are, in their effect, just hard-coded
> numeric widths, then let's get rid of those value-menu and `interactive' spec
> choices. There is no need for a value of nil unless it actually does let the
> fringe be different in different contexts (e.g. bitmap size).
I don't think it's right to fix the choices on specific numbers.
Symbolic values allow us to change the underlying implementation in
the future without hurting compatibility. The fact that some of the
documentation describes the current implementation is not necessarily
a good reason to remove future extensibility.
> Can we settle this?
Feel free to submit a separate bug report. I'm not going to do
anything about this at this time, for the reasons stated above.
[Message part 3 (message/rfc822, inline)]
emacs -Q
M-x fringe-mode
Enter `half'.
The fringe values (both left and right) should each be 5, according to
the code and comments. Instead, it is still 8, as shown by
(frame-parameters). There is no difference in behavior between `half'
and `default'. Dunno whether this is Windows-specific.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-08-16 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
This bug report was last modified 14 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.