From: Romain Francoise <romain@orebokech.com>
To: emacs-devel@gnu.org
Cc: sorourke@cs.ucsd.edu, "Michaël Cadilhac" <michael@cadilhac.name>
Subject: Re: PC-do-completion weird behavior acronym expansion.
Date: Mon, 03 Sep 2007 13:52:00 +0200 [thread overview]
Message-ID: <87wsv87yqn.fsf@elegiac.orebokech.com> (raw)
In-Reply-To: <87odgzxkpk.fsf@lrde.org> ("Michaël Cadilhac"'s message of "Thu, 23 Aug 2007 00:34:15 +0200")
michael@cadilhac.name (Michaël Cadilhac) writes:
> The following change :
> 2007-08-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
> * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
> (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)
next prev parent reply other threads:[~2007-09-03 11:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 22:34 PC-do-completion weird behavior acronym expansion Michaël Cadilhac
2007-08-22 22:43 ` Sean O'Rourke
2007-08-25 21:24 ` Sean O'Rourke
2007-08-26 10:32 ` Michaël Cadilhac
2007-08-26 19:22 ` Michaël Cadilhac
2007-09-03 11:52 ` Romain Francoise [this message]
2007-09-06 4:51 ` Sean O'Rourke
2007-09-06 17:12 ` Romain Francoise
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsv87yqn.fsf@elegiac.orebokech.com \
--to=romain@orebokech.com \
--cc=emacs-devel@gnu.org \
--cc=michael@cadilhac.name \
--cc=sorourke@cs.ucsd.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.