GNU bug report logs - #18733
24.3.94; completion default with icomplete-show-matches-on-no-input t

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: stephen_leake@HIDDEN; dated Wed, 15 Oct 2014 14:25:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Oct 2014 14:24:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 15 10:24:25 2014
Received: from localhost ([127.0.0.1]:44560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XePV2-0004uB-ID
	for submit <at> debbugs.gnu.org; Wed, 15 Oct 2014 10:24:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54838)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUz-0004tz-03
 for submit <at> debbugs.gnu.org; Wed, 15 Oct 2014 10:24:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUo-0002tH-Ua
 for submit <at> debbugs.gnu.org; Wed, 15 Oct 2014 10:24:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54997)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUo-0002tC-RG
 for submit <at> debbugs.gnu.org; Wed, 15 Oct 2014 10:24:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56501)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUh-0002oC-35
 for bug-gnu-emacs@HIDDEN; Wed, 15 Oct 2014 10:24:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUZ-0002q4-IH
 for bug-gnu-emacs@HIDDEN; Wed, 15 Oct 2014 10:24:03 -0400
Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.231]:11814
 helo=dnvrco-oedge-vip.email.rr.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <stephen_leake@HIDDEN>) id 1XePUZ-0002pI-AN
 for bug-gnu-emacs@HIDDEN; Wed, 15 Oct 2014 10:23:55 -0400
