From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4664: 23.1.50; local variables completions Date: Tue, 13 Oct 2009 15:52:36 -0400 Message-ID: References: <87pr8yanj1.fsf@mail.jurta.org> <87fx9u2kqk.fsf@mail.jurta.org> <87my3xo59s.fsf@mail.jurta.org> <87fx9ovaj9.fsf@mail.jurta.org> Reply-To: Stefan Monnier , 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 1255464460 8205 80.91.229.12 (13 Oct 2009 20:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2009 20:07:40 +0000 (UTC) Cc: 4664@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 13 22:07:30 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 1MxneW-0004BF-KN for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 22:07:24 +0200 Original-Received: from localhost ([127.0.0.1]:52734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxneW-0007L5-6S for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 16:07:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxneR-0007Jx-E5 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 16:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxneN-0007ET-Sr for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 16:07:19 -0400 Original-Received: from [199.232.76.173] (port=41575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxneN-0007ED-Gm for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 16:07:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56190) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxneM-0006H9-NU for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 16:07:15 -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 n9DK7AW7003751; Tue, 13 Oct 2009 13:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9DK05uu001558; Tue, 13 Oct 2009 13:00:05 -0700 Resent-Date: Tue, 13 Oct 2009 13:00:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 13 Oct 2009 20:00:05 +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.1255463570515 (code B ref 4664); Tue, 13 Oct 2009 20:00:05 +0000 Original-Received: (at 4664) by emacsbugs.donarmstrong.com; 13 Oct 2009 19:52:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9DJqhMq000509 for <4664@emacsbugs.donarmstrong.com>; Tue, 13 Oct 2009 12:52:45 -0700 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n9DJqbIg012262; Tue, 13 Oct 2009 15:52:37 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id E4FAD3A07F; Tue, 13 Oct 2009 15:52:36 -0400 (EDT) In-Reply-To: (Leo's message of "Tue, 13 Oct 2009 12:17:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3383=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 13 Oct 2009 16: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:31881 Archived-At: >> I've excluded minor modes from completion intentionally because the manual >> says in (info "(emacs) Specifying File Variables"): I'm not sure it's a good idea to remove them from completions. >> You can use the `mode' "variable" to set minor modes as well as the >> major modes; in fact, you can use it more than once, first to set the >> major mode and then to set minor modes which are specific to particular >> buffers. But most minor modes should not be specified in the file at >> all, because they represent user preferences. > I wonder if this is a bit silly. Which part is silly? The above text simply describes things as they stand, without forcing any particular choice. > Whether it is user preferences should be left for the users who are > editing that file to decide. Which it is. We simply added the note about minor modes (which is actually not specific to minor modes, it also holds for many plain variables), because it has been found to be a common misuse. > For example, if Will Smith and I are editing the same file and I want > to enable outline-minor-mode in the local variables, I will consult > him before enabling it. That's fine. A very common situation is a file that you're the sole author, so you put any random personal setting in there without having to worry about asking Will. And then you publish it on the web (e.g. it could be an Elisp package), so anybody who opens it in Emacs gets your preferences imposed on himself while viewing your file. > Leo's Emacs uptime: 17 minutes, 0 seconds 17 minutes and counting... how's that for impressive?! Stefan