From: Dmitry Gutov <dgutov@yandex.ru>
To: emacs-devel@gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: Re: [Emacs-diffs] master 618310c: Work on `tramp-completion-mode-p'
Date: Tue, 28 Feb 2017 02:06:01 +0200 [thread overview]
Message-ID: <b22cdc69-b478-ed74-8d39-972811d712fd@yandex.ru> (raw)
In-Reply-To: <20170226114526.6EC2026044@vcs0.savannah.gnu.org>
On 26.02.2017 13:45, Michael Albinus wrote:
> (progn (defun tramp-completion-mode-p ()
> "Check, whether method / user name / host name completion is active."
> (or
> ;; Signal from outside. `non-essential' has been introduced in Emacs 24.
> (and (boundp 'non-essential) (symbol-value 'non-essential))
> - tramp-completion-mode)))
> + ;; This variable has been obsoleted in Emacs 26.
> + tramp-completion-mode
> + ;; Fallback. Some completion packages still don't support
> + ;; `non-essential' sufficiently.
Any packages in particular? Should we try working with their authors?
> + (equal last-input-event 'tab))))
Not sure I understand what's going on here. It seems you are making
`non-essential' being non-nil and `tab' being the last input event have
the same impact.
Whereas, IME, the user pressing TAB usually means that the completion
operation *is essential*, and they would probably be willing to input
their connection credentials if necessary.
Like the discussion in https://debbugs.gnu.org/25607 has touched on.
next parent reply other threads:[~2017-02-28 0:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170226114525.28549.46289@vcs0.savannah.gnu.org>
[not found] ` <20170226114526.6EC2026044@vcs0.savannah.gnu.org>
2017-02-28 0:06 ` Dmitry Gutov [this message]
2017-02-28 9:05 ` [Emacs-diffs] master 618310c: Work on `tramp-completion-mode-p' Michael Albinus
2017-02-28 10:32 ` Dmitry Gutov
2017-02-28 12:14 ` Michael Albinus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b22cdc69-b478-ed74-8d39-972811d712fd@yandex.ru \
--to=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.