emacs-devel
[Top][All Lists]
Advanced

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

Redisplay bug in margin


From: Juanma Barranquero
Subject: Redisplay bug in margin
Date: Wed, 19 Sep 2007 13:16:10 +0200

While trying Markus Triska's linum.el, I've stumbled upon a redisplay
bug in the window margin.

I'm using

  GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600) of 2007-09-19 on JUANMAB

compiled with

  gcc (GCC) 3.4.5 (mingw special)

A simple way to see the bug:

----- .emacs -----
(require 'linum)   ;; a recent version

(setq linum-format
      (lambda (line)
        (propertize (format "%d" line) 'face 'linum)))

(setq confirm-kill-emacs 'y-or-n-p)
------------------

And then:

 emacs
 M-x linum-mode <RET>   ;; while on the Welcome screen
 C-x C-c

Strictly speaking, it is not required to set `linum-format', but it is
easier to see the bug that way.

             Juanma

Attachment: before.png
Description: PNG image

Attachment: after.png
Description: PNG image


reply via email to

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