From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map Date: Thu, 23 Jan 2014 13:03:35 -0500 Message-ID: References: <87k3dqg85g.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390500256 4045 80.91.229.3 (23 Jan 2014 18:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2014 18:04:16 +0000 (UTC) Cc: 16528@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 23 19:04:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W6OdY-0007PL-KB for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jan 2014 19:04:20 +0100 Original-Received: from localhost ([::1]:42614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6OdX-0005HM-I0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jan 2014 13:04:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6OdO-0005FC-78 for bug-gnu-emacs@gnu.org; Thu, 23 Jan 2014 13:04:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6OdG-0001Dz-3K for bug-gnu-emacs@gnu.org; Thu, 23 Jan 2014 13:04:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6OdF-0001Dp-W4 for bug-gnu-emacs@gnu.org; Thu, 23 Jan 2014 13:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W6OdF-0006xE-K8 for bug-gnu-emacs@gnu.org; Thu, 23 Jan 2014 13:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jan 2014 18:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16528-submit@debbugs.gnu.org id=B16528.139050021826694 (code B ref 16528); Thu, 23 Jan 2014 18:04:01 +0000 Original-Received: (at 16528) by debbugs.gnu.org; 23 Jan 2014 18:03:38 +0000 Original-Received: from localhost ([127.0.0.1]:33698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W6Ocs-0006wT-4g for submit@debbugs.gnu.org; Thu, 23 Jan 2014 13:03:38 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54464) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W6Ocq-0006wK-96 for 16528@debbugs.gnu.org; Thu, 23 Jan 2014 13:03:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rxHA/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFG4rxHA/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="45916472" Original-Received: from 184-175-17-192.dsl.teksavvy.com (HELO pastel.home) ([184.175.17.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Jan 2014 13:03:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 84CD660286; Thu, 23 Jan 2014 13:03:35 -0500 (EST) In-Reply-To: <87k3dqg85g.fsf@gnu.org> (Roland Winkler's message of "Thu, 23 Jan 2014 07:06:03 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83921 Archived-At: > minibuffer-local-completion-map binds SPC to minibuffer-complete-word > and ? to minibuffer-completion-help. It should be possible without > too much hackery to run completing-read in a less obtrusive mode > where these keys simply insert the respective characters. Indeed, this binding can be annoying. Some people use it heavily (and rarely use TAB, IIUC), tho, so removing it is a bit tricky, but it was annoying enough for files that file-name completion now uses a special map where SPC is not bound to minibuffer-complete-word any more. I can see a few different directions we could go to try and solve those problems: - change the default completion map so SPC is not bound any more. - provide some way to call completing-read, specifying that this particular completion should, just like file-name completion, not bind SPC to minibuffer-complete-word. - change the behavior of minibuffer-complete-word to be more DWIMish. For example, if completion can't be performed (no valid candidates, or no shared prefix among the candidates), instead of beeping, it could insert a SPC. I haven't thought much about ? because that one has not been nearly as annoying. The problem is largely similar, except that the harms are all much less severe (both of the current situation and of the possible fixes). Stefan