|
From: | Alexis |
Subject: | bug#22673: 24.5; global set key neg freaks out emacs |
Date: | Mon, 15 Feb 2016 19:44:24 +1100 |
User-agent: | mu4e 0.9.16; emacs 24.5.3 |
Thomas Lynch <thomas.lynch@reasoningtechnology.com> writes:
Evaluate the following (global-set-key (kbd "C-x g neg") "¬") Now use it, and instead of getting neg, you get the error:After 0 kbd macro iterations: user-error: No M-x tags-search or M-x tags-query-replace in progress
Are you wanting to use 'C-x g neg' to insert the symbol "¬" into the buffer? If so, you'll need to create a command for `global-set-key` to call, which does the insertion, e.g.
(global-set-key (kbd "C-x g neg")(lambda () (interactive) (insert "¬")))
If this is not what you're after, could you please explain further what you're trying to do?
Alexis.
[Prev in Thread] | Current Thread | [Next in Thread] |