From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Cliff Heller Newsgroups: gmane.emacs.help Subject: [LISP] completion of partial buffer name Date: 07 Sep 2002 12:56:22 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031418374 7505 127.0.0.1 (7 Sep 2002 17:06:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Sep 2002 17:06:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17nj2C-0001wr-00 for ; Sat, 07 Sep 2002 19:06:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nj27-0006fo-00; Sat, 07 Sep 2002 13:06:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1031417782 6285 166.84.1.3 (7 Sep 2002 16:56:22 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sat, 7 Sep 2002 16:56:22 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Xref: nntp.stanford.edu gnu.emacs.help:104570 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1127 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1127 I'm trying to use elisp to write a function that will switch to a buffer of a certain type. But I only have the beginning of the name availalble. say for example: output1, output2, output3 but only one such buffer would exist at any time. How can I do a non interactive completion on substring "output" to get the full buffer name and switch to it? Thanks. -- "Letters may be used to construct words, phrases and sentences that may be deemed offensive." -Warning label on children's alphabet blocks