From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4664: 23.1.50; local variables completions Date: Mon, 12 Oct 2009 02:54:55 +0300 Organization: JURTA Message-ID: <87my3xo59s.fsf@mail.jurta.org> References: <87pr8yanj1.fsf@mail.jurta.org> <87fx9u2kqk.fsf@mail.jurta.org> Reply-To: Juri Linkov , 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 1255306101 25551 80.91.229.12 (12 Oct 2009 00:08:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 00:08:21 +0000 (UTC) Cc: 4664@emacsbugs.donarmstrong.com, Leo To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 12 02:08:11 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 1Mx8SL-0007z9-9i for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Oct 2009 02:08:05 +0200 Original-Received: from localhost ([127.0.0.1]:36646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx8SK-0005sp-Ro for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 20:08:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx8Re-0005Sw-NY for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 20:07:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx8RW-0005Jg-G1 for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 20:07:19 -0400 Original-Received: from [199.232.76.173] (port=54620 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx8RW-0005Iq-3W for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 20:07:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54455) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mx8RU-00054P-SJ for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 20:07:13 -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 n9C07AaS016096; Sun, 11 Oct 2009 17:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9C057Wx014997; Sun, 11 Oct 2009 17:05:07 -0700 Resent-Date: Sun, 11 Oct 2009 17:05:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 12 Oct 2009 00:05:07 +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.125530554413475 (code B ref 4664); Mon, 12 Oct 2009 00:05:07 +0000 Original-Received: (at 4664) by emacsbugs.donarmstrong.com; 11 Oct 2009 23:59:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9BNx2rf013471 for <4664@emacsbugs.donarmstrong.com>; Sun, 11 Oct 2009 16:59:03 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.52.99.cable.starman.ee [82.131.52.99]) by mx1.starman.ee (Postfix) with ESMTP id 213E43F40FC; Mon, 12 Oct 2009 02:58:56 +0300 (EEST) In-Reply-To: (Stefan Monnier's message of "Fri, 09 Oct 2009 15:26:56 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 11 Oct 2009 20:07:19 -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:31843 Archived-At: >> 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. -- Juri Linkov http://www.jurta.org/emacs/