From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#24292: # Local Variables: not working Date: Wed, 24 Aug 2016 11:21:22 +0000 Message-ID: <20160824112121.GA4920@acm.fritz.box> References: <87oa4j7qdq.fsf@gmail.com> <20160823170000.GA13678@acm.fritz.box> <87oa4ituj4.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1472037743 18465 195.159.176.226 (24 Aug 2016 11:22:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2016 11:22:23 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: 24292@debbugs.gnu.org To: nullx002 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 24 13:22:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcWG9-0004LF-Tw for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2016 13:22:18 +0200 Original-Received: from localhost ([::1]:50681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcWG7-0003E2-AP for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2016 07:22:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcWG0-0003Dj-Fy for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2016 07:22:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcWFu-0003Yz-He for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2016 07:22:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcWFu-0003Yt-Dj for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2016 07:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bcWFu-0000ni-9a for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2016 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2016 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24292 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24292-submit@debbugs.gnu.org id=B24292.14720377113058 (code B ref 24292); Wed, 24 Aug 2016 11:22:02 +0000 Original-Received: (at 24292) by debbugs.gnu.org; 24 Aug 2016 11:21:51 +0000 Original-Received: from localhost ([127.0.0.1]:38711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcWFi-0000nG-NN for submit@debbugs.gnu.org; Wed, 24 Aug 2016 07:21:50 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:60166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcWFg-0000n7-U4 for 24292@debbugs.gnu.org; Wed, 24 Aug 2016 07:21:49 -0400 Original-Received: (qmail 95964 invoked by uid 3782); 24 Aug 2016 11:21:47 -0000 Original-Received: from acm.muc.de (p548C661A.dip0.t-ipconnect.de [84.140.102.26]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 24 Aug 2016 13:21:46 +0200 Original-Received: (qmail 4967 invoked by uid 1000); 24 Aug 2016 11:21:22 -0000 Content-Disposition: inline In-Reply-To: <87oa4ituj4.fsf@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122582 Archived-At: On Wed, Aug 24, 2016 at 02:26:15PM +0530, nullx002 wrote: > Alan Mackenzie writes: > initially i added LV using commands and that automatically added it at > the bottom of the buffer/file and it didn't work in that case for both > large and small files. but when i added those line manually by hand as > you suggested it worked. (for both large and small files) Glad to hear it! > however there is a problem as i have to add extra top-level heading just > above the LV block as to avoid it messing up with the org-drill and > org-drill-table-generate i use to create :drill: for those org > files. it works well for me now with :noexport: tag for that last > heading for LV block. is there a better way to achieve what i am trying > to do without adding a dummy header for LV block at the end of the file? This is where your removal of the bug list address from the Cc: counts against you. I actually know nothing about org mode, but other people reading the list actually know quite a lot. However, I looked into the org mode manual, and see you can write comments by starting a line with "#". The "Local Variables:" line is quite happy being after a comment marker, so you could write your LV list entirely in org mode comments: # Local Variables: # ... # End: > thanks for you quick reply it was very helpful. Just one or two tips on getting quick help in the future. Your post would have been more appropriate on help-gnu-emacs@gnu.org, since it was not clear that it was an actual Emacs bug. (As it turned out, it wasn't.) Please, as already mentioned, leave in the list address when you reply. That way, more people get to see the problem, and there is a complete record of the thread in the archives. Anyways, I hope you can now get things sorted out, and continue being a happy Emacs user. :-) -- Alan Mackenzie (Nuremberg, Germany).