From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: search-forward in emacs23 lisp Date: Sun, 28 Mar 2010 23:45:26 +0200 Message-ID: References: <20100327.153148.886429907165788179.rasmith@aristotle.tamu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269812765 19744 80.91.229.12 (28 Mar 2010 21:46:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Mar 2010 21:46:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: rasmith@tamu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 28 23:45:59 2010 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.69) (envelope-from ) id 1Nw0It-0005nN-PN for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Mar 2010 23:45:56 +0200 Original-Received: from localhost ([127.0.0.1]:44354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nw0It-0001ec-Cj for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Mar 2010 17:45:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nw0IX-0001eX-BD for help-gnu-emacs@gnu.org; Sun, 28 Mar 2010 17:45:33 -0400 Original-Received: from [140.186.70.92] (port=41595 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nw0IV-0001eN-8X for help-gnu-emacs@gnu.org; Sun, 28 Mar 2010 17:45:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nw0IU-0004Ph-02 for help-gnu-emacs@gnu.org; Sun, 28 Mar 2010 17:45:31 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:40146) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nw0IT-0004PL-PX for help-gnu-emacs@gnu.org; Sun, 28 Mar 2010 17:45:29 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 48B71159A4558; Sun, 28 Mar 2010 23:45:28 +0200 (CEST) Original-Received: from [91.35.187.205] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #4) id 1Nw0IS-0007T0-00; Sun, 28 Mar 2010 23:45:28 +0200 In-Reply-To: <20100327.153148.886429907165788179.rasmith@aristotle.tamu.edu> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX192/lrctlcm7SXn5Q5UHlrTFBGUjEoy93zHkK1U JbIw/botKNlw0XveQ7ubdd9ROyxkw4rvSPP0u3qHTP1E7Khp3u k/5H38lQ0JKiXXSJR3zA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:72526 Archived-At: Am 27.03.2010 um 21:31 schrieb rasmith: > The behavior of the search-forward function in emacs-lisp has changed > in emacs23 in a way that breaks some scripts I use, in particular > cgreek-tlg.el from Naoto Takahashi's cgreek package. Maybe the problem is simply that, that the buffer is in UTF-8. Then is =20= makes really no sense to search for that byte because it does not =20 exist, like a quark (although baryons and mesons are built from them), =20= there only exists the two-byte word \xc3\xbf (standing for =FF, LATIN =20= SMALL LETTER Y WITH DIAERESIS). Clearly, you can't search what does =20 not exist =96 except you're Lancelot. Which coding is used in the buffer? Can you switch to a (raw) byte-=20 based encoding and test in this state? -- Greetings Pete I wouldn't recommend sex, drugs or insanity for everyone, but they've =20= always worked for me. =96 Hunter S. Thompson