unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Possible to create minibuffer prompt with trailing text?
@ 2004-09-23 20:34 Kevin A. Burton
  0 siblings, 0 replies; only message in thread
From: Kevin A. Burton @ 2004-09-23 20:34 UTC (permalink / raw)


I want to create a minibuffer prompt that looks like:

switch-to-buffer: [1/100] 'Main.java': Mai

                           ^^^^^^^^(1) ^^(2)

Where sections:

1. Is the current hit... In this case Main.java is the entry in a list.
2. "Mai" is the input text.

I want to extend the prompt to become:

switch-to-buffer: [1/100] 'Main.java': Mai    /projects/foo/src/java/foo/Main.java

                           ^^^^^^^^(1) ^^(2)  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^(3)

Where:

3: Is additional metainfo about this entry appended to the hit and with font-lock-comment-face so that 
its obvious that its just a hint

Does this make sense?  I should be able to do this with an overlay correct?

Kevin

-- 

Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
    
Kevin A. Burton, Location - San Francisco, CA
       AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412

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

only message in thread, other threads:[~2004-09-23 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-23 20:34 Possible to create minibuffer prompt with trailing text? Kevin A. Burton

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