From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Santiago Mejia Newsgroups: gmane.emacs.help Subject: Re: recoding a buffer coding system Date: Sun, 16 Aug 2009 08:49:25 -0500 Message-ID: <87fxbr3m3e.fsf@uchicago.edu> References: <87zla29j5p.fsf@uchicago.edu> <833a7tk2hb.fsf@gnu.org> <87hbw9m9mb.fsf@uchicago.edu> <6F6305D2-A661-4DA3-A5BB-02EA10068BB5@Web.DE> <87ab204hl6.fsf@uchicago.edu> <2644E203-1D16-44C2-9999-B7357386CD49@Web.DE> <83r5vcih1o.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1250430611 27031 80.91.229.12 (16 Aug 2009 13:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 13:50:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 16 15:50:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mcg7X-0002Rj-Pk for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 15:50:04 +0200 Original-Received: from localhost ([127.0.0.1]:51033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcg7X-0000kh-8Z for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 09:50:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mcg7C-0000iQ-9t for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 09:49:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mcg77-0000dB-Pt for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 09:49:41 -0400 Original-Received: from [199.232.76.173] (port=46166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcg77-0000cz-LG for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 09:49:37 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:53278 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mcg77-0005m7-3v for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 09:49:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Mcg70-0000tI-Fk for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 13:49:30 +0000 Original-Received: from adsl-75-34-186-138.dsl.chcgil.sbcglobal.net ([75.34.186.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Aug 2009 13:49:30 +0000 Original-Received: from mejia by adsl-75-34-186-138.dsl.chcgil.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Aug 2009 13:49:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-75-34-186-138.dsl.chcgil.sbcglobal.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:dsrroNIWavzn1FFc6/63njOWvgc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67191 Archived-At: Eli Zaretskii writes: >> From: Peter Dyballa >> Date: Sun, 16 Aug 2009 04:55:48 +0200 >> Cc: help-gnu-emacs@gnu.org >> >> >> Am 16.08.2009 um 04:29 schrieb Santiago Mejia: >> >> > I just installed emacs 23.0.60.1 (the emacs23 that >> > comes with Ubuntu --called emacs-snapshot) and I find the same exact >> > result: I still see the same \303\274 character for ΓΌ when I call: >> >> >> Me too, in GNU Emacs 23.1.50. Maybe the function comes from a world >> of 7-bit US ASCII only... > > Sounds like a bug that should be reported. Probably there is a bug... however, there is something that emacs is doing right in the process of writing and re-opening the file. I tried debugging my program, by going step by step through the (write-file "foo") and (insert-file-contents "foo") functions, to see if I could figure out where was the conjuring trick done. However, I did not quite found it (that is why I appealed to the list). Any ideas as to what should I look for in debugging these functions? (perhaps what are the likely functions that emacs is using that I could hack from emacs itself, so as not to have to save and re-open?) Is my best bet to look at the (write-file "foo") or at (insert-file-contents "foo)? S.