[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: occur-hook changing the current buffer
From: |
Juri Linkov |
Subject: |
Re: occur-hook changing the current buffer |
Date: |
Mon, 27 Jun 2005 02:22:38 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> I've moved the code that sets `buffer-read-only' and the
> buffer-modified flag to just before running `occur-hook'. This won't
> fix the problem Jason and I are reporting, but at least reduces the
> probability of someone losing data.
>
> Any fix of the problem, or better reorganization of `occur-1' , are of
> course welcome.
Perhaps this change should be documented in the `Incompatible
Lisp Changes in Emacs 22.1' in etc/NEWS. When users have hooks
that modify the contents of the *Occur* buffer then these hooks
will fail after the read-only flag was set on the *Occur* buffer.
A similar change made in compile.el a half year ago (that sets the
read-only flag before running `compilation-mode-hook') could be
mentioned in the same section of etc/NEWS too.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: occur-hook changing the current buffer, (continued)
- Re: occur-hook changing the current buffer, Emilio Lopes, 2005/06/23
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/23
- Re: occur-hook changing the current buffer, Jason Rumney, 2005/06/23
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/23
- Re: occur-hook changing the current buffer, Lute Kamstra, 2005/06/23
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/23
- Re: occur-hook changing the current buffer, Lute Kamstra, 2005/06/24
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/24
- Re: occur-hook changing the current buffer, Richard M. Stallman, 2005/06/23
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/23
- Re: occur-hook changing the current buffer,
Juri Linkov <=
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/27
- Re: occur-hook changing the current buffer, Richard M. Stallman, 2005/06/27
- Re: occur-hook changing the current buffer, Werner LEMBERG, 2005/06/27
- Re: occur-hook changing the current buffer, Juri Linkov, 2005/06/27
- Re: occur-hook changing the current buffer, Werner LEMBERG, 2005/06/28
- Re: occur-hook changing the current buffer, Richard M. Stallman, 2005/06/28
- Re: occur-hook changing the current buffer, Werner LEMBERG, 2005/06/29
- Re: occur-hook changing the current buffer, Richard M. Stallman, 2005/06/29
- Re: occur-hook changing the current buffer, Juanma Barranquero, 2005/06/22
Re: occur-hook changing the current buffer, Richard M. Stallman, 2005/06/22