[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: search-forward in emacs23 lisp
From: |
rasmith |
Subject: |
Re: search-forward in emacs23 lisp |
Date: |
Sun, 28 Mar 2010 11:39:15 -0500 (CDT) |
From: rasmith@tamu.edu
Subject: search-forward in emacs23 lisp
Date: Sat, 27 Mar 2010 15:31:48 -0500 (CDT)
Sorry to reply to my own post, but the following rather ugly solution
solves the problem of finding a single FF byte:
(while (/= (char-after) ?\377)
(forward-char 1)
)
(forward-char 1)
This replaces
(search-forward (unibyte-string ?\377))
which, in emacs23, no matter what I do, insists on turning the byte
into the two-byte string \231\277 before searching.
But surely there's a better way?
Robin Smith
Department of Philosophy rasmith@tamu.edu
Texas A&M University http://aristotle.tamu.edu/~rasmith/
4237 TAMU Voice +1 979 845 5679
College Station, TX 77843-4237 FAX +1 979 845 0458
- search-forward in emacs23 lisp, rasmith, 2010/03/28
- Re: search-forward in emacs23 lisp,
rasmith <=
- Re: search-forward in emacs23 lisp, Lennart Borgman, 2010/03/28
- Re: search-forward in emacs23 lisp, rasmith, 2010/03/28
- Re: search-forward in emacs23 lisp, Lennart Borgman, 2010/03/28
- Re: search-forward in emacs23 lisp, rasmith, 2010/03/28
- Re: search-forward in emacs23 lisp, rasmith, 2010/03/28
- Re: search-forward in emacs23 lisp, Lennart Borgman, 2010/03/28
Re: search-forward in emacs23 lisp, Peter Dyballa, 2010/03/28
Re: search-forward in emacs23 lisp, Johan Bockgård, 2010/03/28