From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#4664: 23.1.50; local variables completions Date: Mon, 12 Oct 2009 16:49:37 +0100 Message-ID: References: <87pr8yanj1.fsf@mail.jurta.org> <87fx9u2kqk.fsf@mail.jurta.org> <87my3xo59s.fsf@mail.jurta.org> Reply-To: Leo , 4664@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255363896 19846 80.91.229.12 (12 Oct 2009 16:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 16:11:36 +0000 (UTC) Cc: 4664@emacsbugs.donarmstrong.com, Stefan Monnier To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 12 18:11:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxNUb-0002IX-CQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Oct 2009 18:11:25 +0200 Original-Received: from localhost ([127.0.0.1]:56581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxNUa-0002h6-Co for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Oct 2009 12:11:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxNQc-0005qy-OO for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 12:07:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxNQX-0005jY-CJ for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 12:07:17 -0400 Original-Received: from [199.232.76.173] (port=33575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxNQX-0005jC-55 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 12:07:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52397) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxNQW-0006Jq-HX for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 12:07:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9CG7ABd001325; Mon, 12 Oct 2009 09:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9CFt64m031158; Mon, 12 Oct 2009 08:55:06 -0700 Resent-Date: Mon, 12 Oct 2009 08:55:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 12 Oct 2009 15:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4664-submit@emacsbugs.donarmstrong.com id=B4664.125536258130288 (code B ref 4664); Mon, 12 Oct 2009 15:55:06 +0000 Original-Received: (at 4664) by emacsbugs.donarmstrong.com; 12 Oct 2009 15:49:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ppsw-7.csi.cam.ac.uk (ppsw-7.csi.cam.ac.uk [131.111.8.137]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9CFndDN030285 for <4664@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 08:49:41 -0700 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:43919) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1MxN9W-0001Ps-Nt (Exim 4.70) (return-path ); Mon, 12 Oct 2009 16:49:38 +0100 In-Reply-To: <87my3xo59s.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 12 Oct 2009 02:54:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 12 Oct 2009 12:07:17 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31851 Archived-At: On 2009-10-12 00:54 +0100, Juri Linkov wrote: >>> This is a wrong fix. It again removes valid local variables like >>> `generated-autoload-file' from completion. The right fix would be >>> just to avoid trying to provide their current value as the default >>> value: >> >> Agreed. Actually even if a symbol is not known to be safe and not >> completable, it should be possible for the user to use it, since it may >> simply not be loaded yet. > > Yes, this is already the case: the user is free to enter any variable. > It is only completion with require-match=nil that provides a list > of known variable names. The completion of 'mode' does not include modes like outline-minor-mode. Is this an oversight? Leo