From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongxu Chen Newsgroups: gmane.emacs.help Subject: Re: Can I turn on some minor mode on specific files? Date: Sun, 26 May 2013 21:29:16 +0800 Message-ID: <87hahphntf.fsf@gmail.com> References: <87r4gujzgj.fsf@kuiper.lan.informatimago.com> <87y5b2h0jm.fsf@gmail.com> <51A1AAE4.8030300@pobox.com> <87li71hqez.fsf@gmail.com> <87a9nhyk0e.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369574982 20295 80.91.229.3 (26 May 2013 13:29:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 May 2013 13:29:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jambunathan K Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 26 15:29:41 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ugb13-0007VM-1J for geh-help-gnu-emacs@m.gmane.org; Sun, 26 May 2013 15:29:41 +0200 Original-Received: from localhost ([::1]:53938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugb12-0001Jo-LQ for geh-help-gnu-emacs@m.gmane.org; Sun, 26 May 2013 09:29:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugb0p-0001Jj-5w for help-gnu-emacs@gnu.org; Sun, 26 May 2013 09:29:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ugb0l-00063C-Gm for help-gnu-emacs@gnu.org; Sun, 26 May 2013 09:29:27 -0400 Original-Received: from mail-pd0-f174.google.com ([209.85.192.174]:33944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugb0l-00062e-9M for help-gnu-emacs@gnu.org; Sun, 26 May 2013 09:29:23 -0400 Original-Received: by mail-pd0-f174.google.com with SMTP id 3so3928329pdj.19 for ; Sun, 26 May 2013 06:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=CTMXUXxuXBnPR05Ums6oCuAITLjDW/oM8pjXRQLGMQ8=; b=PhZfNWCUVtBV1et0QJXrA2DkGDC/exa5Dy5GV/o1Xce7R20o0QuBOG4Io+zWo6mOiS 5nzZhtnSeSd9JqR5HtJJslLYkoZp+pndd4Blx2g0beBGLjP9e4QUbhv4j2+e8ZyQXpmO UHO8Rjz/VRGtBbvXd0kTwVq6/KQwY2E3q69lXskMuj86+Ava/qBSfvOFsWKqSdgpfmFD AtT/kFD1T84RCli7DydsKVDhEQKyTnsa8s8Mj/3QfkoNXsbS2DrlKH4K2Go7YgRg6kQU lmXF8wmF/+/U9LomL638HbpCfRRUsafITCHQIBIP5aKDRNcWS788z0kXFWtpF5kKiUWq MY0w== X-Received: by 10.66.193.72 with SMTP id hm8mr26155535pac.23.1369574962270; Sun, 26 May 2013 06:29:22 -0700 (PDT) Original-Received: from hongxuchen-VM.STAP ([207.46.92.19]) by mx.google.com with ESMTPSA id ue8sm26209047pac.14.2013.05.26.06.29.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 26 May 2013 06:29:21 -0700 (PDT) In-Reply-To: <87a9nhyk0e.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 26 May 2013 18:29:29 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.174 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91068 Archived-At: Thanks, I can get the info page now:-) Jambunathan K writes: > If you are on debian, try > > sudo apt-get install emacs23-common-non-dfsg > > > > Hongxu Chen writes: > >> But it complains: >> >> Info-find-file: Info file emacs does not exist >> >> I am runnning on Emacs 24.3. >> >> Also, Pascal's advice is NOT correct since adding `mode' in the modeline >> would change the major mode rather than minor modes, and the right way >> is to append the following: >> >> # Local Variables: >> # eval: (flyspell-mode 1) >> # End: >> >> Bernardo writes: >> >>>> >>>> Another question, is the local variable specified should be limited to >>>> be within 512 bytes exactly? I haven't found the related docs yet. >>> >>> M-: (info "(emacs)Specifying file variables") >>> >>> -- Regards, Hongxu Chen