[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs refuses to save file in the same encoding it was read
From: |
Stefan Monnier |
Subject: |
Re: emacs refuses to save file in the same encoding it was read |
Date: |
22 Oct 2003 08:43:59 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> when I answer affirmatively, the file is saved, but a line
>> ;; -*- coding: iso-2022-7bit; -*-
>> is added in front of my cookie.
>>
>> what is going on?
> This line is added by the function `bbdb-write-file-hook-fn'.
> Up to now it was added to `local-write-file-hooks' locally only in
> the bbdb buffer. But now the value of `local-write-file-hooks'
> is set by the function `add-hook' globally, so this hook adds
> this line in the beginning of every saved buffer.
Since when dos it do that and why ?
Stefan
PS: If the hook should be modified locally, you should set the `local'
argument to a non-nil value.
- emacs refuses to save file in the same encoding it was read, Sam Steingold, 2003/10/10
- Re: emacs refuses to save file in the same encoding it was read, Kenichi Handa, 2003/10/13
- Re: emacs refuses to save file in the same encoding it was read, Juri Linkov, 2003/10/22
- Re: emacs refuses to save file in the same encoding it was read,
Stefan Monnier <=
- Re: emacs refuses to save file in the same encoding it was read, Richard Stallman, 2003/10/23
- Re: emacs refuses to save file in the same encoding it was read, Stefan Monnier, 2003/10/23
- Re: emacs refuses to save file in the same encoding it was read, Richard Stallman, 2003/10/24
- Re: emacs refuses to save file in the same encoding it was read, Stefan Monnier, 2003/10/24
- Re: emacs refuses to save file in the same encoding it was read, Richard Stallman, 2003/10/25
- Re: emacs refuses to save file in the same encoding it was read, Stefan Monnier, 2003/10/26
- Re: emacs refuses to save file in the same encoding it was read, Alan Shutko, 2003/10/23