bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10457: (Broken?) programmable completion in shell buffers


From: Glenn Morris
Subject: bug#10457: (Broken?) programmable completion in shell buffers
Date: Tue, 24 Jan 2012 13:12:59 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]