Received: from [70.94.38.149] ([70.94.38.149:49525] helo=TAKVER)
 by dnvrco-oedge01 (envelope-from <stephen_leake@HIDDEN>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP
 id 2E/D7-23176-7738E345; Wed, 15 Oct 2014 14:23:52 +0000
Date: Wed, 15 Oct 2014 09:23:50 -0500
Message-Id: <85bnpdwgw9.fsf@HIDDEN>
From: stephen_leake@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.94; completion default with icomplete-show-matches-on-no-input t
X-RR-Connecting-IP: 107.14.64.118:25
X-Authority-Analysis: v=2.1 cv=d8V7yHTE c=1 sm=1 tr=0
 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8
 a=o_R75loqY_IA:10 a=9i_RQKNPAAAA:8 a=Lmiug2be3AkY_flLQzkA:9
X-Cloudmark-Score: 0
X-detected-operating-system: by eggs.gnu.org: BaiduSpider 
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: -3.3 (---)
X-Debbugs-Envelope-To: submit
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: -3.3 (---)

This bug is related to 17545.

With `icomplete-mode' active, and `icomplete-show-matches-on-no-input'
set to `t', invoking `switch-to-buffer' and then
`minibuffer-force-complete-and-exit' gives confusing results; the buffer
selected is the default specified by `read-buffer-to-switch', which is
often _not_ the first completion displayed, which is what the user
expects.

In particular, if `icomplete-forward-completions' is invoked, the first
displayed completion will not match the default.

Suggested solutions:

In the case of `switch-to-buffer', the default chosen by icomplete is
usually better than that chosen by `read-buffer-to-switch', so a good
solution would be to change `read-buffer-to-switch' to specify a nil
default, at least when some completion mode other than the default is
active.

Alternately, icomplete could set `minibuffer-default' to the first
displayed completion, or to nil; don't set `minibuffer-default' until
a completion is displayed.

In other cases, such as `kill-buffer', there is an obvious default (the
current buffer); then icomplete should force the first completion to be
the specified default. However if the user invokes
`icomplete-forward-completions', the defaults will differ, so
icomplete should set `minibuffer-default'.


In GNU Emacs 24.3.94.8 (x86_64-pc-mingw32)
 of 2014-10-08 on TAKVER
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/mingw32'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: cp1252

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  allout-mode: t
  diff-auto-refine-mode: t
  icomplete-mode: t
  display-time-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
l t <return> <tab> c h a n g e SPC <down> <down> <down>
<down> <down> <up> <M-left> <M-left> C-SPC <M-right>
<M-right> <M-right> <M-right> <M-delete> <up> <up>
<up> <up> <up> <up> <up> <up> <M-left> <M-left> <M-left>
<insert> <S-right> <S-right> <S-right> <S-right> <S-right>
<S-right> <S-right> <S-right> <S-right> <S-right> <S-right>
<S-right> <S-right> <S-right> <S-right> <S-right> <down>
<down> <down> <down> <insert> SPC t SPC <backspace>
o SPC s p e c i f i <backspace> y SPC n o SPC d e f
a u l t <return> <down> <down> <down> M-` <C-M-up>
<f11> g l o <return> C-SPC <home> <M-delete> <f11>
<return> <prior> C-SPC <next> <M-delete> <C-M-down>
<down> <down> <down> <right> <right> <right> <right>
<right> <right> <right> <right> <M-S-right> e m p t
y SPC s t r i n g SPC <backspace> <up> <up> <up> <up>
<up> <up> <up> <up> <down> <down> <tab> b u t SPC o
n l y SPC i f SPC s o m e SPC c o m p l e t i o n SPC
m o d e SPC i s SPC e n a b l e d ? <return> t h e
r e SPC i s SPC a SPC d f a u l <backspace> <backspace>
<backspace> <backspace> e f a u l t SPC c o m p l e
t i o n SPC m o d e SPC a c t i v e <return> <up> <up>
<up> <end> <return> <tab> l e a f <backspace> v e SPC
d e f a u l t SPC t o SPC c o m p l e t i o n SPC <C-M-up>
<f11> i c o m <return> C-r k e y m a p <up> <up> <up>
<up> M-x M-w r e p o r t <return>

Recent messages:
Auto-saving...done
Mark set [3 times]
M-` is undefined
Auto-saving...
Mark set [2 times]
Auto-saving...done
Auto-saving...done
Mark saved where search started
Saving file c:/home/stephe/projects.text...
Wrote c:/home/stephe/projects.text

Load-path shadows:
/Projects/org.emacs.ada-mode.stephe-1/ada-mode hides c:/Projects/emacs/emacs-24.3.94/lisp/progmodes/ada-mode

Features:
(shadow sort mail-extr emacsbug sendmail dvc-persistence dvc-config
dvc-propagate dvc-state cus-theme eieio-custom wid-browse tree-widget
cus-edit shell pcomplete grep pp allout mm-archive network-stream
starttls url-http tls url-gw url-cache url-auth url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers finder-inf copyright two-column iso-transl
mule-util xmtn-dvc dvc-status dvc-diff edebug dvc-fileinfo diff-mode
xmtn-conflicts derived pcase xmtn-ids xmtn-match xmtn-automate
xmtn-compat parse-time xmtn-run xmtn-basic-io xmtn-base eieio-opt
speedbar sb-image ezimage dframe find-func icomplete help-mode misearch
multi-isearch xgit-core bzr-core xmtn-minimal dvc-log log-edit message
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils
mailheader pcvs-util vc vc-dispatcher ediff-merg ediff-wind ediff-diff
ediff-mult ediff-help ediff-init ediff-util ediff dvc-unified dvc-tips
ffap thingatpt url-parse auth-source eieio byte-opt bytecomp
byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr
password-cache url-vars add-log dvc-autoloads dvc-core dvc-lisp
dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs
dvc-site time delsel cus-start cus-load color-theme cl-macs edmacro
kmacro wid-edit cl gv cl-loaddefs cl-lib noutline outline easy-mmode
iswitchb whitespace dired-x dired-aux dired compile comint ansi-color
ring info easymenu bbdb-autoloads package epg-config time-date tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer 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 make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 422845 79236)
 (symbols 32 33596 0)
 (miscs 32 991 997)
 (strings 16 64869 6636)
 (string-bytes 1 1631552)
 (vectors 8 30336)
 (vector-slots 4 1341024 41994)
 (floats 8 219 418)
 (intervals 28 6473 2326)
 (buffers 512 45))




Acknowledgement sent to stephen_leake@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18733; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.