unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Oleksandr Manzyuk <manzyuk@gmail.com>
Cc: 10457@debbugs.gnu.org
Subject: bug#10457: (Broken?) programmable completion in shell buffers
Date: Tue, 24 Jan 2012 13:12:59 -0500	[thread overview]
Message-ID: <a21uqpt1ec.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAAwZTsSKpkr1AAUm+RapF2DRBZwgUR7D5UsakkZuOobh=cpCOg@mail.gmail.com> (Oleksandr Manzyuk's message of "Mon, 9 Jan 2012 20:20:55 +0000")


I installed a simple-minded solution that works for me.
Anyone should feel free to replace it with something better.

*** lisp/pcmpl-gnu.el	2012-01-19 07:21:25 +0000
--- lisp/pcmpl-gnu.el	2012-01-24 18:06:37 +0000
***************
*** 243,248 ****
--- 243,250 ----
                     "--volno-file=")))
            (pcomplete-opt "01234567ABCFGKLMNOPRSTUVWXZbcdfghiklmoprstuvwxz"))
          (cond
+          ((pcomplete-match "\\`-\\'" 0)
+           (pcomplete-here*))
           ((pcomplete-match "\\`--after-date=" 0)
            (pcomplete-here*))
           ((pcomplete-match "\\`--backup=" 0)






  reply	other threads:[~2012-01-24 18:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 19:40 bug#10457: (Broken?) programmable completion in shell buffers Oleksandr Manzyuk
2012-01-08 20:07 ` bug#10457: Oleksandr Manzyuk
2012-01-09  1:26 ` bug#10457: (Broken?) programmable completion in shell buffers Stefan Monnier
2012-01-09  5:56   ` Thierry Volpiatto
2012-01-09 11:17     ` Thierry Volpiatto
     [not found]     ` <mailman.1502.1326107965.15002.bug-gnu-emacs@gnu.org>
2012-01-10 23:27       ` manzyuk
2012-01-09 15:41   ` Oleksandr Manzyuk
2012-01-09 17:41     ` Oleksandr Manzyuk
2012-01-09 20:20       ` Oleksandr Manzyuk
2012-01-24 18:12         ` Glenn Morris [this message]
2012-01-24 18:14   ` Glenn Morris
2012-01-24 18:28     ` Oleksandr Manzyuk
2012-01-24 21:39       ` Glenn Morris
2012-01-24 22:29         ` Oleksandr Manzyuk

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a21uqpt1ec.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=10457@debbugs.gnu.org \
    --cc=manzyuk@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).