GNU bug report logs - #13293
24.2.91; eshell completion cycles fail in pre-test

Previous Next

Package: emacs;

Reported by: Charles Rendleman <carendle <at> gmail.com>

Date: Fri, 28 Dec 2012 19:17:01 UTC

Severity: normal

Found in version 24.2.91

Fixed in version 24.2.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Charles Rendleman <carendle <at> gmail.com>
Cc: 13293 <at> debbugs.gnu.org
Subject: Re: bug#13293: 24.2.91; eshell completion cycles fail in pre-test
Date: Sun, 30 Dec 2012 14:04:14 -0500
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)





This bug report was last modified 12 years and 147 days ago.

Previous Next


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