From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: PC-do-completion weird behavior acronym expansion. Date: Mon, 03 Sep 2007 13:52:00 +0200 Organization: orebokech dot com Message-ID: <87wsv87yqn.fsf@elegiac.orebokech.com> References: <87odgzxkpk.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188820381 12173 80.91.229.12 (3 Sep 2007 11:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 11:53:01 +0000 (UTC) Cc: sorourke@cs.ucsd.edu, =?iso-8859-1?Q?Micha=EBl?= Cadilhac To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 13:53:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISAUG-00033g-7Y for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 13:53:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISAUF-0000Q7-4R for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 07:52:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISATP-0008K6-9T for emacs-devel@gnu.org; Mon, 03 Sep 2007 07:52:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISATN-0008IL-0t for emacs-devel@gnu.org; Mon, 03 Sep 2007 07:52:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISATM-0008Hw-Dl for emacs-devel@gnu.org; Mon, 03 Sep 2007 07:52:04 -0400 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISATL-0000sl-S2 for emacs-devel@gnu.org; Mon, 03 Sep 2007 07:52:04 -0400 Original-Received: from elegiac.orebokech.com (unknown [192.168.1.7]) by yeast.orebokech.com (Postfix) with ESMTP id 2DF5C12CC5; Mon, 3 Sep 2007 13:52:01 +0200 (CEST) Original-Received: by elegiac.orebokech.com (Postfix, from userid 1000) id 00FB33B165; Mon, 3 Sep 2007 13:52:00 +0200 (CEST) X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Thu, 23 Aug 2007 00:34:15 +0200") X-Detected-Kernel: Genre and OS details not recognized. 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:77652 Archived-At: michael@cadilhac.name (Micha=EBl Cadilhac) writes: > The following change=A0: > 2007-08-07 Sean O'Rourke > * complete.el (PC-lisp-complete-symbol): Complete symbol around po= int. > (PC-do-completion): Add "acronym completion" for symbols and > filenames, so e.g. "mvbl" expands to "make-variable-buffer-local". > seems to introduce a little (but annoying) bug [...] It introduces another annoying bug: hitting TAB when the list of possible completions is empty signals an error. For example, if you do (completing-read "Foo: " nil) and hit TAB, you get: Debugger entered--Lisp error: (args-out-of-range "" 0 1) PC-do-completion(nil) PC-complete() call-interactively(PC-complete) completing-read("Foo: " nil) eval((completing-read "Foo: " nil)) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp)