all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs- devel <emacs-devel@gnu.org>
Subject: Re: crashes during Feval from within WINDOW_WANTS_HEADER_LINE_P
Date: Sun, 02 Mar 2008 00:46:46 -0500	[thread overview]
Message-ID: <jwv4pbpznl1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <76EEBC00-5E78-4BC8-8AE6-8D657F71E94E@gmail.com> (David Reitter's message of "Sat, 1 Mar 2008 12:03:37 +0000")

> I'm getting crashes after extending a macro.  I would appreciate your help.

> I have added to the WINDOW_WANTS_HEADER_LINE_P macro (dispextern.h)
> a function call to an elisp function whose name is stored in `window- 
> wants-header-line-function':

>       && (NILP(Vwindow_wants_header_line_function) ||                   \
> 	  !NILP (safe_call_win(Vwindow_wants_header_line_function, (W)))))

I'd be surprised if this macro is only used at places where it is safe
to run elisp code.  When doing such things, I highly recommend you run
with -DENABLE_CHECKING (which I don't guarantee will catch your
problem, but may).


        Stefan




      parent reply	other threads:[~2008-03-02  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 12:03 crashes during Feval from within WINDOW_WANTS_HEADER_LINE_P David Reitter
2008-03-01 20:58 ` Nick Roberts
2008-03-01 21:35   ` David Reitter
2008-03-02  7:53     ` Nick Roberts
2008-03-02  5:46 ` Stefan Monnier [this message]

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=jwv4pbpznl1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.