GNU bug report logs -
#77397
31.0.50; japanese-replace-region doesn't work
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Mon, 31 Mar 2025 02:58:04 UTC
Severity: normal
Found in version 31.0.50
Done: Katsumi Yamaoka <yamaoka <at> jpl.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 77397 <at> debbugs.gnu.org (full text, mbox):
> Functions that use `replace-region-contents' in japan-util.el
> now do not work. Because the 3rd argument SOURCE passed to
> `replace-region-contents' may be a character, not a string, in
> most cases in japan-util.el. For instance:
Duh! Thanks, should be fixed now,
> Maybe changing `replace-region-contents' so to allow a character
> as well,
That would make sense for a more primitive `replace-region`, but
I'd rather not add that to the fancier `replace-region-contents` where
that char could end up turned into a (temp) buffer.
> or wrapping the 3rd argument passed to `replace-region-contents' with
> the `string' function in only japan-util.el will be the solution.
That's what I did.
Oh, wait I see Eli beat me to it (and with the exact same patch to boot!).
Stefan
This bug report was last modified 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.