GNU bug report logs - #10457
(Broken?) programmable completion in shell buffers

Previous Next

Package: emacs;

Reported by: Oleksandr Manzyuk <manzyuk <at> gmail.com>

Date: Sun, 8 Jan 2012 19:42:01 UTC

Severity: normal

Fixed in version 24.0.93

Done: Oleksandr Manzyuk <manzyuk <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #33 received at 10457 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Oleksandr Manzyuk <manzyuk <at> gmail.com>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 10457 <at> debbugs.gnu.org
Subject: Re: bug#10457: (Broken?) programmable completion in shell buffers
Date: Tue, 24 Jan 2012 13:12:59 -0500
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)





This bug report was last modified 13 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.