Comments (8)
@benjaminor Ah sure, thanks for debugging with me. In the end I just resort to GUI emacs on local machine and tramp :)
from kkp.
Hi, according to the kitty documentation (https://sw.kovidgoyal.net/kitty/conf/#shortcut-kitty.Pass-selection-to-program), C-S-o
is caught by kitty itself and mapped to pass_selection_to_program
. With kitty, my emacs does not receive C-S-o
neither with or without kkp
. Using foot, C-S-o
is recognized with kkp
in emacs.
from kkp.
I see there is foot, that I could use. However, I did have clear_all_shortcuts
set to yes. And with C-S-o
not set to anything. I guess this may be a difficult case to get through.
from kkp.
Have you bound C-S-o
to a command?
With a vanilla emacs-28.2 with kkp
installed, kitty.conf only set to clear_all_shortcuts yes
and global-kkp-mode
activated,
M-x describe-key
recognizes C-S-o
:
- Without a custom command bound to
C-S-o
, it gives me the help page foropen-line
. - With a custom command bound to
C-S-o
, e.g.,(global-set-key (kbd "C-S-o) 'other-window)
, I get the help page forother-window
Furthermore, view-lossage
shows me ESC [ 1 1 1 : 7 9 ; 6 u
which is the keycode expression for C-S-o
.
What does your view-lossage
(C-h l
) show after pressing C-S-o
?
from kkp.
Hi benjaminor, thanks for the detailed instruction. First of all apology for C-s-o
, I meant S
for super, but it is shift. I have noticed this error just now.
I realized I have left out an important detail, all of the issue listed here are produced in an emacs session started in a ssh session run on kitty... This is important because the behavior is different in emacs in kitty and emacs in ssh session in kitty.... As I have just discovered.
Anyways...
C-s-o
(super) is not bounded to anything within my laptop Desktop Environment (I run ubuntu here).
Neither is it bounded to any interactive commands.
C-s-o
(super) is detected as u
with describe-key-briefly
in kitty ssh emacs.
view-lossage
also confirm as u
.
Key combination that shows up as the werid code is C-S-n
(control-shift-n), which shows as ESC [ 1 1 0 ; 6 u
.
Then I enabled global-kkp-mode
, the key code get inserted into the buffer I am currently editing (which is also its previous behavior...)
kkp-print-terminal-support
prints out KKP supported in this terminal
.
It is more convenient to have emacs running in the ssh session within kitty, but I can also work my ways around it. It is not the end of the world if this couldn't get fixed :)
Thanks, Inc0n
from kkp.
In my last comment, I mentioned terminal emacs in kitty and terminal emacs from an ssh session within kitty.
The behavior differs in how keys with super is registered properly or not... C-s-o
is u
in ssh, but a [ x x x ; x u
key code in normal emacs kitty session.
However, besides that it also is not working with kkp enabled ...
from kkp.
Sorry @Inc0n, I still cannot reproduce the issue.
When I ssh into my own device via localhost, and then execute describe-key
with C-s-o
, I get the message "C-s-o is undefined" and view-lossage
shows me ESC [ 1 1 1 ; 1 3 u
, which is how it should be.
Can you give me a recipe to reproduce the issue with a clean Emacs (only kkp installed)?
from kkp.
Closing due to inactivity. Feel free to reopen if issue persists!
from kkp.
Related Issues (10)
- when open emacs , another window display some message . HOT 5
- Issue about "key sequece" when open org file. HOT 5
- Issues with the delete key HOT 4
- Bracketed paste not working HOT 3
- Can not enable kkp enhancement in emacs running in ssh terminal mode HOT 14
- problems in zsh after suspending emacs HOT 2
- keys start with `C+q` does not work HOT 2
- Not working in TMUX, and questions about usage HOT 5
- `M-<backspace>` not working with Emacs and Kitty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kkp.