From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: About `char' in momentary-string-display Date: Thu, 17 Oct 2013 21:06:39 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382015226 20753 80.91.229.3 (17 Oct 2013 13:07:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 13:07:06 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 17 15:07:11 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VWnI0-00067j-EI for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Oct 2013 15:06:56 +0200 Original-Received: from localhost ([::1]:52091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWnHz-0001Jo-Bj for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Oct 2013 09:06:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWnHn-0001I5-Ei for help-gnu-emacs@gnu.org; Thu, 17 Oct 2013 09:06:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWnHm-0001jE-2z for help-gnu-emacs@gnu.org; Thu, 17 Oct 2013 09:06:43 -0400 Original-Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:38248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWnHl-0001iP-Uv for help-gnu-emacs@gnu.org; Thu, 17 Oct 2013 09:06:42 -0400 Original-Received: by mail-ie0-f180.google.com with SMTP id e14so3829759iej.11 for ; Thu, 17 Oct 2013 06:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=T+gjuciGm92UJcKIwzunGA3GT+zEKdcjVWYp69wQEIk=; b=tJbjIQS/+b12/Usx4EcFz+aSEGHrSVyWxxNAeRUsq0rb0jD/N+4EKjVimQymxSHQWR CeFgBLocmmKqNZYuomwBbYHqyiyXTfxbRc79uwvW9KnInDhs09hiYU/GLmtRgOTYhfnf wC5yZ1453yK+QvMVrHrOJB0n63NnLYuySkx4jnrCexlvrGGXsSuC/TQ/ashRIvS5VJ/U L67GrJbRRiApmUNa/m/kt9nLz+CsDMvQLYCj3hYiBbmn31RMqZNDpDwi4qR3xZ+AyDfx bHwh3GKhmq0Tf3pQpgQQ0Uda4QTNxv0x0J3V7LPsQTkoVSYWS8FCz42qrq9PqIR3mK+g Vhhw== X-Received: by 10.50.85.114 with SMTP id g18mr6337174igz.15.1382015199451; Thu, 17 Oct 2013 06:06:39 -0700 (PDT) Original-Received: by 10.42.133.72 with HTTP; Thu, 17 Oct 2013 06:06:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94054 Archived-At: 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 =E2=80=98(momentary-string-display "foo" 1)=E2=80=99 in = the *scratch* buffer and typed =E2=80=98C-f=E2=80=99, but the point didn't move forward. = Instead, a =E2=80=98[6]=E2=80=99 is echoed in the *Messages* buffer. I don't know wha= t the =E2=80=98[6]=E2=80=99 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.) --=20 Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/