From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: replacing characters and whacky trans-buffer conversion Date: Thu, 08 Mar 2007 05:40:16 -0500 Message-ID: <45EFE810.8010009@speakeasy.net> 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=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173350477 9022 80.91.229.12 (8 Mar 2007 10:41:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 10:41:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 08 11:41:09 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 1HPG3Y-0007pU-SS for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 11:41:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPG3k-0005QI-Ee for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 05:41:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPG30-0005AW-Up for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 05:40:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPG2z-00059q-C3 for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 05:40:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPG2z-00059n-5b for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 05:40:33 -0500 Original-Received: from mail4.sea5.speakeasy.net ([69.17.117.6]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HPG2m-0003xj-JX for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 05:40:20 -0500 Original-Received: (qmail 28593 invoked from network); 8 Mar 2007 10:40:18 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Mar 2007 10:40:18 -0000 User-Agent: Thunderbird 2.0pre (X11/20070214) In-Reply-To: X-detected-kernel: 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:41787 Archived-At: On 03/08/2007 02:50 AM somebody named Stefan Monnier wrote: >> 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 ++++++++++++++++++++++++++++++++++++++++++++++ C-x C-f runs the command find-file which is an interactive compiled Lisp function in `files'. (find-file FILENAME &optional WILDCARDS) Edit file FILENAME. Switch to a buffer visiting file FILENAME, creating one if none already exists. Interactively, or if WILDCARDS is non-nil in a call from Lisp, expand wildcards (if any) and visit multiple files. Wildcard expansion can be suppressed by setting `find-file-wildcards'. ++++++++++++++++++++++++++++++++++++++++++++++ -- "Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds." -- Samuel Butler