Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-26 Thread Tim Cross
Ypo writes: > Thanks, Bruno > > I've debugged it manually because (keymap-lookup) doesn't seem to exist in my > emacs, if that's possible. > > The problem comes from: > > (define-key org-mode-map (kbd "C-u C-n") #'org-next-item) > > If I eval that line, "C-u C-SPC" stops working on org-mode.

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-26 Thread Ypo
Thanks, Bruno I will save your advice for future debugging :-) Maybe you could use the keys that are already defined by org, to move between list items ? ‘S-’ ‘S-’ Jump to the previous/next item in the current list, but only if ‘org-support-shift-select’ is

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-26 Thread Bruno Barbier
Ypo writes: > Thanks, Bruno > > I've debugged it manually because (keymap-lookup) doesn't seem to exist > in my emacs, if that's possible. Sorry, my bad. 'keymap-lookup' will only exist in 29. I should have used 'lookup-key': (lookup-key global-map (kbd "C-u")) > > The problem

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-26 Thread Ypo
Thanks, Bruno I've debugged it manually because (keymap-lookup) doesn't seem to exist in my emacs, if that's possible. The problem comes from: (define-key org-mode-map (kbd "C-u C-n") #'org-next-item) If I eval that line, "C-u C-SPC" stops working on org-mode. Same problem in runemacs -q.

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-25 Thread Bruno Barbier
Hi Ypo, Ypo writes: > Hi, Bruno > > Yes, I tried your assertion for bug-hunter, but it didn't work. > > (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) > (error "C-u has been redefined")) > I'm not sure in what way it didn't work and I didn't try bug-hunter yet.

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ihor Radchenko
Ypo writes: > elisp-bug-hunter sadly seems to have some bug, so I can't use it > interactively anymore. > > https://github.com/Malabarba/elisp-bug-hunter/issues/29 > > You are right, about the .org files though. I haven't seen any issues using M-x bug-hunter-init-file. I follow the procedure

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ypo
Hi Ihor. elisp-bug-hunter sadly seems to have some bug, so I can't use it interactively anymore. https://github.com/Malabarba/elisp-bug-hunter/issues/29 You are right, about the .org files though. Thanks El 25/06/2022 a las 2:53, Ihor Radchenko escribió: Ypo writes: Yes, I tried your

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ihor Radchenko
Ypo writes: > Yes, I tried your assertion for bug-hunter, but it didn't work. > > (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) > (error "C-u has been redefined")) You can also bisect interactively instead of using assertion. Note that your assertion is not expected

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ypo
Thanks, Greg. Yes, I wanted to jump to the mark with C-u C-SPC. Thanks El 24/06/2022 a las 18:06, Greg Minshall escribió: Ypo, fwiw, [C-h k C-SPC] has a paragraph that says With prefix argument (e.g., C-u C-SPC), jump to the mark, and set the mark from position popped off the local mark

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ypo
Hi, Bruno Yes, I tried your assertion for bug-hunter, but it didn't work. (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) (error "C-u has been redefined")) And you are right: In Emacs with -Q, C-u C-SPC works, but describe-key C-u C-SPC doesn't work. Probably, in

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Bruno Barbier
Ypo writes: > C-h k C-u C-SPC returns: > > C-u C-SPC is undefined In my emacs (28 and 29), with or without "-Q": C-h k C-u => (universal-argument) My emacs doesn't let me query: C-h k C-u C-SPC What about your question about debugging in the other thread ? Did you try what I

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Greg Minshall
Ypo, fwiw, [C-h k C-SPC] has a paragraph that says With prefix argument (e.g., C-u C-SPC), jump to the mark, and set the mark from position popped off the local mark ring (this does not affect the global mark ring). Use C-x C-@ to jump to a mark popped off the global mark ring (see

C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Ypo
Hi I have a weird problem that only happens in org-mode. I know very little, but I can't think how could this could be possible: C-SPC works, but C-u C-SPC doesn't work. In emacs -q it works as it should, though. C-h k C-SPC returns: C-SPC runs the command set-mark-command (found in