From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: C-x RET r utf-8 RET
Date: Mon, 08 Dec 2014 10:00:02 +0100 [thread overview]
Message-ID: <87r3wa8qt8.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <87iohm1tnf.fsf@ericabrahamsen.net>
On 2014-12-08, at 08:35, Eric Abrahamsen wrote:
> [...] You could do that in a lambda, but
> it probably won't accept a non-interactive function, [...]
Out of curiosity: can't a lambda (in e.g. global-set-key) be made
interactive? I did this right now:
(global-set-key (kbd "C-z C-s") (lambda () (interactive) (message "It can be done!")))
and it seems to work. Is it going to change e.g. in future Emacs
versions, IOW, is it deprecated or something?
> Yours,
> Eric
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next prev parent reply other threads:[~2014-12-08 9:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 6:09 C-x RET r utf-8 RET Sharon Kimble
2014-12-08 7:35 ` Eric Abrahamsen
2014-12-08 9:00 ` Marcin Borkowski [this message]
2014-12-08 9:39 ` Eric Abrahamsen
2014-12-08 12:09 ` Marcin Borkowski
2014-12-08 13:34 ` Sharon Kimble
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3wa8qt8.fsf@wmi.amu.edu.pl \
--to=mbork@wmi.amu.edu.pl \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.