all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Markus Triska <markus.triska@gmx.at>
Cc: 818@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <48BA5DC2.2090108@gmx.at> (raw)
In-Reply-To: <m1abetpwcu.fsf@v254-028.vps.tuwien.ac.at>

 >> 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







  reply	other threads:[~2008-08-31  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29 15:03 bug#818: 23.0.60; error when window-size-change-functions is a buffer-local hook Markus Triska
2008-08-30 14:16 ` martin rudalics
2008-08-31  5:49   ` Markus Triska
2008-08-31  9:00     ` martin rudalics [this message]
2008-09-01  8:58   ` Andreas Schwab
2008-09-01  9:15     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BA5DC2.2090108@gmx.at \
    --to=rudalics@gmx.at \
    --cc=818@emacsbugs.donarmstrong.com \
    --cc=markus.triska@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.