emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Bruno Barbier
Subject: Re: C-SPC works; C-u C-SPC doesn't. How could be?
Date: Sat, 25 Jun 2022 09:47:45 +0200

Hi Ypo,

Ypo <ypuntot@gmail.com> 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.


FWIW, just in case it might help you, when I have such a problem, I just
define a function, something like:

   (defun my-check-bug ()
     "Throw an error when C-u is not the universal argument in org-mode."
     (with-temp-buffer
       (org-mode)
       (unless (eq 'universal-argument (keymap-lookup global-map "C-u"))
         (error "C-u has been redefined"))))


Then I add:

   (my-check-bug)
   
everywhere in my init files and I start emacs with --debug-init.

Good luck,

Bruno





reply via email to

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