unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kevin A. Burton" <burton@newsmonster.org>
Subject: Possible to create minibuffer prompt with trailing text?
Date: Thu, 23 Sep 2004 13:34:22 -0700	[thread overview]
Message-ID: <4153334E.1040707@newsmonster.org> (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

                 reply	other threads:[~2004-09-23 20:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4153334E.1040707@newsmonster.org \
    --to=burton@newsmonster.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).