GNU bug report logs -
#79136
[PATCH] Inhibit warning for missing lexbind cookie in kkc init file
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 02 Aug 2025 18:01:26 +0300
with message-id <868qk1rcmx.fsf <at> gnu.org>
and subject line Re: bug#79136: [PATCH] Inhibit warning for missing lexbind cookie in kkc init file
has caused the debbugs.gnu.org bug report #79136,
regarding [PATCH] Inhibit warning for missing lexbind cookie in kkc init file
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
79136: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79136
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi folks,
This change is to suppress a warning for a missing lexical-binding
cookie in the kkcrc file used by the Japanese input method. Emacs
generates this file, and AFAICT it is not meant to be edited by users.
To reproduce the warning:
1. mkdir /tmp/emacs-kkcrc
2. HOME=/tmp/emacs-kkcrc emacs
3. q > Dismiss the start screen
4. C-\ japanese RET
5. nihongo SPC RET > Enter some Japanese text
6. C-x C-c
7. Repeat steps 2-5
On the second iteration of step 5, you should seen a warning message
when Emacs loads the kkcrc file.
I looked at how this was handled elsewhere and made the attached patch.
Please let me know if anything else is required.
Thanks!
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
appkit-2575.70 Version 15.6 (Build 24G5065c)) of 2025-07-16 built on
beatrix.local
Repository revision: 087a11d1372d02bd45c1efbcf2fc7e5a98ddf1e5
Repository branch: spd-igc
Windowing system distributor 'Apple', version 10.3.2575
System Description: macOS 15.6
Configured using:
'configure --with-ns --with-modules --with-native-compilation
--with-libgmp --with-tree-sitter --with-sqlite3 --with-mps=yes
--without-imagemagick --without-dbus CPPFLAGS=-I/opt/homebrew/include
LDFLAGS=-L/opt/homebrew/lib PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig
ac_cv_func_posix_spawn_file_actions_addchdir=no'
[0001-Inhibit-warning-for-missing-lexbind-cookie-in-kkc-in.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
> From: Sean Devlin <spd <at> toadstyle.org>
> Date: Sat, 2 Aug 2025 09:03:53 -0500
> Cc: 79136 <at> debbugs.gnu.org
>
> I tried this patch, but there was an error reading the kkcrc file. The file-local
> property line is missing a comment at the beginning. See if the attached patch
> works. (I also split up the string formatting to make it more readable to me, but
> feel free to change it back if you prefer a single function call.)
Thanks, fixed the missing semicolons and installed the change on the
master branch.
I'm therefore closing the bug.
This bug report was last modified 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.