all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bojohan+mail@dd.chalmers.se: Formatting `interactive' strings.]
@ 2006-10-18  5:12 Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2006-10-18  5:12 UTC (permalink / raw)


Can someone please fix this and ack?

------- Start of forwarded message -------
From: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: emacs-pretest-bug@gnu.org
Date: Tue, 17 Oct 2006 15:48:55 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: Formatting `interactive' strings.
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
	version=3.0.4

The doc for `interactive' claims that "prompts are passed to format".
This isn't quite true (it uses doprnt), and there are some problems:

* Number formatting is broken:

    (interactive "n\ns%d")  <-- C-x C-e 0 RET

        Instead of "0", some garbage number is used as a prompt for
        the second arg.

    (interactive "n\ns%f")  <-- C-x C-e 0 RET

        => error "Not enough arguments for format string"

    etc.

* %X isn't recognized. (Ditto for %i, but it's undocumented anyway.)

* The `#' flag isn't recognized.

- -- 
Johan Bockgård


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-18  5:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  5:12 [bojohan+mail@dd.chalmers.se: Formatting `interactive' strings.] Richard Stallman

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.