From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.bugs Subject: Re: user sees \xxx but is thwarted from searching for them Date: Tue, 16 Apr 2002 12:55:12 +0200 Organization: University of Dortmund, Germany Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1018954630 4444 127.0.0.1 (16 Apr 2002 10:57:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2002 10:57:10 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16xQe5-00019Y-00 for ; Tue, 16 Apr 2002 12:57:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16xQeA-00056j-00; Tue, 16 Apr 2002 06:57:14 -0400 Original-Received: from chx400.switch.ch ([130.59.10.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16xQcG-00052S-00 for ; Tue, 16 Apr 2002 06:55:16 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 16xQcF-0001hp-00 for gnu-emacs-bug@moderators.isc.org; Tue, 16 Apr 2002 12:55:15 +0200 Original-Received: from fbi-news.cs.uni-dortmund.de (fbi-news [129.217.4.45]) by waldorf.cs.uni-dortmund.de with ESMTP id g3GAtEb26862 for ; Tue, 16 Apr 2002 12:55:14 +0200 (MES) Original-Received: (news@localhost) by fbi-news.cs.uni-dortmund.de id g3GAtDf03631; Tue, 16 Apr 2002 12:55:13 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 28 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:jWfzvLIiHDAMlmkY8IhtbhgiMy4= Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:698 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:698 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!