Issue82

classification
Title weirdness in with-temp-buffer
Type defect Module core code 21.5
Severity inconvenience Platform N/A
Keywords Nosy List aidan
explanation
process
These controls should only be changed by committers and tracker administrators.
Status assigned   Reason fixed
Superseder   Submitted 2007-12-10.09:38:42
Priority normal   Assigned To

Created on 2008-01-19.04:58:04 by stephen, last changed 2012-01-01.01:38:42 by aidan.

Messages
msg2396 [hidden] ([hidden]) Date: 2012-01-01.01:38:42
This is fixed, see
http://mid.gmane.org/20223.7965.212018.49660@parhasard.net and friends.
msg774 [hidden] ([hidden]) Date: 2008-07-10.11:57:26
I’ve also seen something related to this, I think. See the
comments in #'easy-menu-add, 

http://thread.gmane.org/gmane.emacs.xemacs.beta/21654/focus=21736

and the thread starting with

http://mid.gmane.org/17337.50619.323602.622218@parhasard.net

Happily it only seems to be relevant in code run immediately
after startup.
msg100 [hidden] ([hidden]) Date: 2008-01-19.04:58:04
  Message-ID: <87aboievod.fsf@uwakimon.sk.tsukuba.ac.jp>
In the process of producing the patch for the isearch crash recently
discussed, I produced a test of the form

(with-temp-buffer
  (execute-kbd-macro vector-of-keystrokes))

I saved it to a file, and ran xemacs -vanilla, then M-x load-file RET
search-crash.el RET, and XEmacs didn't crash.  The reason was that
instead of being executed in the temp buffer, it was executed in
*scratch*, which contained the usual leading comment, so the buffer
underrun didn't happen.

Is this expected behavior?

I'll try to remember to produce a real test case tomorrow, but I need
some sleep now....

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2012-01-01 01:38:42aidansetreason: fixed
messages: + msg2396
2008-07-10 11:57:26aidansetstatus: new -> assigned
assignedto: aidan
type: defect
severity: inconvenience
platform: + N/A
nosy: + aidan
messages: + msg774
module: + core code 21.5
priority: normal
2008-01-19 04:58:04stephencreate