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

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

bug#13293: 24.2.91; eshell completion cycles fail in pre-test


From: Glenn Morris
Subject: bug#13293: 24.2.91; eshell completion cycles fail in pre-test
Date: Sun, 30 Dec 2012 14:04:14 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Glenn Morris wrote:

> Looks like we need to add eshell-pcomplete to the list in the function
> pcomplete:
>
> (memq last-command '(pcomplete
>                      pcomplete-expand-and-complete
>                      pcomplete-reverse))

Or maybe this:

*** lisp/eshell/em-cmpl.el      2012-11-19 19:22:07 +0000
--- lisp/eshell/em-cmpl.el      2012-12-30 19:02:48 +0000
***************
*** 454,461 ****
  (defun eshell-pcomplete ()
    "Eshell wrapper for `pcomplete'."
    (interactive)
    (condition-case nil
!       (pcomplete)
      (text-read-only (completion-at-point)))) ; Workaround for bug#12838.
  
  (provide 'em-cmpl)
--- 454,462 ----
  (defun eshell-pcomplete ()
    "Eshell wrapper for `pcomplete'."
    (interactive)
+   (setq this-command 'pcomplete)
    (condition-case nil
!       (call-interactively 'pcomplete)
      (text-read-only (completion-at-point)))) ; Workaround for bug#12838.
  
  (provide 'em-cmpl)






reply via email to

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