From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: org-hide-emphasis-markers Date: Fri, 06 Mar 2020 08:51:53 +0100 Message-ID: <87eeu5rkdi.fsf@fastmail.fm> References: <87o8tauggo.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54448"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.9; emacs 27.0.90 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 06 08:52:29 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1jA7mX-000E5n-Bh for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 08:52:29 +0100 Original-Received: from localhost ([::1]:60654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA7mW-0004t8-EN for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 02:52:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48302) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA7m2-0004qq-Hl for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 02:51:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jA7m1-0000NH-Hc for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 02:51:58 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:44501) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jA7m1-0000Hp-7f for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 02:51:57 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AB6542151C for ; Fri, 6 Mar 2020 02:51:55 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 06 Mar 2020 02:51:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=C+fyl+u2AF4RIRN8r9dDs34NZN MyGFHoWP7A+n7w5Og=; b=UzvRC5vRDtSKX3uUmHWUpxdTP+tHJYEWRoc8+1gvGD Pom+qnZFteHwhObG54GZIJy0SSaXnMAFum0IliK3LBniGnEbX+93VB4eUpODIsrv u8l02PW0tCE7rnpUKdnTmOBrNh4+VFB+vPQvJLS28k8Wq5fra8CFJaf+FwxVQcxz IDePHJur2mCTj73Mb3ObfqfK2/WC7xn/6KpRjd7XN8C77UgtE5dQb/72sFOY7Adm wGf5rbDCfYSO/oQBtfcYSsFBGJH1xCf45IQv09ls7IgSmtBhLVo2FG32fobBp4xx aPMuXRVE0mwM/3OOI7Q8NsQikxemxpfyvJB2EwEAu64g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=C+fyl+ u2AF4RIRN8r9dDs34NZNMyGFHoWP7A+n7w5Og=; b=t2MyE3KT91fJgFxBtmprGc 7bvB+RDg7KOl1jr6+lKr0h0x+E7rEObyipzIyuo/0edHXCqVgHWtXdzqXxOw6Oyj butsVC+5fy6nmmLqrFfazkuSR3ljTpN2bJKxoPPWoAEdRCutk3GqwugRR4IaEmAk DZNPWh8W4NzYGSatj4KW0tvIJTJuzSGg0eQ3r2kUyrvXkT5d0/lx7nBP6kh1JbI1 avUMadID06e01DzgaemP0pe/mmEHc1u/erJG27vuOe/XMWY4QuhH921RV7Nqt/JE qJH/GsKbexcbMhw3yi645uO9Ve5q1ohfW6RLIMBEGU6PdekggCZTSluXEJiVZK/w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduuddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufgjfffkgggtsehttd ertddtredtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucfkphepleehrdeltddrvddtuddriedvne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhs thhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from IdeaPad.fastmail.com (ip5f5ac93e.dynamic.kabel-deutschland.de [95.90.201.62]) by mail.messagingengine.com (Postfix) with ESMTPA id 2B61A30614B1 for ; Fri, 6 Mar 2020 02:51:55 -0500 (EST) In-reply-to: <87o8tauggo.fsf@yandex.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122535 Archived-At: On Fri, Mar 06 2020, Colin Baxter wrote: > Hello, > > Is it possible to set the org-mode variable > 'org-hide-emphasis-markers' > as a local variables? I've tried > > # eval: (setq org-hide-emphasis-markers t) > > but that turns it on globally. You could try putting the following in your init file: (make-variable-buffer-local 'org-hide-emphasis-markers) and then use a file-local variable setting. It should be enough to do: # org-hide-emphasis-markers: t There shouldn't be a need for `eval` in this case. If that approach doesn't work (I don't see why it wouldn't though), you could try the following in your local variable block: # eval: (set (make-local-variable 'org-hide-emphasis-markers) t) HTH -- Joost Kremers Life has its moments