From: Eli Zaretskii <eliz@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: mail@robertdallasgray.com, 12277@debbugs.gnu.org
Subject: bug#12277: 24.1.50; Graphical issues with linum-mode and fringe
Date: Sat, 08 Sep 2012 16:01:38 +0300 [thread overview]
Message-ID: <83bohghdn1.fsf@gnu.org> (raw)
In-Reply-To: <820087F3-E672-42AE-8B74-C6E48A3F88E2@swipnet.se>
> From: Jan Djärv <jan.h.d@swipnet.se>
> Date: Sat, 8 Sep 2012 14:22:39 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>,
> 12277@debbugs.gnu.org
>
> But I found a simpler way to reproduce the bug:
>
> ./emacs -Q
> M-x scroll-bar-mode (to turn off scrollbars).
> C-x 3
> M-x linum-mode
>
> Then double-click on a line to mark a word on that line. The redisplay engine will then redraw the whole line, but the black border between windows will be gone from that line and to the end of the window
Thanks, I can reproduce this here. Will take a look when I have time.
> why Emacs redisplays from the marked word to the end of the window I
> don't know, it does not seem efficient
Probably because the 'region' face can specify a different font,
which, if its size is significantly different from the default, could
require redrawing of more than one screen line. Perhaps it's possible
to invent optimizations that redraw less in at least some of the
cases, but no one has come up with such optimizations, and I'm not
sure it's worth our while. Each optimization adds to the complexity
of the display engine, so IMO we should only introduce new ones if the
normal redisplay is unbearably slow.
next prev parent reply other threads:[~2012-09-08 13:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 14:43 bug#12277: 24.1.50; Graphical issues with linum-mode and fringe Robert Dallas Gray
2012-08-25 19:01 ` Eli Zaretskii
2012-08-27 8:37 ` Robert Dallas Gray
2012-08-31 9:05 ` Eli Zaretskii
2012-09-03 10:38 ` Robert Dallas Gray
2012-09-08 12:22 ` Jan Djärv
2012-09-08 13:01 ` Eli Zaretskii [this message]
2012-09-09 18:02 ` Eli Zaretskii
2012-09-10 14:54 ` Jan Djärv
2012-09-10 16:29 ` Eli Zaretskii
2012-09-09 20:12 ` Eli Zaretskii
2012-09-10 14:55 ` Jan Djärv
2012-09-11 9:07 ` bug#12277: Thanks Robert Dallas Gray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83bohghdn1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=12277@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=mail@robertdallasgray.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.