Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-08 Thread Hongyi Zhao
On Wed, May 3, 2023 at 6:30 PM Tassilo Horn wrote: > > Hongyi Zhao writes: > > >> > Really, that is the content intercepted by copyq [1] > >> > clipboard. What should I do tackling such key binding confliction? > > > > Very strange: even I've closed the copyq and other clipboard tools, I > >

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Tassilo Horn
Hongyi Zhao writes: >> > Really, that is the content intercepted by copyq [1] >> > clipboard. What should I do tackling such key binding confliction? > > Very strange: even I've closed the copyq and other clipboard tools, I > still can see the same stuff in vscode when hitting `Ctrl + ;`. I

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Hongyi Zhao
On Wed, May 3, 2023 at 4:34 PM Hongyi Zhao wrote: > > On Wed, May 3, 2023 at 4:26 PM Tassilo Horn wrote: > > > > Hongyi Zhao writes: > > > > >> That popup is not from emacs, isn't it? I guess you window manager > > >> captures the key so that emacs never sees it. You can test that > > >>

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Hongyi Zhao
On Wed, May 3, 2023 at 4:26 PM Tassilo Horn wrote: > > Hongyi Zhao writes: > > >> That popup is not from emacs, isn't it? I guess you window manager > >> captures the key so that emacs never sees it. You can test that > >> assumption by doing C-h k C-x C-;. If emacs doesn't react and tell >

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Tassilo Horn
Hongyi Zhao writes: >> That popup is not from emacs, isn't it? I guess you window manager >> captures the key so that emacs never sees it. You can test that >> assumption by doing C-h k C-x C-;. If emacs doesn't react and tell >> you what this key is bound to, then something captures it. > >

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Hongyi Zhao
On Wed, May 3, 2023 at 4:03 PM Tassilo Horn wrote: > > Hongyi Zhao writes: > > >> Use comment-line instead of comment-dwim. > > > > But when I try `C-x C-;`, the weird behavior is triggered, as shown in > > the attached file. > > That popup is not from emacs, isn't it? I guess you window

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-03 Thread Tassilo Horn
Hongyi Zhao writes: >> Use comment-line instead of comment-dwim. > > But when I try `C-x C-;`, the weird behavior is triggered, as shown in > the attached file. That popup is not from emacs, isn't it? I guess you window manager captures the key so that emacs never sees it. You can test that

Re: (Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-02 Thread Tassilo Horn
Hongyi Zhao writes: > I want to have the feature of (Un)comment a line or several lines with > markers at an arbitrary position(s) in/spanning this/these line(s). Use comment-line instead of comment-dwim. --8<---cut here---start->8--- C-x C-; runs the

(Un)comment line(s) with markers at arbitrary position(s) in this/these line.

2023-05-01 Thread Hongyi Zhao
Hi here, I want to have the feature of (Un)comment a line or several lines with markers at an arbitrary position(s) in/spanning this/these line(s). Say in the following example, `|` indicates the markers: \usepackage|[T1]{fontenc} \usepackage[utf8]{inputenc}| `C-c ;` gives the following: