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: Tue, 13 Oct 2009 12:17:27 +0100 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: 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 1255433256 18673 80.91.229.12 (13 Oct 2009 11:27:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2009 11:27: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 Tue Oct 13 13:27: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 1MxfXI-00020B-3a for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 13:27:24 +0200 Original-Received: from localhost ([127.0.0.1]:42983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxfXH-0000lA-L1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 07:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxfXB-0000ko-M2 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 07:27:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxfX7-0000k2-Uh for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 07:27:17 -0400 Original-Received: from [199.232.76.173] (port=36681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxfX7-0000jz-LI for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 07:27:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40190) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxfX7-00066o-1M for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 07:27: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 n9DBRAEX006942; Tue, 13 Oct 2009 04:27:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9DBP6IZ006335; Tue, 13 Oct 2009 04:25:06 -0700 Resent-Date: Tue, 13 Oct 2009 04:25: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: Tue, 13 Oct 2009 11:25: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.12554326505068 (code B ref 4664); Tue, 13 Oct 2009 11:25:06 +0000 Original-Received: (at 4664) by emacsbugs.donarmstrong.com; 13 Oct 2009 11:17:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ppsw-1.csi.cam.ac.uk (ppsw-1.csi.cam.ac.uk [131.111.8.131]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9DBHS0Y005062 for <4664@emacsbugs.donarmstrong.com>; Tue, 13 Oct 2009 04:17:30 -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]:48422) by ppsw-1.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.151]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1MxfNg-0001Lw-3O (Exim 4.70) (return-path ); Tue, 13 Oct 2009 12:17:28 +0100 In-Reply-To: <87fx9ovaj9.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 12 Oct 2009 23:31:38 +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: Tue, 13 Oct 2009 07:27: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:31877 Archived-At: On 2009-10-12 21:31 +0100, Juri Linkov wrote: [...] >> The completion of 'mode' does not include modes like outline-minor-mode. >> Is this an oversight? > > I've excluded minor modes from completion intentionally because the manual > says in (info "(emacs) Specifying File Variables"): > > 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. Whether it is user preferences should be left for the users who are editing that file to decide. 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. > I'm not sure about a list of minor modes that represent user preferences. > Where can I see a complete list of their names? Since this is too vague, > perhaps we should include minor modes to the completion of 'mode'. -- Leo's Emacs uptime: 17 minutes, 0 seconds