GNU bug report logs - #5009
complete-symbol should probably not be bound in global-map

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Sun, 22 Nov 2009 00:30:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5009 in the body.
You can then email your comments to 5009 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5009; Package emacs. (Sun, 22 Nov 2009 00:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 00:30:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: complete-symbol should probably not be bound in global-map
Date: Sun, 22 Nov 2009 01:22:08 +0100
But it is.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5009; Package emacs. (Sun, 22 Nov 2009 01:25:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 01:25:04 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman'" <lennart.borgman <at> gmail.com>,
        <5009 <at> debbugs.gnu.org>,
        "'Emacs Bugs'" <bug-gnu-emacs <at> gnu.org>
Subject: RE: bug#5009: complete-symbol should probably not be bound in global-map
Date: Sat, 21 Nov 2009 17:20:02 -0800
> But it is.

_Why_ shouldn't it? 

What's the bug?





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5009; Package emacs. (Sun, 22 Nov 2009 01:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 01:25:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5009; Package emacs. (Sun, 22 Nov 2009 02:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 02:30:04 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 5009 <at> debbugs.gnu.org, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Re: bug#5009: complete-symbol should probably not be bound in 
	global-map
Date: Sun, 22 Nov 2009 03:21:27 +0100
On Sun, Nov 22, 2009 at 2:20 AM, Drew Adams <drew.adams <at> oracle.com> wrote:
>> But it is.
>
> _Why_ shouldn't it?
>
> What's the bug?


It fools people into believing there is a useful completion when there
in fact is none. What use is for example symbol completion in
css-mode, in php-mode etc?

It is better to tell the truth. Bind it to there-is-no-completion-here
(in a logic sense of course) in global map. Bind it to something
useful in major modes.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5009; Package emacs. (Sun, 22 Nov 2009 02:30:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 02:30:06 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sat, 05 Dec 2009 22:05:07 GMT) Full text and rfc822 format available.

Notification sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Sat, 05 Dec 2009 22:05:08 GMT) Full text and rfc822 format available.

Message #30 received at 5009-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 5009-done <at> debbugs.gnu.org
Subject: Re: bug#5009: complete-symbol should probably not be bound in global-map
Date: Sat, 05 Dec 2009 17:03:06 -0500
> It fools people into believing there is a useful completion when there
> in fact is none. What use is for example symbol completion in
> css-mode, in php-mode etc?
>
> It is better to tell the truth. Bind it to there-is-no-completion-here
> (in a logic sense of course) in global map. Bind it to something
> useful in major modes.

I've just checked in a change that makes complete-symbol call
semantic-ia-complete-symbol if no tags table is loaded and Semantic is
enabled.  We don't have a Semantic parser for css-mode and php-mode yet,
but hopefully we will in the future.

I'm closing this bug.



bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jan 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 167 days ago.

Previous Next


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