GNU bug report logs - #7728
24.0.50; GDB backtrace from abort

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 24 Dec 2010 16:51:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

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: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7728 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#7728: 24.0.50; GDB backtrace from abort
Date: Fri, 14 Jan 2011 09:26:25 +0100
> No, as Martin mentioned, save-window-excursion is the macro to use if
> you want to write code that breaks in "odd" cases (sidenote:
> one-buffer-per-frame is one of those "odd" cases that tend to trigger
> bugs in code using save-window-excursion, so you probably "often" suffer
> from those things, like me).

`save-window-excursion' is the macro never to use.  It should be used
exclusively for debugging and prototyping.  Application programmers who
prefer to work with multiple frames themselves should know best and
avoid `save-window-excursion' like the plague.  At least in "released"
code.  Anything else is masochism.

martin




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

Previous Next


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