From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: emacs refuses to save file in the same encoding it was read Date: 22 Oct 2003 12:14:37 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87u1617hxe.fsf@mail.jurta.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066814706 25368 80.91.224.253 (22 Oct 2003 09:25:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2003 09:25:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 22 11:25:02 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ACFEk-0001Li-00 for ; Wed, 22 Oct 2003 11:25:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ACFEk-0003uC-00 for ; Wed, 22 Oct 2003 11:25:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACF7C-0007dk-EN for emacs-devel@quimby.gnus.org; Wed, 22 Oct 2003 05:17:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ACF6x-0007dV-E4 for emacs-devel@gnu.org; Wed, 22 Oct 2003 05:16:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ACF6Q-0007a2-Fr for emacs-devel@gnu.org; Wed, 22 Oct 2003 05:16:57 -0400 Original-Received: from [64.246.52.232] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ACF6Q-0007Zx-4j for emacs-devel@gnu.org; Wed, 22 Oct 2003 05:16:26 -0400 Original-Received: from 80-235-32-176-dsl.mus.estpak.ee ([80.235.32.176] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1ACF6L-00037w-BU for emacs-devel@gnu.org; Wed, 22 Oct 2003 12:16:21 +0300 Original-To: emacs-devel@gnu.org In-Reply-To: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 15 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17318 Sam Steingold writes: > 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. -- http://www.jurta.org/emacs/