Re: [dev] [st] How can I scroll up in emacs

2017-11-18 Thread Amos Bird
Thanks Eric. After I enable xterm-mouse-mode, it works fine now :) Cheers! Eric Pruitt writes: On Fri, Nov 17, 2017 at 10:39:10PM +0800, Amos Bird wrote: Mouse wheel events are translated to key presses. ^E and ^Y are for Vi/Vim/less. Change it in config.h to work with EMACS if you like.

Re: [dev] [st] How can I scroll up in emacs

2017-11-17 Thread Eric Pruitt
On Fri, Nov 17, 2017 at 10:39:10PM +0800, Amos Bird wrote: > Mouse wheel events are translated to key presses. ^E and ^Y are for > Vi/Vim/less. Change it in config.h to work with EMACS if you like. This is wrong. Applications that support the X11 TTY extensions are sent dedicated escape sequences

Re: [dev] [st] How can I scroll up in emacs

2017-11-17 Thread Amos Bird
Thanks! But how does scrolling work in tmux then? Alex Pilon writes: On Fri, Nov 17, 2017 at 10:39:10PM +0800, Amos Bird wrote: when using tmux inside st, I can scroll up using mouse wheel. However when inside emacs, I can only scroll down. From `C-h k` I saw it generates a `C-y` when I sc

Re: [dev] [st] How can I scroll up in emacs

2017-11-17 Thread Alex Pilon
On Fri, Nov 17, 2017 at 10:39:10PM +0800, Amos Bird wrote: > when using tmux inside st, I can scroll up using mouse wheel. However when > inside emacs, I can only scroll down. From `C-h k` I saw it generates a `C-y` > when I scroll up. So what's going wrong? Nothing. It's working as intended. Ther

[dev] [st] How can I scroll up in emacs

2017-11-17 Thread Amos Bird
Hi, when using tmux inside st, I can scroll up using mouse wheel. However when inside emacs, I can only scroll down. From `C-h k` I saw it generates a `C-y` when I scroll up. So what's going wrong? regards, -- Amos Bird amosb...@gmail.com