bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user sees \xxx but is thwarted from searching for them


From: Kai Großjohann
Subject: Re: user sees \xxx but is thwarted from searching for them
Date: Tue, 16 Apr 2002 12:55:12 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

eliz@is.elta.co.il (Eli Zaretskii) writes:

> On 16 Apr 2002, Dan Jacobson wrote:
>
>> Anyway, the user sees a \.  The user wants to hunt for a \.  The user
>> must have a Ph.D. to hunt for a \. 
>
> Not really.  `M-: (skip-chars-forward "\000-\177") RET' will do.  
> Wrapping this into a simple user command is left as an exercise for the 
> interested reader.

This command finds ä, too, even if it is displayed without \ on
screen.  I presume it will also find a lot of other nonascii
characters.

Suppose you have a file which is mostly in the foo encoding, but
contains some bytes that are invalid in that encoding.  I think this
is the situation Dan is talking about.  He wants to find the invalid
bytes, IIUC.

Maybe it helps to try to save the buffer to a file, and let Emacs
complain about the character that couldn't be encoded using the
current coding system.  But I'm not sure if that does the trick,
though.

kai
-- 
Silence is foo!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]