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.

Full log


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.



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.