From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Marco Wahl Newsgroups: gmane.emacs.bugs Subject: bug#24625: 26.0.50; Local variables list at beginning of a file Date: Fri, 15 Nov 2019 10:07:22 +0100 Organization: Marco Wahl Message-ID: <84lfshwlrp.fsf@gmail.com> References: <84int57upu.fsf@gmail.com> <87pni3vzzh.fsf@marxist.se> <847e44gir8.fsf@gmail.com> <83v9rm61b9.fsf@gnu.org> <874kz5om9c.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="49449"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 24625@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 15 10:03:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iVXVb-000Cjs-KO for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2019 10:03:15 +0100 Original-Received: from localhost ([::1]:36828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXVa-0000Mj-8v for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2019 04:03:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46938) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXVP-0000HC-4f for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2019 04:03:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVXVO-0000sI-2z for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2019 04:03:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVXVN-0000s8-Vm for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2019 04:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVXVN-0000th-P4 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2019 04:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marco Wahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2019 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24625 X-GNU-PR-Package: emacs Original-Received: via spool by 24625-submit@debbugs.gnu.org id=B24625.15738085323378 (code B ref 24625); Fri, 15 Nov 2019 09:03:01 +0000 Original-Received: (at 24625) by debbugs.gnu.org; 15 Nov 2019 09:02:12 +0000 Original-Received: from localhost ([127.0.0.1]:35644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXUa-0000sP-Fc for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:02:12 -0500 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:40113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXUV-0000rx-R3 for 24625@debbugs.gnu.org; Fri, 15 Nov 2019 04:02:10 -0500 Original-Received: by mail-wr1-f43.google.com with SMTP id i10so10074736wrs.7 for <24625@debbugs.gnu.org>; Fri, 15 Nov 2019 01:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UALlwEAzsT+OSPS5CQr2KvJyEcs9Hw0qYU8vnVBeM5g=; b=isE6dYFdJLnN/bKEaRyN5OxPt49pVCqoTbHXicmt/5UitvFZ1uGdZu0Uwkm2HeR+5i ozfXFhR9GrRbKiw5YNBRRu8lrATawn5HXGgXV9WT9ElJaT4DcqBmBFUZBYin4tMC4sl9 NO8JiYYnKs7IxIVLq8ut+ZVEfO5olQqpXZrG4ZL61a1qFMNPfVvUhJlSSTvgcdiVXWjH 5d3MpwnmUZ3sHd9wT2gyO/fzrx2STbE/dnHGfjIoimu3HSY0DB4GFSohNDjB7fQxQQZp NgRuEcfMUajuHPgTmXyS9Y06mebRlkXlDhhJ4S7fVyj9Sp6dIUNecI9whhcZ2RJR7rqr 6dYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=UALlwEAzsT+OSPS5CQr2KvJyEcs9Hw0qYU8vnVBeM5g=; b=PjbB+9ZuRFkNZezWWb6AtsFy1z4PgZIq8ZUPUG3LNJMrd4qsIfaqUDT+9EHOCihmUT rgsdTdpvGnksyoieJjBcvTiP8PJ84bVdjEB9Tc5im1jqqPvJzBZIaydrrHSs3YZjDiZP l0l2QGDnGTlaBWPCubQqZy/N03W3Py1HHD52pPxs/XCMfzCDHJY9AMmgU6TkvEcweYk0 FFyrXIgvgLGvAKc+g7kfneo5Rv/42fW6zAAOCAuNO0vXVLbFXIp84h880AkVpMgzxGIG pnvTQFM8mi17BA7zHm7RAxRnDFx5nXK1LRRiF2bWdl1HXyfSNEbf5rty8Fyj8suld4UP ZYHA== X-Gm-Message-State: APjAAAXvcHZZkxq5omjVOUMuHxG9THQVNwuNttiRSnF0Dr/FGDqNYQIT iQnqxqjUhxL1dM6XbAlT8X4= X-Google-Smtp-Source: APXvYqwahwfqhbr+5fJvTMPco4qoaoV1yvT3rj9u4gb8BGCQB3CcaB2RiM9aq6S0jo9lxVkXGP6IuQ== X-Received: by 2002:adf:c00a:: with SMTP id z10mr13706088wre.81.1573808521542; Fri, 15 Nov 2019 01:02:01 -0800 (PST) Original-Received: from lel (p200300D867104D40403E078CF6703533.dip0.t-ipconnect.de. [2003:d8:6710:4d40:403e:78c:f670:3533]) by smtp.gmail.com with ESMTPSA id w4sm8560873wmi.39.2019.11.15.01.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 01:02:00 -0800 (PST) In-Reply-To: <874kz5om9c.fsf@marxist.se> (Stefan Kangas's message of "Fri, 15 Nov 2019 04:23:59 +0100") 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: 209.51.188.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:171651 Archived-At: Stefan Kangas writes: > Eli Zaretskii writes: > >>> For people who want to keep the first line short this feature could >>> help. >>> >>> Possibly of interest: >>> >>> My motivation asking for this feature was local variables at the bottom >>> of outline/Org files. In my experience for those kind of files, which >>> typically consist of some trees, it is rather difficult to keep >>> something (here the local variables) at the bottom. Too easily a >>> further tree gets appended at the end of the file or the trees in the >>> file get sorted. On the other hand the top of those kind of files stays >>> relatively static. > > I usually set up a header like the following at the end of the > file: > > * org-mode configuration :noexport: > > #+STARTUP: content hidestars indent > # Local Variables: > > # ispell-local-dictionary: "swedish" > # End: > > That avoids accidentally exporting the header or moving it > around. YMMV. Thanks for this idea.. >> If this is for Org, perhaps Org could have its own private feature? > > Org already has this for various settings, but not for arbitrary Lisp > variables. Perhaps someone could suggest to add missing options to > the org mode developer. Good idea, I think. Possibly I'll try to go down that (Org) path if the issue bothers me again. >> In general, having the variables at the beginning will get in the way >> of reading the file's contents by humans: you will first need to skip >> the variables' section and wonder what does that do there. > > Agreed. Agreed. Possibly it's time to close bug#24625. Thanks all!