unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: Thomas Lynch <thomas.lynch@reasoningtechnology.com>
Cc: 22673@debbugs.gnu.org
Subject: bug#22673: 24.5; global set key neg freaks out emacs
Date: Mon, 15 Feb 2016 19:44:24 +1100	[thread overview]
Message-ID: <87wpq6s6qf.fsf@gmail.com> (raw)
In-Reply-To: <CAGxFmCOy0BGWBi8qipV57PHa18fUoW0hd6OFWkBPjdy18G070Q@mail.gmail.com>


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.





  reply	other threads:[~2016-02-15  8:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15  2:10 bug#22673: 24.5; global set key neg freaks out emacs Thomas Lynch
2016-02-15  8:44 ` Alexis [this message]
2016-02-15 10:20 ` Andreas Schwab
2016-02-15 12:42   ` Alexis
2016-02-15 13:03     ` Andreas Schwab
2016-02-15 13:24       ` Thomas Lynch
2018-06-06  0:02   ` Noam Postavsky
2018-06-06  7:39     ` Andreas Schwab
2022-01-29 16:59       ` bug#22673: execute-kbd-macro doesn't handle strings with characters in range (0x80..0xFF) correctly Lars Ingebrigtsen
2022-01-29 18:01         ` Thomas Walker Lynch via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpq6s6qf.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --cc=22673@debbugs.gnu.org \
    --cc=thomas.lynch@reasoningtechnology.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).