all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1662: 23.0.60; Interactive not using minibuffer prompt face
@ 2008-12-24  5:55 Geoff Gole
  2008-12-24 10:16 ` Lennart Borgman
  2008-12-24 10:22 ` martin rudalics
  0 siblings, 2 replies; 7+ messages in thread
From: Geoff Gole @ 2008-12-24  5:55 UTC (permalink / raw)
  To: martin rudalics, monnier, 1662

> Strictly spoken, this is not a bug.  "c" uses `read-char', "k" and "K"
> use `read-key-sequence' and, by specification, neither of these use the
> minibuffer.  So `minibuffer-prompt' doesn't apply here.

That makes sense. However, I do think that highlighting prompts in the
minibuffer is a good idea even in situations where the minibuffer is
not used directly.

Isearch in emacs 23 seems to do that, so there is some precedent.






^ permalink raw reply	[flat|nested] 7+ messages in thread
* bug#1662: 23.0.60; Interactive not using minibuffer prompt face
@ 2008-12-24 14:27 Geoff Gole
  0 siblings, 0 replies; 7+ messages in thread
From: Geoff Gole @ 2008-12-24 14:27 UTC (permalink / raw)
  To: martin rudalics, monnier, 1662

> Could you try the attached patch?

Thanks, that seems to fix it nicely.






^ permalink raw reply	[flat|nested] 7+ messages in thread
* bug#1662: 23.0.60; Interactive not using minibuffer prompt face
@ 2008-12-21 21:43 Geoff Gole
  2008-12-23  7:59 ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Geoff Gole @ 2008-12-21 21:43 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

The minibuffer prompt displayed by functions that use (interactive) is
usually
highlighted with the face `minibuffer-prompt'. However, interactive specs
"c",
"k" and "K" don't do this.

To reproduce:

  emacs -Q
  M-z

Running this function shows the difference more clearly:

  (defun example-prompt (&rest args)
    (interactive "sXXXX: \ncXXXX: \nkXXXX: \nKXXXX: ")
    (ignore args))

In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-22 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20081121-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000
-g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Also observed in GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d
scroll bars) of 2008-11-10 on raven, modified by Debian

[-- Attachment #2: Type: text/html, Size: 1723 bytes --]

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

end of thread, other threads:[~2008-12-24 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24  5:55 bug#1662: 23.0.60; Interactive not using minibuffer prompt face Geoff Gole
2008-12-24 10:16 ` Lennart Borgman
2008-12-24 10:22 ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2008-12-24 14:27 Geoff Gole
2008-12-21 21:43 Geoff Gole
2008-12-23  7:59 ` martin rudalics
2008-12-23 20:45   ` Stefan Monnier

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.