GNU bug report logs - #4878
23.1; linum mode fails to work with Rmail correctly

Previous Next

Package: emacs;

Reported by: mark.lillibridge <at> hp.com

Date: Fri, 6 Nov 2009 06:55:12 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 4878-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Mark Lillibridge <mark.lillibridge <at> hp.com>
To: cyd <at> stupidchicken.com
Cc: 4878-done <at> debbugs.gnu.org
Subject: Re: 23.1; linum mode fails to work with Rmail correctly
Date: Sat, 7 Nov 2009 21:44:30 -0800
>  > Since I am guessing Rmail is not the only subsystem where one command
>  > alters a different buffer or only changes a restriction in a different
>  > buffer, linum should be fixed rather than Rmail.  The safest solution
>  > is probably to have linum-update-current just update all buffers.
>  > This strikes me as expensive if there are a lot of buffers, so maybe
>  > you can find a better solution.
>  
>  I think this is enough of a corner case that we can patch up Rmail to
>  call linum-update specially (we can reconsider if more such cases pop
>  up).  I've checked such a fix into CVS.

    Thanks for fixing the bug.  If you want to make the fix less
linum-specific, I suspect you could have Rmail call the
window-scroll-functions hook, which linum has a hook for.

- Mark





This bug report was last modified 15 years and 203 days ago.

Previous Next


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