GNU logs - #16528, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map
Resent-From: "Roland Winkler" <winkler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Jan 2014 13:07:02 +0000
Resent-Message-ID: <handler.16528.B.139048238618451 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 16528 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.139048238618451
          (code B ref -1); Thu, 23 Jan 2014 13:07:02 +0000
Received: (at submit) by debbugs.gnu.org; 23 Jan 2014 13:06:26 +0000
Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W6JzF-0004nX-Op
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 08:06:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56977)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <winkler@HIDDEN>) id 1W6JzD-0004nP-OF
 for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 08:06:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1W6Jz7-000577-LA
 for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 08:06:23 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39751)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1W6Jz7-000572-Io
 for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 08:06:17 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58628)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1W6Jz1-00089J-Eo
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jan 2014 08:06:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1W6Jyv-00054C-Jr
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jan 2014 08:06:11 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44949)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1W6Jyv-000547-Gf
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jan 2014 08:06:05 -0500
Received: from 162-229-45-114.lightspeed.cicril.sbcglobal.net
 ([162.229.45.114]:35116 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <winkler@HIDDEN>) id 1W6Jyv-00073Q-39
 for bug-gnu-emacs@HIDDEN; Thu, 23 Jan 2014 08:06:05 -0500
Date: Thu, 23 Jan 2014 07:06:03 -0600
Message-Id: <87k3dqg85g.fsf@HIDDEN>
From: "Roland Winkler" <winkler@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.6 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.6 (-----)

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.


In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2013-10-04 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.4 LTS




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: "Roland Winkler" <winkler@HIDDEN>
Subject: bug#16528: Acknowledgement (24.3; too many keybindings in
 minibuffer-local-completion-map)
Message-ID: <handler.16528.B.139048238618451.ack <at> debbugs.gnu.org>
References: <87k3dqg85g.fsf@HIDDEN>
X-Gnu-PR-Message: ack 16528
X-Gnu-PR-Package: emacs
Reply-To: 16528 <at> debbugs.gnu.org
Date: Thu, 23 Jan 2014 13:07:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 16528 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
16528: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16528
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Jan 2014 18:04:01 +0000
Resent-Message-ID: <handler.16528.B16528.139050021826694 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "Roland Winkler" <winkler@HIDDEN>
Cc: 16528 <at> debbugs.gnu.org
Received: via spool by 16528-submit <at> debbugs.gnu.org id=B16528.139050021826694
          (code B ref 16528); Thu, 23 Jan 2014 18:04:01 +0000
Received: (at 16528) by debbugs.gnu.org; 23 Jan 2014 18:03:38 +0000
Received: from localhost ([127.0.0.1]:33698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W6Ocs-0006wT-4g
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 13:03:38 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54464)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1W6Ocq-0006wK-96
 for 16528 <at> 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"
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
Received: by pastel.home (Postfix, from userid 20848)
 id 84CD660286; Thu, 23 Jan 2014 13:03:35 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwva9emtx06.fsf-monnier+emacsbugs@HIDDEN>
References: <87k3dqg85g.fsf@HIDDEN>
Date: Thu, 23 Jan 2014 13:03:35 -0500
In-Reply-To: <87k3dqg85g.fsf@HIDDEN> (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)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> 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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map
Resent-From: "Roland Winkler" <winkler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Jan 2014 19:03:02 +0000
Resent-Message-ID: <handler.16528.B16528.1390503760491 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 16528 <at> debbugs.gnu.org
Received: via spool by 16528-submit <at> debbugs.gnu.org id=B16528.1390503760491
          (code B ref 16528); Thu, 23 Jan 2014 19:03:02 +0000
Received: (at 16528) by debbugs.gnu.org; 23 Jan 2014 19:02:40 +0000
Received: from localhost ([127.0.0.1]:33717 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W6PY0-00007r-E0
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 14:02:40 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:52054)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <winkler@HIDDEN>) id 1W6PXx-00007h-JL
 for 16528 <at> debbugs.gnu.org; Thu, 23 Jan 2014 14:02:38 -0500
