From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Bug in file name completion Date: Thu, 17 Nov 2005 20:15:36 +0900 Message-ID: References: <437A71C7.40209@student.lu.se> <437BB698.5050500@student.lu.se> <437C4735.7040200@student.lu.se> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132229938 21812 80.91.229.2 (17 Nov 2005 12:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2005 12:18:58 +0000 (UTC) Cc: Eli Zaretskii , Kenichi Handa , "Richard M. Stallman" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 17 13:18:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ecih9-0007NP-Pv for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2005 13:16:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ecih9-0004mB-6H for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2005 07:16:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Echjx-0008JC-7k for emacs-devel@gnu.org; Thu, 17 Nov 2005 06:15:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Echju-0008Gp-7X for emacs-devel@gnu.org; Thu, 17 Nov 2005 06:15:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Echjt-0008GJ-5X for emacs-devel@gnu.org; Thu, 17 Nov 2005 06:15:37 -0500 Original-Received: from [64.233.184.195] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Echjt-00039s-0A for emacs-devel@gnu.org; Thu, 17 Nov 2005 06:15:37 -0500 Original-Received: by wproxy.gmail.com with SMTP id 67so281444wri for ; Thu, 17 Nov 2005 03:15:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gOr76jmk2p8eTr/NKBqK3QWFXHvHvhWvS8pEE39VUD71pPxzr4wm6n2R60aW5lIcoMcgoK2ekY5pFpSyMHBMP68BrszlCLckf+kJkbLYvzXdCm4vtwDYA4YYg07DwI3+6CoOUFNUBnBAuAHuybhkj7wz63XiA1KHfuWsR+6IzNk= Original-Received: by 10.54.151.13 with SMTP id y13mr480150wrd; Thu, 17 Nov 2005 03:15:36 -0800 (PST) Original-Received: by 10.54.158.8 with HTTP; Thu, 17 Nov 2005 03:15:36 -0800 (PST) Original-To: Lennart Borgman In-Reply-To: Content-Disposition: inline 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46156 Archived-At: Actually, now that I think about it, I've decided I prefer Lennart's suggestion to the two I made -- I had been thinking about the "pattern" argument to the function as a "thing" to be matched, but Lennart's name emphasizes that it's really a bunch of alternatives. I think it would read well in source code too: (when (string-match-any name possible-names) ... do something ...) -miles -- Do not taunt Happy Fun Ball.