[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo weirdness with insert-file-contents
From: |
martin rudalics |
Subject: |
Re: undo weirdness with insert-file-contents |
Date: |
Thu, 28 Feb 2008 20:35:24 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
I define a "message-setup-hook" which for some reason has the unintended
side-effect of turning off undo in the result message-mode buffer
[buffer-undo-list has a value of t].
Here's a simpler example of the same thing (?):
Thanks for noting.
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02302.html
From: Bill Wohler
Subject: 23.0.60; Disabled undo
Date: Sat, 23 Feb 2008 22:07:26 -0800
Bill, please try whether the attached patch works.
*** fileio.c.~1.602.~ Thu Feb 14 20:41:44 2008
--- fileio.c Thu Feb 28 20:21:18 2008
***************
*** 4674,4680 ****
/* Save old undo list and don't record undo for decoding. */
old_undo = current_buffer->undo_list;
- current_buffer->undo_list = Qt;
if (NILP (replace))
{
--- 4674,4679 ----
- Re: undo weirdness with insert-file-contents, (continued)
- Re: undo weirdness with insert-file-contents, martin rudalics, 2008/02/28
- Re: undo weirdness with insert-file-contents, Miles Bader, 2008/02/28
- Re: undo weirdness with insert-file-contents, martin rudalics, 2008/02/28
- Re: undo weirdness with insert-file-contents, Stefan Monnier, 2008/02/28
- Re: undo weirdness with insert-file-contents, martin rudalics, 2008/02/28
- Re: undo weirdness with insert-file-contents, Miles Bader, 2008/02/28
- Re: undo weirdness with insert-file-contents, martin rudalics, 2008/02/28
- Re: undo weirdness with insert-file-contents, Stefan Monnier, 2008/02/28
- Re: undo weirdness with insert-file-contents, martin rudalics, 2008/02/28
Re: undo weirdness with insert-file-contents, Glenn Morris, 2008/02/28
- Re: undo weirdness with insert-file-contents,
martin rudalics <=
Re: undo weirdness with insert-file-contents, Bill Wohler, 2008/02/29