all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Kai Großjohann" <kai.grossjohann@gmx.net>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: About `char' in momentary-string-display
Date: Thu, 17 Oct 2013 22:12:22 +0200	[thread overview]
Message-ID: <526044A6.80602@gmx.net> (raw)
In-Reply-To: <CAAF+z6GCbPC3O6EobFy_JxYSE+C770NeoL7nt_2VAPHifpK03A@mail.gmail.com>

Xue Fuqiao wrote:
> I tried evaluating ‘(momentary-string-display "foo" 1)’ in the *scratch*
> buffer and typed ‘C-f’, but the 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).

Kai




  parent reply	other threads:[~2013-10-17 20:12 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 [this message]
2013-10-18  7:51   ` Xue Fuqiao
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

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

  git send-email \
    --in-reply-to=526044A6.80602@gmx.net \
    --to=kai.grossjohann@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xfq.free@gmail.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 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.