From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: etags and UTF-8 encoded file names (Re: ISO-8859-1 encoded file names and UTF-8)
Date: Wed, 2 Apr 2003 10:34:42 +0900 (JST) [thread overview]
Message-ID: <200304020134.KAA04167@etlken.m17n.org> (raw)
In-Reply-To: <shpto57wa4.fsf_-_@tux.gnu.franken.de> (message from Karl Eichwalder on Tue, 01 Apr 2003 23:17:07 +0200)
In article <shpto57wa4.fsf_-_@tux.gnu.franken.de>, Karl Eichwalder <keichwa@gmx.net> writes:
> Now the next one: `tags-query-replace' does not work properly when file
> names are UTF-8 encoded. First run `etags *' on the files and then
> call `tags-query-replace'.
This is the same type of bug (but more difficult) as what I
posted to emacs-devel by the subjest "bad interaction with
C-x RET c and vc-cvs-registered".
A tag file contains file names plus parts of source code.
The former must be decoded by file-name-coding-system, but
the latter must be decoded by the coding system of each
file. It's very hard to decided a coding system for the
latter without actually reading the file.
Perhaps, a tag file must be read as raw-text (thus in a
unibyte buffer), and if one gives a non-ASCII TAGNAME to
`find-tag', it must be encoded by the
buffer-file-coding-system of the current buffer.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2003-04-02 1:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-08 6:15 ISO-8859-1 encoded file names and UTF-8 Karl Eichwalder
2003-03-08 9:16 ` Eli Zaretskii
2003-03-08 10:05 ` Karl Eichwalder
2003-03-08 17:06 ` Eli Zaretskii
2003-03-08 18:25 ` Karl Eichwalder
2003-03-08 22:35 ` Eli Zaretskii
2003-03-09 4:38 ` Karl Eichwalder
2003-03-19 13:33 ` Kenichi Handa
2003-03-19 16:15 ` Karl Eichwalder
2003-03-19 23:52 ` Kenichi Handa
2003-03-20 17:32 ` Karl Eichwalder
2003-03-21 6:01 ` Kenichi Handa
2003-03-21 19:53 ` Karl Eichwalder
2003-03-21 19:06 ` Richard Stallman
2003-03-20 8:46 ` Richard Stallman
2003-03-20 9:11 ` Kenichi Handa
2003-03-23 2:52 ` Richard Stallman
2003-03-24 0:28 ` Kenichi Handa
2003-03-24 19:27 ` Richard Stallman
2003-03-26 4:47 ` Kenichi Handa
2003-04-01 21:17 ` etags and UTF-8 encoded file names (Re: ISO-8859-1 encoded file names and UTF-8) Karl Eichwalder
2003-04-02 1:34 ` Kenichi Handa [this message]
2003-04-02 19:26 ` Richard Stallman
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=200304020134.KAA04167@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).