In article <[EMAIL PROTECTED]>, Dan Jacobson <[EMAIL PROTECTED]> writes:

> Gentlemen, do
> $ touch aaa bbb 中文檔名
> $ emacs -Q -f ffap-bindings -f ffap-list-directory
> RET C-x o
> Now place the cursor on each filename and do C-x C-f and see what is
> shown in the minibuffer.

> Well, ffap knows about the ASCII filenames, but is unwilling to help
> with the Chinese UTF-8 filename.

It seems that this is because the variable
ffap-string-at-point-mode-alist doesn't contain a multibyte
character in CHARS.  Unfortunately, we don't have a handy
notation that represents all multibyte characters.

One way I can think of is to use negation as this:

Change
   (file "--:$+<>@-Z_a-z~*?" ...)
to
   (file "^\0-#%-),;=[-^`{-}\^?" ...)

Another way is to build a special syntax table (or a
category table) and use re-search-forward/backward instead
of skip-chars-forward/backward.

---
Kenichi Handa
[EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to