From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>,
Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp
Date: Wed, 14 Apr 2010 11:31:45 -0400 [thread overview]
Message-ID: <jwvvdbukqdp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <nq8w8rbhxq.fsf@alcatel-lucent.com> (Michael Albinus's message of "Tue, 13 Apr 2010 15:28:17 +0200")
>> Actually, now that I think about it, I think it's more general
>> than that. It's basically the idea that the current execution is
>> non-essential (e.g. part of some background computation, or some
>> not-necessarily-expected part of a command like loading a desktop(.el)).
>> So maybe the variable should be in simple.el and named `non-essential'.
> Could you, please, add this variable to simple.el, with a proper
> docstring? I tend to fail with understable descriptions ...
I've just added it.
*BUT* I also realized that your suggested patch:
***************
*** 1028,1034 ****
"Display a list of possible completions of the current minibuffer contents."
(interactive)
(message "Making completion list...")
! (let* ((start (field-beginning))
(string (field-string))
(completions (completion-all-completions
string
--- 1028,1035 ----
"Display a list of possible completions of the current minibuffer contents."
(interactive)
(message "Making completion list...")
! (let* ((non-essential t)
! (start (field-beginning))
(string (field-string))
(completions (completion-all-completions
string
is not OK: when I hit ? (or TAB) in the minibuffer, I really do want
Tramp to give me the possible completions, even if that requires my
entering a password.
So, it should be added to ido/icomplete and to the original code:
(add-hook 'minibuffer-setup-hook
(lambda ()
(let ((non-essential t))
(add-hook 'post-command-hook
'minibuffer-completion-help nil t))))
but not to the minibuffer-completion-help itself.
Stefan
next prev parent reply other threads:[~2010-04-14 15:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 6:06 bug#5840: 24.0.50; wrong tramp-file-name-regexp Thierry Volpiatto
2010-04-11 16:54 ` Michael Albinus
2010-04-11 18:53 ` Stefan Monnier
2010-04-11 20:12 ` Thierry Volpiatto
2010-04-12 5:20 ` Michael Albinus
2010-04-12 6:02 ` Thierry Volpiatto
2010-04-12 4:41 ` Michael Albinus
2010-04-12 15:14 ` Thierry Volpiatto
2010-04-12 18:20 ` Stefan Monnier
2010-04-12 19:08 ` Michael Albinus
2010-04-12 20:51 ` Stefan Monnier
2010-04-13 4:32 ` Michael Albinus
2010-04-13 6:25 ` Thierry Volpiatto
2010-04-13 12:31 ` Stefan Monnier
2010-04-13 13:09 ` Stefan Monnier
2010-04-13 13:28 ` Michael Albinus
2010-04-14 15:31 ` Stefan Monnier [this message]
2010-04-14 22:11 ` Michael Albinus
2010-04-15 5:01 ` Stefan Monnier
2010-04-15 13:06 ` Michael Albinus
2010-04-15 18:59 ` Stefan Monnier
2010-04-15 19:22 ` Stefan Monnier
2010-04-15 22:32 ` Michael Albinus
2010-04-16 0:32 ` Stefan Monnier
2010-04-21 19:52 ` Michael Albinus
2011-11-20 16:15 ` 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=jwvvdbukqdp.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=bug-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=thierry.volpiatto@gmail.com \
/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.