emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible to create minibuffer prompt with trailing text?


From: Kevin A. Burton
Subject: Possible to create minibuffer prompt with trailing text?
Date: Thu, 23 Sep 2004 13:34:22 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]