From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: replacing characters and whacky trans-buffer conversion Date: Thu, 08 Mar 2007 20:51:23 -0500 Message-ID: References: <45ED8574.3040201@speakeasy.net> <45EF2512.9060200@speakeasy.net> <45EF28B8.2050905@speakeasy.net> <953CC6C7-14E6-4321-8899-665613380DC2@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173408041 22150 80.91.229.12 (9 Mar 2007 02:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2007 02:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 03:40:35 2007 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 1HPV21-0008NK-Rq for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 03:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPV2H-0005JS-M7 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 21:40:49 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.umontreal.ca!news.umontreal.ca.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 08 Mar 2007 19:51:23 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:Z7mgUpQ5MFJ8ybxeTuPmP55cwp4= Original-Lines: 15 Original-NNTP-Posting-Host: 132.204.27.213 Original-X-Trace: sv3-JcdVvQ+4JnlgvR/uhfn/d7ubZF69A7SS32hBNRb9csKbwC/6/SmWDFC55n9dnYqSsLftUt3szyG8R9r!T9f3iAoz6Bc67qwio9giBUKW2Ts3qU9nOJw5/jy4hZpRwdYLkq7fx4QC8FNQ8jwrygMP6Dn1GKwo!w34NEbLvo+1KfRLdJg== Original-X-Complaints-To: abuse@umontreal.ca X-DMCA-Complaints-To: abuse@umontreal.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Original-Xref: shelby.stanford.edu gnu.emacs.help:146217 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:41821 Archived-At: >>> The first buffer is a *scratch* buffer, the modeline starts "--:". The >>> second contains the *.el file mentioned in the original post; its >>> modeline begins "-:". >> >> For some reason this second buffer is in unibyte mode. >> That's the source of your problem. Tell us how you created that buffer. > C-x C-f Hmm, that doesn't say much. Tell us the value of C-h v default-enable-multibyte-characters. Also shows us the first few and last few lines of the file. Stefan