From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#9134: don't force mystery on user trying to find out what is completing after the word "ssh" in *shell* Date: Mon, 14 Oct 2019 04:46:44 +0000 (UTC) Message-ID: References: <87fwm0zf60.fsf@jidanni.org> <874l0ct7vh.fsf@gnus.org> <0449ae1f85bbc0076cbfde9b61996660@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8980"; mail-complaints-to="usenet@blaine.gmane.org" Cc: jidanni@jidanni.org, 9134@debbugs.gnu.org, monnier@iro.umontreal.ca To: Phil Sainty , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 14 06:47:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJsGE-0002EU-RM for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 06:47:10 +0200 Original-Received: from localhost ([::1]:44424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJsGD-0005DX-Oq for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 00:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55086) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJsG8-0005C7-9F for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 00:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJsG7-0001tC-5g for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 00:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJsG7-0001t6-1d for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 00:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJsG6-0006tk-T7 for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 00:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 04:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9134 X-GNU-PR-Package: emacs Original-Received: via spool by 9134-submit@debbugs.gnu.org id=B9134.157102841826505 (code B ref 9134); Mon, 14 Oct 2019 04:47:02 +0000 Original-Received: (at 9134) by debbugs.gnu.org; 14 Oct 2019 04:46:58 +0000 Original-Received: from localhost ([127.0.0.1]:37486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsG1-0006tR-Oa for submit@debbugs.gnu.org; Mon, 14 Oct 2019 00:46:58 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:52244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsG0-0006tE-3o for 9134@debbugs.gnu.org; Mon, 14 Oct 2019 00:46:56 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9E4cvNN106244; Mon, 14 Oct 2019 04:46:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=GAN46TP/lpaKIQgYPIWD1z1eiO/eViWL75JAzYPFT50=; b=i+XDuQB37kcOta0XGcziHZwleDjH8g+Ihz51RLj/Ns5AAPju5k2VTqV8HQ/fUCfrs7lJ /tY7PRhRHV60IIgIACKE1kq8JhZQYATR/i3nlyHmJNB6tasws0cvjqCE5d4ybEoOGBUW aKnooyaB6pBJhPepjwpjpmMCTQUYDn2So3ansAyTzeiClDlo+hPvVgx5gRpqPnFz6f9d IHnRtsJNlTKhhdTL5aeH/EcRwYJbJKfK+a30EdV+JMIkh869yQ+rYmWYoTc72y/cSMnq PjgGUxGcAGg+mMz1tJqt6ITJBArQwl+1EPQBu46szzfwwWnclqWKsu5smxYA4oATy+DK Qg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2vk7fqwx5d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Oct 2019 04:46:49 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9E4hNgW109506; Mon, 14 Oct 2019 04:46:48 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2vkrbj1kta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Oct 2019 04:46:48 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x9E4kjOd000667; Mon, 14 Oct 2019 04:46:46 GMT In-Reply-To: <0449ae1f85bbc0076cbfde9b61996660@webmail.orcon.net.nz> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9409 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=951 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910140045 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9409 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910140045 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169189 Archived-At: > >> When we hit TAB in *shell* after the word "ssh", > >> > >> * there are no messages about where in the world it is getting its > >> completions. Unlike dabbrev-expand. > > > > That is pretty mysterious behaviour; yes. Would flashing a message > > saying "Looking for host names in ~/.ssh/known_hosts and > ~/.ssh/config" > > be helpful? >=20 > I think it would be nicer if the *Completions* buffer text explained > it. i.e. additional information added to this: >=20 > "Click on a completion to select it. > In this buffer, type RET to select the completion near point. >=20 > Possible completions are:" >=20 > That's mostly from `completion-setup-function'. Perhaps that could be > made to incorporate text from a new var, which could then be bound > dynamically in cases where extra context was desirable? Doesn't the command performing the completion know this information? Why isn't it sufficient for `C-h f' for that command to provide the info? I'd think that if it's not obvious the command's doc should let you know what things you're completing against. A priori, I don't think the info should be shown via a transitory message or by putting an explanation in buffer *Completions*. A priori, I think the proper place to explain/describe the completion behavior (what it does, including what the possible completions are) is the command's doc.