all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@deadspam.com>
Subject: Re: user sees \xxx but is thwarted from searching for them
Date: 18 Apr 2002 10:15:29 +0800	[thread overview]
Message-ID: <m2g01teoqm.fsf@jidanni.org> (raw)
In-Reply-To: vafsn5vycgc.fsf@lucy.cs.uni-dortmund.de

>>>>> "K" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

K> Then it is clear that Dan wants to search for buffer parts that
K> aren't in (representable) in the foo coding.  Right?

K> Dan?

[sniff] they referred to me by name.  it's almost like I exist
[sniff].  Sorry, I've been chasing the wild pig hunters of my land.

OK, my file would be a well behaved big5 chinese file except for a few
scattered characters that the author was using to represent some IPA
symbols.  My mission: no hunt them down and deal with them so that the
file can the be used with emacs.

what I probably should do is find a perl script that will replace any
characters outside the intended coding system of the file [which I
could tell it explicitly], "with ***\343\433 was here***" [ASCII]
which I could then deal with later in emacs.

Hmmm, this seems hard in perl, given big5's definition of
/[\x80-\xFE][\x40-\x7E\xA1-\xFE]/   also one should ignore any
[0x00-0x7F].

Indeed, how do the \xxx's get on my screen in the first place? well
C-x C-f is just going to make the whole file \xxx, so I do M-! cat
file, at least there I can see most of the chinese, and the \xxx's
stick out like a sore thumb.  but, what a drag it is that one can see
the \xxx's but cant search for them.  it almost makes one want to wrap
this emacs inside another emacs to be able to search for them [but a
screen at a time].

Anyway, I would just be searching in *Shell Command Output*, and still
have to navigate the now 100% \xxx source file.  So, my perl script
idea seems better.

By the way, apparently gnus asked me if I wanted to save Kai's name to
BBDB and I hit "y" or something.  Well, as Kai has that big B in his
name [=ss I think], and as I already had some big5 in my BBDB, well,
when it came time to save I was given the Spanish inquisition about
coding sets or something ... who knows, one false step here and your
file will become Coptic Egyptian or something.  So I want back and
switched the B for ss before saving.

By they way, does emacs require on to see octal codes on their screen
or can it live in a hex world yet?
-- 
http://jidanni.org/ Taiwan(04)25854780

  reply	other threads:[~2002-04-18  2:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-16  2:24 user sees \xxx but is thwarted from searching for them Dan Jacobson
2002-04-16  8:41 ` Eli Zaretskii
2002-04-16 10:55   ` Kai Großjohann
2002-04-16 11:57     ` Heinrich Rommerskirchen
2002-04-16 13:52       ` Kai Großjohann
2002-04-16 14:08       ` Eli Zaretskii
2002-04-16 14:41         ` Heinrich Rommerskirchen
2002-04-16 18:19           ` Eli Zaretskii
2002-04-17 16:04           ` Richard Stallman
2002-04-17 17:04             ` Stefan Monnier
2002-04-17 17:18             ` Eli Zaretskii
2002-04-16 12:21     ` Eli Zaretskii
2002-04-16 13:56       ` Kai Großjohann
2002-04-18  2:15         ` Dan Jacobson [this message]
2002-04-18  9:42           ` Kai Großjohann
2002-04-16 11:36   ` David Kastrup
2002-04-16 11:57     ` Kai Großjohann
2002-04-16 14:07       ` Eli Zaretskii
2002-04-16 12:32     ` 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

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

  git send-email \
    --in-reply-to=m2g01teoqm.fsf@jidanni.org \
    --to=jidanni@deadspam.com \
    --cc=jidanni@yam.com.tw \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.