unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Cc: "Jürgen Hötzel" <juergen@archlinux.org>
Subject: Bind non-essential in pcomplete to prevent tramp error
Date: Sun, 13 Mar 2016 11:29:43 +0100	[thread overview]
Message-ID: <877fh6k6w8.fsf@gmx.de> (raw)

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.



             reply	other threads:[~2016-03-13 10:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 10:29 Michael Albinus [this message]
2016-03-13 16:25 ` Bind non-essential in pcomplete to prevent tramp error 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fh6k6w8.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=juergen@archlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).