emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

  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:

  List information: https://www.orgmode.org/

* 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 \


* 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


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).