From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arnaldo Mandel Newsgroups: gmane.emacs.help Subject: Re: Why do I need to eval this? Date: Tue, 16 Jan 2007 10:00:48 -0200 Message-ID: <17836.48752.249049.39478@galena.ime.usp.br> References: <17835.53962.828333.510421@galena.ime.usp.br> NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1168948851 14570 80.91.229.12 (16 Jan 2007 12:00:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Jan 2007 12:00:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 16 13:00:47 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 1H6mzY-0002Ti-UE for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 13:00:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6mzZ-0006Oh-4l for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 07:00:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6mzJ-0006Nw-DN for help-gnu-emacs@gnu.org; Tue, 16 Jan 2007 07:00:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6mzH-0006Mo-Df for help-gnu-emacs@gnu.org; Tue, 16 Jan 2007 07:00:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6mzH-0006Mb-8S for help-gnu-emacs@gnu.org; Tue, 16 Jan 2007 07:00:23 -0500 Original-Received: from [143.107.45.59] (helo=birosca.ime.usp.br) by monty-python.gnu.org with smtp (Exim 4.52) id 1H6mzG-0003oC-1m for help-gnu-emacs@gnu.org; Tue, 16 Jan 2007 07:00:22 -0500 Original-Received: (qmail 2332 invoked from network); 16 Jan 2007 11:59:59 -0000 X-Mail-Scanner: Scanned by qSheff-II-2.1-r2 (http://www.enderunix.org/qsheff/) Original-Received: from galena.ime.usp.br (143.107.45.17) by birosca.ime.usp.br with QMQP; 16 Jan 2007 11:59:58 -0000 Original-To: help-gnu-emacs@gnu.org Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.03 under Emacs 21.2.2 Full-Name: Arnaldo Mandel 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:40356 Archived-At: Reiner Steib wrote (on Jan 15, 2007): > On Mon, Jan 15 2007, Arnaldo Mandel wrote: > > > Here is a short utility command that is useful to those writing > > Portuguese on US keyboards: > > What's wrong with `M-x set-input-method RET portuguese-prefix RET'? Unrelated; I am already using an adequate input-method. US keyboards have ` and ~ on the same key, ~ is shifted `. The key is in the NW corner, just below ESC. In order to get, say ã (a tilda), the input method I use requires one to key first a tilda, then a. It often happens that fingers stumble, and instead of Shift-`, just a ` is keyed, so, instead of ã (a tilda) one gets à (a grave). This occurs quite frequently. That little function helps correcting these errors afterwards, on a single swipe over the buffer, so that even when one notices that the error occurred, one does not need to break the typing to correct it. So, that gives the rationale for designing the function. However, even if there was no reason at all for it, the puzzle remains: when evaluated in a given session, it performs according to specification; when loaded, whether byte-compiled or not, it doesn't. am -- Arnaldo Mandel am@ime.usp.br