all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16932: 24.3; Fringe does not get correctly updated under very specific circumstances
@ 2014-03-03 21:08 David Engster
  2014-03-04  5:44 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 4+ messages in thread
From: David Engster @ 2014-03-03 21:08 UTC (permalink / raw)
  To: 16932

I noticed that sometimes icons in the fringe from previous buffers
remained visible when I switched buffers. It was quite difficult to
reproduce, but I finally noticed that it always happens when you switch
to(!) a buffer where

 - point is on a tabulator
 - there's an overlay on that tabulator until the end of the line
 - that overlay has a face property with the fringe's background color

Here's a recipe through which I can reliably reproduce this issue on
GNU/Linux with Emacs from today's trunk:

* Create a file, for instance "test.el", with the following contents:

  (setq-default indicate-buffer-boundaries 'left)

  (defface someface
    `((t (:background ,(face-background 'fringe))))
    "face with same background as fringe")

  (goto-char (point-min))
  (insert "\t\n")
  (setq ov (make-overlay (point-min)
                         (progn (goto-char (point-min)) (point-at-eol))))
  (overlay-put ov 'face 'someface)
  (switch-to-buffer (get-buffer-create "test"))
  (insert "\n\n\n\n")
  (redisplay t)
  (switch-to-buffer "*scratch*")

* Start emacs with

  emacs -Q -l test.el

* In the left fringe, you should see boundary indicators for the current
  scratch buffer as well as for the previously visible buffer 'test'.

-David





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

end of thread, other threads:[~2014-03-04 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 21:08 bug#16932: 24.3; Fringe does not get correctly updated under very specific circumstances David Engster
2014-03-04  5:44 ` YAMAMOTO Mitsuharu
2014-03-04  8:00   ` David Engster
2014-03-04 11:07     ` YAMAMOTO Mitsuharu

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.