GNU bug report logs -
#15716
24.3.50; redisplay bug for display-table update
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 25 Oct 2013 15:05:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.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 15716 in the body.
You can then email your comments to 15716 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Fri, 25 Oct 2013 15:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 25 Oct 2013 15:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This seems to be a regression; I have never seen it before.
See attached screenshots, from the same session. The bad one (NG) was
taken after `C-l', which should have taken care of any redisplay
problem. The good one (OK) was taken after then iconifying (thumbifying,
actually) and then restoring the frame - that took care of the display
problem.
The part of the displayed buffer that got messed up is the result of
modifying the display table for character ^L - what looks like a sunken
line of text "Section (Printable Page)" is in fact just a ^L character.
The code that does this is here:
http://www.emacswiki.org/emacs-en/download/pp-c-l.el.
This is the part of the code that updates the display table:
(lambda (window)
(let ((display-table (or (window-display-table window)
(make-display-table))))
(aset display-table ?\014 (and pretty-control-l-mode
(pp^L-^L-display-table-entry window)))
(set-window-display-table window display-table)))
BTW/FWIW - I think I have also noticed, with this build (perhaps other
recent builds too?), the need to hit `C-l' more often. Until now I have
probably used `C-l' only a few times over the last decade or so - hasn't
been needed. (In the old days it was needed much more often.)
HTH.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-10-19 on LEG570
Bzr revision: 114715 rgm <at> gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
[throw-emacs-redisplay-bug-OK.png (image/png, attachment)]
[throw-emacs-redisplay-bug-NG.png (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Fri, 25 Oct 2013 15:28:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 15716 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 25 Oct 2013 08:04:14 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> See attached screenshots, from the same session. The bad one (NG) was
> taken after `C-l', which should have taken care of any redisplay
> problem.
`C-l' does not necessarily do a redisplay, at least not by default.
It did so in the past, but ceased to since Emacs 23.1, where `C-l' was
bound to 'recenter-top-bottom' instead of 'recenter'.
> The good one (OK) was taken after then iconifying (thumbifying,
> actually) and then restoring the frame - that took care of the display
> problem.
>
> The part of the displayed buffer that got messed up is the result of
> modifying the display table for character ^L - what looks like a sunken
> line of text "Section (Printable Page)" is in fact just a ^L character.
> The code that does this is here:
> http://www.emacswiki.org/emacs-en/download/pp-c-l.el.
>
> This is the part of the code that updates the display table:
>
> (lambda (window)
> (let ((display-table (or (window-display-table window)
> (make-display-table))))
> (aset display-table ?\014 (and pretty-control-l-mode
> (pp^L-^L-display-table-entry window)))
> (set-window-display-table window display-table)))
Emacswiki seems to be off-line. But unless you are saying that
turning on this feature _always_ results in garbled display, I will
need a recipe to reproduce the problem, or else it is impossible to
debug it.
> BTW/FWIW - I think I have also noticed, with this build (perhaps other
> recent builds too?), the need to hit `C-l' more often. Until now I have
> probably used `C-l' only a few times over the last decade or so - hasn't
> been needed. (In the old days it was needed much more often.)
You read too much into what `C-l' does. I recommend redraw-display,
if you want to force a thorough redisplay.
Anyway, all those situations should be reported, if they are
reproducible. You shouldn't need to force redisplay manually.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Fri, 25 Oct 2013 15:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 15716 <at> debbugs.gnu.org (full text, mbox):
> `C-l' does not necessarily do a redisplay, at least not by default.
> It did so in the past, but ceased to since Emacs 23.1, where `C-l'
> was bound to 'recenter-top-bottom' instead of 'recenter'.
OK. So the only bug is in the display, not in `C-l' not fixing the
problem.
> Emacswiki seems to be off-line.
It's back up. It was down for a few minutes. I reported it to the
wiki maintainer.
> But unless you are saying that
> turning on this feature _always_ results in garbled display, I will
> need a recipe to reproduce the problem, or else it is impossible to
> debug it.
No, this feature does not cause the problem. There is apparently a
display problem that occurred this one time. I was surprised, as I
said, because I have never seen it before. (And I mistakenly expected
`C-l' to fix it.) I do not have a recipe to repro it. I was hoping
that perhaps the description, wrt display-table modification, might
ring a bell wrt recent Emacs changes. If not, I guess there's nothing
you can do at this point.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Fri, 25 Oct 2013 18:23:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 15716 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 25 Oct 2013 08:53:15 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 15716 <at> debbugs.gnu.org
>
> > Emacswiki seems to be off-line.
>
> It's back up. It was down for a few minutes. I reported it to the
> wiki maintainer.
It seems to be down again.
> > But unless you are saying that
> > turning on this feature _always_ results in garbled display, I will
> > need a recipe to reproduce the problem, or else it is impossible to
> > debug it.
>
> No, this feature does not cause the problem. There is apparently a
> display problem that occurred this one time. I was surprised, as I
> said, because I have never seen it before. (And I mistakenly expected
> `C-l' to fix it.) I do not have a recipe to repro it. I was hoping
> that perhaps the description, wrt display-table modification, might
> ring a bell wrt recent Emacs changes. If not, I guess there's nothing
> you can do at this point.
I'll at least try to load the feature and see if I can reproduce the
garbled display.
When (if) it happens next, I suggest to "C-h l" and record both your
keystrokes and what you remember you were doing last. A list of major
mode and minor modes in effect in that buffer might also be important.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Fri, 25 Oct 2013 18:34:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 15716 <at> debbugs.gnu.org (full text, mbox):
> I'll at least try to load the feature and see if I can reproduce the
> garbled display.
OK, but I doubt that you will be able to. As I say, I have seen the
problem only once.
> When (if) it happens next, I suggest to "C-h l" and record both your
> keystrokes and what you remember you were doing last. A list of
> major mode and minor modes in effect in that buffer might also be
> important.
OK.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15716
; Package
emacs
.
(Sat, 26 Dec 2015 01:11:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 15716 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
>> I'll at least try to load the feature and see if I can reproduce the
>> garbled display.
>
> OK, but I doubt that you will be able to. As I say, I have seen the
> problem only once.
>
>> When (if) it happens next, I suggest to "C-h l" and record both your
>> keystrokes and what you remember you were doing last. A list of
>> major mode and minor modes in effect in that buffer might also be
>> important.
>
> OK.
Apparently this didn't happen the next two years, so I'm closing this
bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
15716 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 26 Dec 2015 01:11:02 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
.
(Sat, 23 Jan 2016 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.