GNU bug report logs - #77397
31.0.50; japanese-replace-region doesn't work

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77397: closed (31.0.50; japanese-replace-region doesn't work)
Date: Tue, 01 Apr 2025 02:59:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 01 Apr 2025 11:58:39 +0900
with message-id <b4mbjtgh9k0.fsf <at> jpl.org>
and subject line Re: bug#77397: 31.0.50; japanese-replace-region doesn't work
has caused the debbugs.gnu.org bug report #77397,
regarding 31.0.50; japanese-replace-region doesn't work
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77397: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77397
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: 31.0.50; japanese-replace-region doesn't work
Date: Mon, 31 Mar 2025 11:56:48 +0900
Hi,

On Sat, 29 Mar 2025 17:58:51 -0400, Stefan Monnier via Mailing list for Emacs changes wrote:
> branch: master
> commit a5126f79a163192947acb18a32e199c588be7c4a
> Merge: b98fe25c2ee 6bcf41c311b
> Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Commit: Stefan Monnier <monnier <at> iro.umontreal.ca>

>     Merge remote-tracking branch 'origin/scratch/replace-region-contents'
[...]
>  lisp/language/japan-util.el    |  43 +++++++-----

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:

(japanese-hankaku "アイウエオ")
 =>
Debugger entered--Lisp error: (wrong-type-argument (or string buffer vector) 65393)
  replace-region-contents(1 2 65393 0)
 [...]

Maybe changing `replace-region-contents' so to allow a character
as well, or wrapping the 3rd argument passed to
`replace-region-contents' with the `string' function in only
japan-util.el will be the solution.

Thanks.


[Message part 3 (message/rfc822, inline)]
From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77397-done <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#77397: 31.0.50; japanese-replace-region doesn't work
Date: Tue, 01 Apr 2025 11:58:39 +0900
On Mon, 31 Mar 2025 16:58:42 +0300, Eli Zaretskii wrote:
> Thanks, I installed a fix.

Thanks, that's TRT.


This bug report was last modified 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.