unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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
  2008-12-26 10:05   ` bug#1662: marked as done (23.0.60; Interactive not using minibuffer prompt face) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ 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] 4+ messages in thread

* bug#1662: 23.0.60; Interactive not using minibuffer prompt face
  2008-12-21 21:43 ` bug#1662: 23.0.60; Interactive not using minibuffer prompt face Geoff Gole
@ 2008-12-23  7:59   ` martin rudalics
  2008-12-23 20:45     ` Stefan Monnier
  2008-12-26 10:05   ` bug#1662: marked as done (23.0.60; Interactive not using minibuffer prompt face) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: martin rudalics @ 2008-12-23  7:59 UTC (permalink / raw)
  To: 1662

 > 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.

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.

martin







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

* bug#1662: 23.0.60; Interactive not using minibuffer prompt face
  2008-12-23  7:59   ` martin rudalics
@ 2008-12-23 20:45     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-12-23 20:45 UTC (permalink / raw)
  To: martin rudalics; +Cc: 1662

>> 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.

> 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.

Yes, strictly speaking, this is true, but this is taking too literal
a point of view.  I agree with the OP that we should make those
operations try to behave similarly to minibuffer ones, wrt to
prompt faces.


        Stefan









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

* bug#1662: marked as done (23.0.60; Interactive not using  minibuffer prompt face)
  2008-12-21 21:43 ` bug#1662: 23.0.60; Interactive not using minibuffer prompt face Geoff Gole
  2008-12-23  7:59   ` martin rudalics
@ 2008-12-26 10:05   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2008-12-26 10:05 UTC (permalink / raw)
  To: martin rudalics

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


Your message dated Fri, 26 Dec 2008 10:55:35 +0100
with message-id <4954AA17.9080907@gmx.at>
and subject line Re: bug#1662: 23.0.60; Interactive not using minibuffer prompt face
has caused the Emacs bug report #1662,
regarding 23.0.60; Interactive not using minibuffer prompt face
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1662: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1662
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6338 bytes --]

[-- Attachment #2.1.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.1.2: Type: text/html, Size: 1723 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 1694 bytes --]

From: martin rudalics <rudalics@gmx.at>
Cc: 1662-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1662: 23.0.60; Interactive not using minibuffer prompt face
Date: Fri, 26 Dec 2008 10:55:35 +0100
Message-ID: <4954AA17.9080907@gmx.at>

Fixed as

	* callint.c (Fcall_interactively): For `c', `k', and `K' prompt
	in minibuffer-prompt face.  (Bug#1662)

Thanks for the report, martin.



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

end of thread, other threads:[~2008-12-26 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4954AA17.9080907@gmx.at>
2008-12-21 21:43 ` bug#1662: 23.0.60; Interactive not using minibuffer prompt face Geoff Gole
2008-12-23  7:59   ` martin rudalics
2008-12-23 20:45     ` Stefan Monnier
2008-12-26 10:05   ` bug#1662: marked as done (23.0.60; Interactive not using minibuffer prompt face) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).