Received: from lukas.physics.niu.edu ([131.156.85.221]:60947)
 by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <winkler@HIDDEN>)
 id 1W6PXx-0005gI-1z; Thu, 23 Jan 2014 14:02:37 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <21217.26443.949491.134206@HIDDEN>
Date: Thu, 23 Jan 2014 13:02:35 -0600
From: "Roland Winkler" <winkler@HIDDEN>
In-Reply-To: <jwva9emtx06.fsf-monnier+emacsbugs@HIDDEN>
References: <87k3dqg85g.fsf@HIDDEN>
 <jwva9emtx06.fsf-monnier+emacsbugs@HIDDEN>
X-Mailer: VM 8.2 trial under 24.3.1 (x86_64-unknown-linux-gnu)
X-Spam-Score: -5.6 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.6 (-----)

On Thu Jan 23 2014 Stefan Monnier wrote:
> 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.

So it seems to me there are two views on this:

- there might be situations where the user wants to customize the
  keybindings provided by minibuffer-local-completion-map
  (this customization would then probably affect all calls of
  completing-read)

- in other cases, the code calling completing-read might want to
  provide some non-default keybindings (which would then affect only
  certain calls of completing-read, but it would apply to all users)

I do not know how common each of these cases might be.  (I never use
SPC for completion, but that's just me.)

Roland




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 23 Jan 2014 19:17:02 +0000
Resent-Message-ID: <handler.16528.B16528.13905045931988 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16528
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Roland Winkler <winkler@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Cc: 16528 <at> debbugs.gnu.org
Received: via spool by 16528-submit <at> debbugs.gnu.org id=B16528.13905045931988
          (code B ref 16528); Thu, 23 Jan 2014 19:17:02 +0000
Received: (at 16528) by debbugs.gnu.org; 23 Jan 2014 19:16:33 +0000
Received: from localhost ([127.0.0.1]:33732 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W6PlR-0000Vz-EI
	for submit <at> debbugs.gnu.org; Thu, 23 Jan 2014 14:16:33 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:50276)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1W6PlO-0000Vj-2b
 for 16528 <at> debbugs.gnu.org; Thu, 23 Jan 2014 14:16:30 -0500
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 s0NJGS4v004930
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Thu, 23 Jan 2014 19:16:28 GMT
Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
 by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s0NJGRf7011969
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Thu, 23 Jan 2014 19:16:27 GMT
Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23])
 by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s0NJGRP9011959;
 Thu, 23 Jan 2014 19:16:27 GMT
MIME-Version: 1.0
Message-ID: <e6e7c43c-622a-427d-b71b-9b0568bb89c9@default>
Date: Thu, 23 Jan 2014 11:16:26 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
References: <87k3dqg85g.fsf@HIDDEN>
 <jwva9emtx06.fsf-monnier+emacsbugs@HIDDEN>
 <21217.26443.949491.134206@HIDDEN>
In-Reply-To: <21217.26443.949491.134206@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8  (707110) [OL
 12.0.6680.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-Spam-Score: -2.9 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.9 (--)

FWIW, in Icicles:

1. All of these keys are self-inserting: SPC, ?, C-j.
2. A separate key is used to word-complete: M-SPC, not TAB.

IOW, for word completion, just use a different key.

(I would request that you do not use any combination of keys or
modifiers with TAB or <backtab> for word completion, however.)

My feeling is that word completion is generally not very important,
but I provide a key for it.

To me, SPC is far more useful if it is self-inserting, not bound
to some completion command.  But then Icicles uses completion for
lots of things, including lots of kinds of candidates that have
embedded SPC chars.

I feel the same about ? and C-j (newline).  There is no good reason
for these not to be self-inserting, IMO.  Again, in Icicles there
are lots of kinds of completion candidates, including multi-line
ones and ones that have embedded ? chars.

HTH.





Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.