GNU bug report logs - #1255
23.0.60; linum-mode: no update after text-scale-adjust

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sat, 25 Oct 2008 22:00:03 UTC

Severity: normal

Merged with 8379, 10960

Fixed in version 25.1

Done: Alan J Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Stefan Monnier" <monnier <at> iro.umontreal.ca>
Cc: 1255 <at> debbugs.gnu.org
Subject: bug#1255: 23.0.60; linum-mode: no update after text-scale-adjust
Date: Mon, 27 Oct 2008 11:08:15 +0100
On Mon, Oct 27, 2008 at 03:59, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

>> FWIW, the problem I pointed out is not linum's, but either a
>> limitation of the way text-scale-adjust is implemented, or a redisplay
>> bug. Linum just happens to be a good way to show it off.
>
> What makes you think so?

ELISP> (let ((ov (make-overlay (point) (point)))
             (str "01234"))
         (set-window-margins (selected-window) (length str))
         (overlay-put ov 'before-string (propertize " " 'display
`((margin left-margin) ,str)))
         nil)
nil
ELISP> (text-scale-increase 3)
t

And the "01234" text in the window margin is no longer entirely
visible. I.e., `set-window-margins' sets the margin width in
"character cells", and its pixel width does not vary when the
character size is increased by `text-scale-increaase' and friends.
This is unrelated to linum.el, AFAICS.

  Juanma




This bug report was last modified 9 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.