From: Xue Fuqiao <xfq.free@gmail.com>
To: "Kai Großjohann" <kai.grossjohann@gmx.net>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: About `char' in momentary-string-display
Date: Fri, 18 Oct 2013 15:51:25 +0800 [thread overview]
Message-ID: <CAAF+z6F7F0=_bwbPXn2WKQowUWz1g_1dSaRAvRyW_xmSwH3J=Q@mail.gmail.com> (raw)
In-Reply-To: <526044A6.80602@gmx.net>
On Fri, Oct 18, 2013 at 4:12 AM, Kai Großjohann <kai.grossjohann@gmx.net> wrote:
> Xue Fuqiao wrote:
>> I tried evaluating ‘(momentary-string-display "foo" 1)’ in the *scratch*
>> buffer and typed ‘C-f’, but point didn't move forward.
>
> I think it's related to evaluation in the *scratch* buffer. Try typing
> M-: and then eval the expession there -- it works as advertised.
>
> But how exactly the *scratch* buffer makes it fail, I'm not sure. I
> tried to eval (previous-line 3) in the scratch buffer, and it dutifully
> went up some lines before inserting "nil" (the return value).
Thanks. But in fact I didn't use eval-print-last-sexp (which is bound
to C-j in lisp-interaction-mode by default). I was using eval-last-sexp
(C-x C-e). I also tried ‘load’ and ‘eval-expression’, but neither of
them worked as I expected.
Maybe we are using different versions of Emacs? I'm using 24.3.50
(114635 eliz@gnu.org-20131012090021-bau450cmd6gk61ag) on Ubuntu 13.04.
--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/
next prev parent reply other threads:[~2013-10-18 7:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-17 13:06 About `char' in momentary-string-display Xue Fuqiao
2013-10-17 13:17 ` Kevin Rodgers
2013-10-18 7:44 ` Xue Fuqiao
2013-10-17 20:12 ` Kai Großjohann
2013-10-18 7:51 ` Xue Fuqiao [this message]
2013-10-18 22:19 ` Kai Großjohann
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='CAAF+z6F7F0=_bwbPXn2WKQowUWz1g_1dSaRAvRyW_xmSwH3J=Q@mail.gmail.com' \
--to=xfq.free@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kai.grossjohann@gmx.net \
/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.
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).