unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Sergei Gluschenko <gl.sergei@gmail.com>
Cc: 15151@debbugs.gnu.org, gl.sergei@googlemail.com
Subject: bug#15151:
Date: Sun, 03 Nov 2013 16:41:04 -0500	[thread overview]
Message-ID: <jwv4n7tcgim.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAJOhaYNDDrz6nr9L7YjndWd0t4jwHA-QQEfgW5fbpFxnn5-Ysg@mail.gmail.com> (Sergei Gluschenko's message of "Sun, 3 Nov 2013 21:07:34 +0700")

> (global-set-key (kbd "M-2") '(lambda() (interactive) (insert "@")))
> (global-set-key (kbd "M-3") '(lambda() (interactive) (insert "#")))
> (global-set-key (kbd "M-4") '(lambda() (interactive) (insert "$")))
> (global-set-key (kbd "M-5") '(lambda() (interactive) (insert "%")))
> (global-set-key (kbd "M-6") '(lambda() (interactive) (insert "^")))
> (global-set-key (kbd "M-7") '(lambda() (interactive) (insert "&")))
> (global-set-key (kbd "M-8") '(lambda() (interactive) (insert "*")))
> (global-set-key (kbd "M--") '(lambda() (interactive) (insert "—")))

[ Unrelated to the bug report itself, sorry.  ]

Please don't quote your lambdas.


        Stefan





  reply	other threads:[~2013-11-03 21:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  9:06 bug#15151: 24.3.50; flyspell-mode messes up input method Ashish SHUKLA
2013-08-25  2:28 ` Vladimir Lomov
2013-11-03 14:07 ` bug#15151: Sergei Gluschenko
2013-11-03 21:41   ` Stefan Monnier [this message]
2014-02-06  2:14 ` bug#15151: 24.3.50; flyspell-mode messes up input method Anton Nazarov
2021-09-06  9:59 ` Lars Ingebrigtsen
2021-09-06 12:42   ` Ashish via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-06 12:47     ` Lars Ingebrigtsen

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=jwv4n7tcgim.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15151@debbugs.gnu.org \
    --cc=gl.sergei@gmail.com \
    --cc=gl.sergei@googlemail.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).