From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner Newsgroups: gmane.emacs.devel Subject: Ignore a Local Variables list Date: Sat, 21 Dec 2024 10:07:22 -0800 Message-ID: <87ttawewpx.fsf@breatheoutbreathe.in> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Max Nikulin , Bohong Huang To: Emacs Devel Mailing List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 21 19:59:43 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tP4hS-0005aD-WC for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Dec 2024 19:59:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP4gi-0006kX-10; Sat, 21 Dec 2024 13:58:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP3t3-0006Yk-M6 for emacs-devel@gnu.org; Sat, 21 Dec 2024 13:07:38 -0500 Original-Received: from out-170.mta1.migadu.com ([95.215.58.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP3t1-0007Ns-7e for emacs-devel@gnu.org; Sat, 21 Dec 2024 13:07:37 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1734804450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=pQz+3DqeVFTioV26wuRA5zhUpINwvpgEIe9bEY8Gi5U=; b=ZPVL0ITeCxlQ8seu6G7e+vFMiKKqjCXYQnfY1puQIBcExC53KQ0FlczazXd87DOOODqyqt T4Qp/S1II8moPd2wkbjctzszPkphEw1aPHvCjcPP/HI3TnoiDLFkkxOXT9ag8rvxQM+XpW DaAQ5S8oVtYgNY9+yL7BCTxZayvnZkM= X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.170; envelope-from=joseph@breatheoutbreathe.in; helo=out-170.mta1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Dec 2024 13:58:53 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326832 Archived-At: As described in this Org mailing list thread: https://yhetil.org/orgmode/dc5901c1-720a-4bec-9611-c62f9cfee45a@gmail.com/T/#t I'm looking to ignore a Local Variables list (in an Org file). Current solutions: Add a form feed character (with C-q C-l) below the Local Variables list. This works, but the form feed makes the document less portable, negatively affecting readability in other programs like Thunderbird. Also, it breaks certain Org workflows, such as exporting to odt. Another solution is to put an empty Local Variables list *above* the one I want to ignore. This solution seems fragile, since Emacs only looks within the last 3000 characters for a Local Variables list. Any other suggestions? Thank you! Joseph