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

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

[debbugs-tracker] bug#16932: closed (24.3; Fringe does not get correctly


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16932: closed (24.3; Fringe does not get correctly updated under very specific circumstances)
Date: Tue, 04 Mar 2014 11:08:03 +0000

Your message dated Tue, 04 Mar 2014 20:07:31 +0900
with message-id <address@hidden>
and subject line Re: bug#16932: 24.3; Fringe does not get correctly updated 
under very specific circumstances
has caused the debbugs.gnu.org bug report #16932,
regarding 24.3; Fringe does not get correctly updated under very specific 
circumstances
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16932: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16932
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; Fringe does not get correctly updated under very specific circumstances Date: Mon, 03 Mar 2014 22:08:52 +0100
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#16932: 24.3; Fringe does not get correctly updated under very specific circumstances Date: Tue, 04 Mar 2014 20:07:31 +0900 User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)
>>>>> On Tue, 04 Mar 2014 09:00:30 +0100, David Engster <address@hidden> said:

>>> 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
>> 
>> Thanks for narrowing this case down.  Could you try the following
>> patch?

> [...]

> Yes, that fixes it. Thank you!

Thanks for testing.  I've just installed the patch.

                                     YAMAMOTO Mitsuharu
                                address@hidden


--- End Message ---

reply via email to

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