From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Kevin A. Burton" Newsgroups: gmane.emacs.devel Subject: Possible to create minibuffer prompt with trailing text? Date: Thu, 23 Sep 2004 13:34:22 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <4153334E.1040707@newsmonster.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095971715 30299 80.91.229.6 (23 Sep 2004 20:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 20:35:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 22:35:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAaIv-0000rS-00 for ; Thu, 23 Sep 2004 22:35:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAaOy-0007hp-1Y for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2004 16:41:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAaOr-0007hB-2y for emacs-devel@gnu.org; Thu, 23 Sep 2004 16:41:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAaOp-0007gm-S8 for emacs-devel@gnu.org; Thu, 23 Sep 2004 16:41:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAaOp-0007gQ-PV for emacs-devel@gnu.org; Thu, 23 Sep 2004 16:41:07 -0400 Original-Received: from [12.43.53.196] (helo=mail.sofari.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CAaIW-0007Jl-4H for emacs-devel@gnu.org; Thu, 23 Sep 2004 16:34:36 -0400 Original-Received: from [192.168.1.103] ([12.43.53.196]) by mail.sofari.com (8.12.11/8.12.3/Debian-6.6) with ESMTP id i8NKYW4j002138 for ; Thu, 23 Sep 2004 13:34:32 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27510 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27510 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