all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About `char' in momentary-string-display
@ 2013-10-17 13:06 Xue Fuqiao
  2013-10-17 13:17 ` Kevin Rodgers
  2013-10-17 20:12 ` Kai Großjohann
  0 siblings, 2 replies; 6+ messages in thread
From: Xue Fuqiao @ 2013-10-17 13:06 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

In (info "(elisp) Temporary Displays"):

 -- Function: momentary-string-display string position &optional char
          message
[...]
     Thus, typing CHAR will simply remove the string from the display,
     while typing (say) `C-f' will remove the string from the display
     and later (presumably) move point forward.  The argument CHAR is a
     space by default.

I tried evaluating ‘(momentary-string-display "foo" 1)’ in the *scratch*
buffer and typed ‘C-f’, but the point didn't move forward.  Instead, a
‘[6]’ is echoed in the *Messages* buffer.  I don't know what the ‘[6]’
stands for, but the codepoint for ^F is #x6 (ACK).  So I think there may
be a link between them.

But anyway, why didn't the point move forward (the point wasn't at eob)?
Can anyone point me in the right direction?

(I searched the archives, but didn't get anything that looked promising.)

-- 
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-18 22:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-10-18 22:19     ` Kai Großjohann

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.