unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bind non-essential in pcomplete to prevent tramp error
@ 2016-03-13 10:29 Michael Albinus
  2016-03-13 16:25 ` Eli Zaretskii
  2016-03-13 17:27 ` Stefan Monnier
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Albinus @ 2016-03-13 10:29 UTC (permalink / raw)
  To: emacs-devel; +Cc: Jürgen Hötzel

Hi,

Jürgen Hötzel has reported an error in pcomplete, see
<https://github.com/company-mode/company-mode/pull/487#issuecomment-195926034>.
The following patch in the emacs-25 branch fixes this:

--8<---------------cut here---------------start------------->8---
*** /usr/local/src/emacs-25/lisp/pcomplete.el.~d457fd9dc782465e1547f74021390c9d5951d6af~	2016-03-13 11:24:57.162148275 +0100
--- /usr/local/src/emacs-25/lisp/pcomplete.el	2016-03-13 11:12:53.540170107 +0100
***************
*** 501,507 ****
      (setq pcomplete-current-completions nil
  	  pcomplete-last-completion-raw nil)
      (catch 'pcompleted
!       (let* ((pcomplete-stub)
  	     pcomplete-seen pcomplete-norm-func
  	     pcomplete-args pcomplete-last pcomplete-index
  	     (pcomplete-autolist pcomplete-autolist)
--- 501,508 ----
      (setq pcomplete-current-completions nil
  	  pcomplete-last-completion-raw nil)
      (catch 'pcompleted
!       (let* ((non-essential t)
!              pcomplete-stub
  	     pcomplete-seen pcomplete-norm-func
  	     pcomplete-args pcomplete-last pcomplete-index
  	     (pcomplete-autolist pcomplete-autolist)
--8<---------------cut here---------------end--------------->8---

Is it OK to install the patch in the emacs-25 branch?

Best regards, Michael.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-03-14  2:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13 10:29 Bind non-essential in pcomplete to prevent tramp error Michael Albinus
2016-03-13 16:25 ` Eli Zaretskii
2016-03-13 18:05   ` John Wiegley
2016-03-13 17:27 ` Stefan Monnier
2016-03-13 18:25   ` John Wiegley
2016-03-13 22:53     ` Stefan Monnier
2016-03-13 23:02       ` Dmitry Gutov
2016-03-14  0:18         ` Stefan Monnier
2016-03-14  2:04           ` Dmitry Gutov
2016-03-13 18:45   ` Michael Albinus
2016-03-14  0:07     ` Stefan Monnier

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).