GNU bug report logs - #818
23.0.60; error when window-size-change-functions is a buffer-local hook

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Fri, 29 Aug 2008 15:10:04 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 818 <at> debbugs.gnu.org
Subject: bug#818: 23.0.60;	error when window-size-change-functions is a buffer-local hook
Date: Sun, 31 Aug 2008 11:00:50 +0200
>> Does the attached patch fix it?
>
> Yes, thank you. Once it is fixed in trunk, could you please apply the
> following patch to linum.el? Thank you!

I hopefully checked it in.  Please have a look.

> +        (add-hook 'window-size-change-functions 'linum-after-size nil t)

My fix only makes sure that Emacs does not issue an error when calling a
function in `window-size-change-functions' and one of these functions
was earlier added buffer-locally.  But I'm not sure whether this DTRT
when the value is buffer-local.  If it doesn't, we might have to fix it
as Stefan did for `window-configuration-change-hook' just with the frame
argument added.  Please have a look at this issue.  You might also want
to look at the thread "Wrong window end reported after splitting window"
on emacs-devel around the beginning of this year.

martin





This bug report was last modified 16 years and 265 days ago.

Previous Next


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