GNU bug report logs - #12600
24.2.50; linum-mode: line numbers in fringe do not refresh when resizing frame

Previous Next

Package: emacs;

Reported by: Christoph Scholtes <cschol2112 <at> gmail.com>

Date: Sun, 7 Oct 2012 23:05:01 UTC

Severity: normal

Merged with 11496

Found in versions 24.1.50, 24.2.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 12600 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12600 <at> debbugs.gnu.org, cschol2112 <at> gmail.com
Subject: Re: bug#12600: 24.2.50;	linum-mode: line numbers in fringe do not
	refresh when resizing frame
Date: Wed, 10 Oct 2012 12:22:56 +0200
> When you reproduce the problem, do you see the code conditioned by the
> 'if' shown below being executed at all?

No.

> (Btw, it looks like linum-mode doesn't expect to get nil from
> window-end, although the doc string explicitly says it's possible.)

I suppose the doc-string is wrong since otherwise we should have seen
this already reported.  IIUC it returns either

      value = make_number (IT_CHARPOS (it));

or

    XSETINT (value, BUF_Z (b) - XFASTINT (w->window_end_pos));

while the nil reporting part was disabled.

>
>   if (! NILP (update)
>       && ! (! NILP (w->window_end_valid)
> 	    && w->last_modified >= BUF_MODIFF (b)
> 	    && w->last_overlay_modified >= BUF_OVERLAY_MODIFF (b))
>       && !noninteractive)

Is there anything that has not been set when the frame got resized?

martin




This bug report was last modified 12 years and 257 days ago.

Previous Next


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