unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: rasmith@tamu.edu
Cc: help-gnu-emacs@gnu.org
Subject: Re: search-forward in emacs23 lisp
Date: Sun, 28 Mar 2010 23:45:26 +0200	[thread overview]
Message-ID: <D80A206F-B9A7-4D0E-A801-3951A7549A09@Web.DE> (raw)
In-Reply-To: <20100327.153148.886429907165788179.rasmith@aristotle.tamu.edu>


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  
makes really no sense to search for that byte because it does not  
exist, like a quark (although baryons and mesons are built from them),  
there only exists the two-byte word \xc3\xbf (standing for ÿ, LATIN  
SMALL LETTER Y WITH DIAERESIS). Clearly, you can't search what does  
not exist – except you're Lancelot.

Which coding is used in the buffer? Can you switch to a (raw) byte- 
based encoding and test in this state?

--
Greetings

   Pete

I wouldn't recommend sex, drugs or insanity for everyone, but they've  
always worked for me.
				– Hunter S. Thompson





  parent reply	other threads:[~2010-03-28 21:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-27 20:31 search-forward in emacs23 lisp rasmith
2010-03-28 16:39 ` rasmith
2010-03-28 16:50   ` Lennart Borgman
2010-03-28 17:04     ` rasmith
2010-03-28 17:10       ` Lennart Borgman
2010-03-28 17:56         ` rasmith
2010-03-28 17:59         ` rasmith
2010-03-28 18:22           ` Lennart Borgman
2010-03-28 21:45 ` Peter Dyballa [this message]
2010-03-29  0:44   ` rasmith
2010-03-28 23:00 ` Johan Bockgård
2010-03-29  6:51   ` Eli Zaretskii
2010-03-29 15:01     ` rasmith
2010-03-29 15:17       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D80A206F-B9A7-4D0E-A801-3951A7549A09@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rasmith@tamu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).