[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hack-local-variables-confirm loops forever when running keyboard macro
From: |
Richard Stallman |
Subject: |
hack-local-variables-confirm loops forever when running keyboard macro |
Date: |
Sun, 21 Jan 2007 01:49:38 -0500 |
Would someone please fix this, then ack?
------- Start of forwarded message -------
Date: Fri, 19 Jan 2007 23:04:49 +0100
From: Chris Moore <address@hidden>
To: address@hidden, Chris Moore <address@hidden>
Cc:
Subject: hack-local-variables-confirm loops forever when running keyboard
macro
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed
version=3.0.4
1. ensure temp file doesn't exist
$ rm /tmp/file.txt
2. create a temp file with 'risky' local variable:
$ printf "# Local Variables:\n# eval: (put 'w 't 'f)\n# End:\n" >
/tmp/file.txt
3. run Emacs:
$ emacs -Q
4. visit the temp file. it will prompt for whether to run the risky
code:
C-x C-f /tmp/file.txt RET
5. answer that you don't want to run it:
n
6. start recording a macro:
C-x (
7. visit the risky temp file. it won't prompt this time, since the
file is already visited
C-x C-f /tmp/file.txt RET
8. stop recording the macro
C-x )
9. kill the temp file's buffer
C-x k RET
10. run the macro. Emacs will hang forever:
C-x e
In GNU Emacs 22.0.92.18 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-01-19 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--prefix' '/usr/local'
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''
_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
- hack-local-variables-confirm loops forever when running keyboard macro,
Richard Stallman <=