In *scratch*, write
(defun foo? ())
and hit C-j to evaluate the definition.=C2=A0 Then, try to display the help=
screen of foo? using C-h f foo? RET.=C2=A0 The minibuffer won't let you=
enter
? or auto-complete foo to foo?, even though ? can be part of a symbol.
I've just found that the Emacs manual =
documents this behavior (? prints a list of possible completions). Given th=
at ? can only have one function, and the current one does make sense, this =
behavior is rather a design choice than a bug. Closing.=C2=A0
=
div>
--001a114072c8da045b054611d4c2--
------------=_1484417342-4505-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by debbugs.gnu.org; 13 Jan 2017 18:03:02 +0000
Received: from localhost ([127.0.0.1]:53134 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from
)
id 1cS6Bq-0006kI-B6
for submit@debbugs.gnu.org; Fri, 13 Jan 2017 13:03:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50709)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1cS6Bn-0006jf-UO
for submit@debbugs.gnu.org; Fri, 13 Jan 2017 13:03:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1cS6BY-000304-SL
for submit@debbugs.gnu.org; Fri, 13 Jan 2017 13:02:54 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46959)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1cS6BY-0002zu-Oq
for submit@debbugs.gnu.org; Fri, 13 Jan 2017 13:02:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40451)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1cS6BI-0001c3-F3
for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 13:02:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1cS6B0-0002XX-To
for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 13:02:28 -0500
Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:36713)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1cS6B0-0002WS-J2
for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 13:02:10 -0500
Received: by mail-wm0-x229.google.com with SMTP id c85so75470355wmi.1
for ; Fri, 13 Jan 2017 10:02:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=gL0v9Dt/izJ4gkkNaFrxCtFpKtthx20mevmva2Mv5D0=;
b=I34aWY9EwJrmFwd9SDSLdxaAwOO8EpR9yfWd4HEXW8Hb0T0YifZo3QpIr2/vZjXuQy
njUxsHJSl27A5ok/IWHxGg2EHAs7t9fqX1LjRZGO6Y+0nx1n/ZHzYAGnMThzeLGX58VG
pvS0Dhrl4594tHFn1d81oKNC/rdrQW5Ii8g3cmwUe0lN0Sue8Y7mc1dDbCQsQBu4Ybxj
BB5q35ITSyZS1Z6w4RvSFORzjAy/eynqcihFnQIp+ztVIMmDqWXBTg4+pZNby3EgKg9A
O0TUh0HjRj+0htT5Zxwa82mWuTOzIvZD7UNEyjXU+VV03V8pgelWY3EB0Tzv3c1k1NPv
3SOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=gL0v9Dt/izJ4gkkNaFrxCtFpKtthx20mevmva2Mv5D0=;
b=Ecg+pQq+naJxW3CvFprQZ8NBB3Zc/0Ewl9g2MvUIqZ5vORtQbUpGYk7lsipmdcLnaF
MAVlPnZl4l7Ux3IO2gqLuBJ7r84Eu+GfTiSVTwJV3vczlVbMki3RuAP4BfgWdR+s+DaN
M/LtxB3amfxLl8q2CKpkglvs4+9kAaJiREGiOnCUrSUzTpcCfVvLhZ2dIwkWZIswVHIo
fhm0AmyekXWTWYJC53K5eJBBofkScIT7wVOHm/d/Sb3p81ZRiLrD+kcnm53VF+q7Oq2l
pGykR/YoMMy/ayhGtvyPAm6VbiykDsfKzXcMmRYETpLEayYANNV32/p2zIyvEhIsT6yJ
cYtQ==
X-Gm-Message-State: AIkVDXLWYthJrwwdgqNoZpxl8WojS9w2QJ2/LJM2fcN32ppcObsWBMn7QIH0jJL6+QSEtw==
X-Received: by 10.223.164.216 with SMTP id h24mr13061762wrb.90.1484330528851;
Fri, 13 Jan 2017 10:02:08 -0800 (PST)
Received: from a.muc.corp.google.com ([2a00:79e0:15:4:202f:8d32:b31a:bcd])
by smtp.gmail.com with ESMTPSA id 191sm5776049wmo.21.2017.01.13.10.02.07
for
(version=TLS1_2 cipher=AES128-SHA bits=128/128);
Fri, 13 Jan 2017 10:02:07 -0800 (PST)
From: Philipp Stephani
To: bug-gnu-emacs@gnu.org
Subject: 26.0.50; Can't autocomplete symbol names ending in ?
Date: Fri, 13 Jan 2017 19:02:03 +0100
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.8 (---)
In *scratch*, write
(defun foo? ())
and hit C-j to evaluate the definition. Then, try to display the help
screen of foo? using C-h f foo? RET. The minibuffer won't let you enter
? or auto-complete foo to foo?, even though ? can be part of a symbol.
Escaping the ? with a backslash also doesn't work.
This is especially annoying for libraries containing many Scheme-style
predicates, such as 'f' and 's'.
In GNU Emacs 26.0.50.28 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
of 2017-01-13 built on localhost
Repository revision: d018843e0e8065b1c9de9474521db069e1aa0025
Windowing system distributor 'The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04 LTS
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --with-modules --enable-checking
--enable-check-lisp-object-type 'CFLAGS=3D-ggdb3 -O0''
Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv
bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib
dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec
password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript case-table epa-hook jka-cmpr-hook help
simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 97756 7990)
(symbols 48 20220 1)
(miscs 40 331 131)
(strings 32 18024 4482)
(string-bytes 1 592939)
(vectors 16 14091)
(vector-slots 8 472914 7079)
(floats 8 181 13)
(intervals 56 218 0)
(buffers 976 12)
(heap 1024 20514 959))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle
Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und l=C3=
=B6schen
Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank.
This e-mail is confidential. If you are not the right addressee please do =
not
forward it, please inform the sender, and please erase this e-mail including
any attachments. Thanks.
------------=_1484417342-4505-1--
From unknown Fri Aug 15 16:01:33 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#25441: 26.0.50; Can't autocomplete symbol names ending in ?
Resent-From: Noam Postavsky
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 14 Jan 2017 19:17:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 25441
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 25441@debbugs.gnu.org, Philipp Stephani
Received: via spool by 25441-submit@debbugs.gnu.org id=B25441.148442141110379
(code B ref 25441); Sat, 14 Jan 2017 19:17:02 +0000
Received: (at 25441) by debbugs.gnu.org; 14 Jan 2017 19:16:51 +0000
Received: from localhost ([127.0.0.1]:54164 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1cSTop-0002hG-9x
for submit@debbugs.gnu.org; Sat, 14 Jan 2017 14:16:51 -0500
Received: from mail-ot0-f180.google.com ([74.125.82.180]:36539)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1cSToo-0002gv-1v
for 25441@debbugs.gnu.org; Sat, 14 Jan 2017 14:16:50 -0500
Received: by mail-ot0-f180.google.com with SMTP id 104so22049998otd.3
for <25441@debbugs.gnu.org>; Sat, 14 Jan 2017 11:16:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:sender:in-reply-to:references:from:date:message-id
:subject:to; bh=jQ1MiF0dMWLUNi1H9J8fsrPRzaXL6n3oVYj8W23seJo=;
b=hRA5/hlunEHgiPIpt1CZY0IA5wg+N/d2sabi4TAxhllRiSB88W8TJQxoFNssxkBBQ1
wWbFs1AbF8eoRZvZD0VYUIQi3AEWwPmX4ptFhPZhbYRP0Nbnu3JqwoiW/GscANmoYSxX
p3kOZPz2wqPhPl3648NV6KNlMR/oz7eWrCVXaHpBRe/hFiNJ5WXhgRPP4iL5NncYV4V+
iI6rTAoEFZ81UUrcUy8qNsyE+6svGtEXCLG5Yea8RITF9Xq/r9tHcMsdt5q6XPalhVKd
UwCg8laujbFDaKujWArp8h9Zo72U48pdQPgD/ZEZp2DQ0jTktrODqE858jidf18OcXQf
pCrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
:date:message-id:subject:to;
bh=jQ1MiF0dMWLUNi1H9J8fsrPRzaXL6n3oVYj8W23seJo=;
b=N64wQcQqHECLOWf5CKlioaQmJlxwVwD1xCwnVX1HUxB8vWnq7XLd0xi1QzQJs6kiWP
xTu3r6JPWb/g0eLEmVc1n2I3239dCIdQgjTPBZHlLowM6BkPRdPvnn0VY3QdqtSKWQOc
7+ZAgmFmmUu58k8STRzJDFbBMJe5EVluIeaWeWSLPgufV2Hs2eC4R8r4lUZjSeKyDX80
UaLjcWwac6wOfPPWmLMAd5QW7POIp0LoIDZx/T9/04CxJYre8lshB64cKYHOyjRZLbye
3DaxNoG+9XoxOSbFDmCLdLeGekVZ7FuWuJhza1EQRC86CaH2cwh+PmEx0fSQHidr+v92
Z1ZA==
X-Gm-Message-State: AIkVDXKUpIKGNhlk1kRXAgvWR3t6xl210ntvNPuErTEOOeuHimNd6CSdCGMPhWdOsiYYaYyltHmF0X24rlfNqA==
X-Received: by 10.157.36.161 with SMTP id z30mr3912570ota.208.1484421404122;
Sat, 14 Jan 2017 11:16:44 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.21.117 with HTTP; Sat, 14 Jan 2017 11:16:43 -0800 (PST)
In-Reply-To:
References:
From: Noam Postavsky
Date: Sat, 14 Jan 2017 14:16:43 -0500
X-Google-Sender-Auth: 3Sq17ZwbubnWiV0seQQJHbv7jQg
Message-ID:
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: 0.5 (/)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: 0.5 (/)
tag 25441 notabug
quit
On Sat, Jan 14, 2017 at 1:07 PM, Philipp Stephani wrote:
>
>
> Philipp Stephani schrieb am Fr., 13. Jan. 2017 um
> 19:04 Uhr:
>>
>>
>> In *scratch*, write
>>
>> (defun foo? ())
>>
>> and hit C-j to evaluate the definition. Then, try to display the help
>> screen of foo? using C-h f foo? RET. The minibuffer won't let you enter
>> ? or auto-complete foo to foo?, even though ? can be part of a symbol.
>
>
> I've just found that the Emacs manual documents this behavior (? prints a
> list of possible completions). Given that ? can only have one function, and
> the current one does make sense, this behavior is rather a design choice
> than a bug. Closing.
For the record, this can be changed by unbinding
`minibuffer-completion-help' from `minibuffer-local-completion-map':
(define-key minibuffer-local-completion-map "?" nil)
From unknown Fri Aug 15 16:01:33 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#25441: 26.0.50; Can't autocomplete symbol names ending in ?
Resent-From: Drew Adams
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 14 Jan 2017 21:30:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 25441
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: notabug
To: Philipp Stephani , 25441-done@debbugs.gnu.org
Received: via spool by 25441-done@debbugs.gnu.org id=D25441.148442936428282
(code D ref 25441); Sat, 14 Jan 2017 21:30:02 +0000
Received: (at 25441-done) by debbugs.gnu.org; 14 Jan 2017 21:29:24 +0000
Received: from localhost ([127.0.0.1]:54224 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1cSVt5-0007M6-OG
for submit@debbugs.gnu.org; Sat, 14 Jan 2017 16:29:23 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:21813)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1cSVt4-0007Lu-BF
for 25441-done@debbugs.gnu.org; Sat, 14 Jan 2017 16:29:23 -0500
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
v0ELTFXQ013644
(version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
Sat, 14 Jan 2017 21:29:16 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v0ELTFET032292
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
Sat, 14 Jan 2017 21:29:15 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v0ELTDNC027432;
Sat, 14 Jan 2017 21:29:14 GMT
MIME-Version: 1.0
Message-ID:
Date: Sat, 14 Jan 2017 13:29:12 -0800 (PST)
From: Drew Adams
References:
In-Reply-To:
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL
12.0.6753.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
X-Spam-Score: -6.7 (------)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -6.7 (------)
> I've just found that the Emacs manual documents this behavior
> (? prints a list of possible completions).
Yes. It's a really dumb design, IMHO. I've argued for years
now that characters such as SPC and ? and C-j (newline) should
be self-inserting during completion.
After several decades, SPC was finally made self-inserting for
file-name completion (only). Progress is slow...
Completion - ESPECIALLY `completing-read' as opposed to
`read-file-name' - is completely _general_. There should be
no assumption that completion candidates do not contain spaces
or question marks or newline chars. That's just silly (IMHO).
And making users use `C-q' to insert a space char is akin to
medieval torture - because it is completely unnecessary.
=C2=A0