bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65068: 29.1; xkb-interception interaction causes problems with key c


From: Alexander Prähauser
Subject: bug#65068: 29.1; xkb-interception interaction causes problems with key combinations
Date: Sat, 19 Aug 2023 15:35:32 +0200
User-agent: mu4e 1.10.5; emacs 28.2


After I couldn't resolve the keyboard issue I reinstalled an old binary version from the Arch archives but I've now downloaded the Emacs source files and tried to apply the patch in that local directory. However, I get the error
message:

[alex@Archlaptop emacs]$ git apply -
diff --git a/src/xterm.c b/src/xterm.c
index 6a1642ff56e..a199bae9f16 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23886,6 +23886,9 @@ handle_one_xevent (struct x_display_info *dpyinfo, if (!XkbTranslateKeyCode (dpyinfo->xkb_desc, keycode, xkb_state, &mods_rtrn, &keysym))
                    goto XI_OTHER;
+
+ fprintf (stderr, "keycode: %d, keysym: %d, %u\n", keycode,
+                          (int) keysym, state);
                }
              else
                {
error: patch failed: src/xterm.c:23886
error: src/xterm.c: patch does not apply

I tried again after compiling Emacs with make and got the same error. I didn't install that Emacs version though so not to overwrite my current one. If necessary I can install a source-compiled Emacs version on another system though, but I
wanted to ask before if that might be useful.

Po Lu [2023-08-17 Thu 12:41] wrote:

Alexander Prähauser <alexander.praehauser@gmx.at> writes:

It says

error: src/xterm.c: No such file or directory

I also can't find xterm.c on my system, though I have xterm installed.

Did you run that within the Git repository where your Emacs checkout
resides?

src/xterm.c is an Emacs source file.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]