GNU bug report logs - #10618
24.0.92; completion candidates consisting of newline chars

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; Severity: wishlist; Reported by: michael_heerdegen@HIDDEN; dated Fri, 27 Jan 2012 01:55:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 10618) by debbugs.gnu.org; 27 Jan 2012 09:08:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 27 04:08:49 2012
Received: from localhost ([127.0.0.1]:46179 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rqhnd-0002oX-Gg
	for submit <at> debbugs.gnu.org; Fri, 27 Jan 2012 04:08:49 -0500
Received: from mtaout20.012.net.il ([80.179.55.166]:52576)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <eliz@HIDDEN>) id 1Rqhnc-0002oK-3z
	for 10618 <at> debbugs.gnu.org; Fri, 27 Jan 2012 04:08:48 -0500
Received: from conversion-daemon.a-mtaout20.012.net.il by
	a-mtaout20.012.net.il (HyperSendmail v2007.08) id
	<0LYG002009D6OJ00@HIDDEN> for
	10618 <at> debbugs.gnu.org; Fri, 27 Jan 2012 11:08:05 +0200 (IST)
Received: from HOME-C4E4A596F7 ([84.228.102.195]) by a-mtaout20.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0LYG002F49DFKK40@HIDDEN>;
	Fri, 27 Jan 2012 11:08:04 +0200 (IST)
Date: Fri, 27 Jan 2012 11:06:01 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#10618: 24.0.92;
	completion candidates consisting of newline chars
In-reply-to: <8762fxucxf.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: michael_heerdegen@HIDDEN
Message-id: <83obtpzf9i.fsf@HIDDEN>
References: <8762fxucxf.fsf@HIDDEN>
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 10618
Cc: 10618 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
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>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Date: Fri, 27 Jan 2012 02:55:24 +0100
> 
> this is an enhancement request concerning the appearance of completion
> candidates including newline characters, especially those consisting of
> only newlines, in the *Completions* buffer.
> 
> This issue was discussed in gmane.emacs.devel in 2012/01.

A better reference to that thread is this:

  http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00603.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10618; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 27 Jan 2012 01:54:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 20:54:53 2012
Received: from localhost ([127.0.0.1]:45972 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rqb1h-0006Wi-Cy
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2012 20:54:53 -0500
Received: from eggs.gnu.org ([140.186.70.92]:33586)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb1f-0006WV-1u
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2012 20:54:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb10-00072Z-0y
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2012 20:54:11 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:36782)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb0z-00072V-Vi
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2012 20:54:09 -0500
Received: from eggs.gnu.org ([140.186.70.92]:52137)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb0y-0003eF-Or
	for bug-gnu-emacs@HIDDEN; Thu, 26 Jan 2012 20:54:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb0x-00072J-5V
	for bug-gnu-emacs@HIDDEN; Thu, 26 Jan 2012 20:54:08 -0500
Received: from fmmailgate01.web.de ([217.72.192.221]:47568)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rqb0w-00070e-RQ
	for bug-gnu-emacs@HIDDEN; Thu, 26 Jan 2012 20:54:07 -0500
Received: from moweb002.kundenserver.de (moweb002.kundenserver.de
	[172.19.20.108])
	by fmmailgate01.web.de (Postfix) with ESMTP id 27D501A9A48C5
	for <bug-gnu-emacs@HIDDEN>; Fri, 27 Jan 2012 02:54:05 +0100 (CET)
Received: from snow ([89.204.153.46]) by smtp.web.de (mrweb001) with ESMTPA
	(Nemesis) id 0MGARb-1Rn4d12US7-00EeYy; Fri, 27 Jan 2012 02:54:04 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.92; completion candidates consisting of newline chars
Date: Fri, 27 Jan 2012 02:55:24 +0100
Message-ID: <8762fxucxf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V02:K0:36JHWQa71HyIWVrKcjOnbTGAEjy03nKR7vOyCXrMXJi
	AtiovuKDdfQmUyboGMij+NpO2tg8IUzptQv1JNUfxvdmUbf/Im
	P9EYJVaVpCGuTwBRbnLBzStgVGgjCUh9XIJTa57UmCmaJFGaJQ
	+VDEIDRrvhWCcLuek0+ZuDqFOc0wl/yxaDoI3zVxEpI6YUG/V2
	DhII3RZXoiKc9A9ArlbnBlE8ocPqyKqDfMBS+RLtf0=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: michael_heerdegen@HIDDEN
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>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

Hello,

this is an enhancement request concerning the appearance of completion
candidates including newline characters, especially those consisting of
only newlines, in the *Completions* buffer.

This issue was discussed in gmane.emacs.devel in 2012/01.

Try this for example:

(completing-read "foo: " '(("aaaa") ("bbbb") ("\n") ("cccc")))

The "\n" candidate is appearing as an empty line in *Completions*, which
is confusing for the user.  The "\n" candidate also gets no visible
mouse-face when you move the mouse over "it" in *Completions*, so the
user doesn't see where to click to select it.

If you try that:

(completing-read "foo: " '("xxx" ("a\n\nb")))

the whole area between a and b gets a mouse-face (from the left to the
right border of the window), but only if the mouse is exactly over the a
or the b. 

There is a discrepancy between what gets highlighted, and where the
mouse pointer must be to get the highlighting shown.  In the
first example, you can select the newline candidate when you
click near the end of the line.  So, also the space where the
highlighting is "activated" doesn't correspond to the space where
the candidate can be selected.

To sum up, such problematic selectable newlines probably need to be
displayed specially, using some meaningful character glyph (that needs
to be displayable on all TTYs, btw).


Thanks,

Michael.


In GNU Emacs 24.0.92.1 (i486-pc-linux-gnu, GTK+ Version 3.2.3)
 of 2012-01-26 on zelenka, modified by Debian
 (emacs-snapshot package, version 2:20120126-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11103901
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.92/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''





Acknowledgement sent to michael_heerdegen@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#10618; 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: Mon, 25 Nov 2019 12:00:02 UTC

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