From: Glenn Morris <rgm@gnu.org>
To: Leo <sdl.web@gmail.com>
Cc: 6027@debbugs.gnu.org
Subject: bug#6027: 23.1.96; negative arg to pcomplete-arg broken
Date: Mon, 11 Jul 2011 17:46:30 -0400 [thread overview]
Message-ID: <8gr55webih.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m1sk6lhyis.fsf@cam.ac.uk> (Leo's message of "Sat, 24 Apr 2010 12:37:31 +0100")
Leo wrote:
> Is pcomplete-arg broken? If the INDEX is negative, it always return nil
> (I examine this in a edebug process during which (pcomplete-arg 1)
> returns correct value). The body of the function does not seem to
> contain any code handling negative INDEX though the doc string however
> describes exact behaviour of negative INDEX.
Do you have an example of an actual problem? It basically does
(nth (- pcomplete-index index) pcomplete-args)
which looks fine to me. positive/negative indices are intepreted as
offsets to pcomplete-index, which is what the doc says.
next prev parent reply other threads:[~2011-07-11 21:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 11:37 bug#6027: 23.1.96; negative arg to pcomplete-arg broken Leo
2011-07-11 21:46 ` Glenn Morris [this message]
2011-07-12 4:33 ` Leo
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=8gr55webih.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=6027@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/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.