From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: org-hide-emphasis-markers Date: Fri, 06 Mar 2020 09:15:16 +0000 Message-ID: <87ftelvo7v.fsf@yandex.com> References: <87o8tauggo.fsf@yandex.com> <87eeu5rkdi.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="14925"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 06 10:15:51 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 1jA95C-0003kZ-Ed for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 10:15:50 +0100 Original-Received: from localhost ([::1]:33250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA95B-0001dF-G4 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 04:15:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA94n-0001Zd-VQ for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 04:15:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jA94l-0001YQ-Jw for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 04:15:24 -0500 Original-Received: from forward100p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:100]:39674) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jA94k-0001Ca-UC for help-gnu-emacs@gnu.org; Fri, 06 Mar 2020 04:15:23 -0500 Original-Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 4121059802A3; Fri, 6 Mar 2020 12:15:18 +0300 (MSK) Original-Received: from mxback12q.mail.yandex.net (mxback12q.mail.yandex.net [IPv6:2a02:6b8:c0e:1b3:0:640:3818:d096]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 3D6BA7F20017; Fri, 6 Mar 2020 12:15:18 +0300 (MSK) Original-Received: from vla3-5ed9a7202853.qloud-c.yandex.net (vla3-5ed9a7202853.qloud-c.yandex.net [2a02:6b8:c15:341d:0:640:5ed9:a720]) by mxback12q.mail.yandex.net (mxback/Yandex) with ESMTP id mxhgIx7cuU-FH1OKTXR; Fri, 06 Mar 2020 12:15:18 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1583486118; bh=7OTvchmCSuQ8cNz9Mw8nGoynK1AYBX83hSKOlZZMb/I=; h=In-Reply-To:Subject:To:From:Cc:Cc:Date:References:Message-ID; b=yQDshawU86NttEgOdH7dwyoniB3akUOhIaTOiTREs4tvEWSkekV8q2DSfU6S7FjFr oAR9Y/3bDU3c5zjOAZeGA1tWNB0YQcwqwt6inSZdgy96ecnOFeuSDrFmWK4thqRJ83 SgBS879SdiPVwNChmdHoTSeGYPHFwFzjSigjHTMM= Authentication-Results: mxback12q.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by vla3-5ed9a7202853.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id EQRKxVRu3f-FGVqbQrM; Fri, 06 Mar 2020 12:15:17 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H In-Reply-To: <87eeu5rkdi.fsf@fastmail.fm> (Joost Kremers's message of "Fri, 06 Mar 2020 08:51:53 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAA JUlEQVQokWP4/5/hPy4cGrrqAAPD//+4MBMDBWBU86jmUc1YAABEGSUO7ENchAAAAABJRU5ErkJg gg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a02:6b8:0:1472:2741:0:8b7:100 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:122536 Archived-At: Dear Joost, Thanks. I've used you second suggestion and it works beautifully. I haven't tried your first suggestion since I already have trouble remembering what I've put in my emacs-init file without adding to the memory problem. Thanks again,, Best wishes, Colin. >>>>> Joost Kremers writes: > 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 Colin Baxter www.Colin-Baxter.com --------------------------------------------------------------------- GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8 --------------------------------------------------------------------- The sole cause of all human misery is the inability of people to sit quietly in their rooms. Blaise Pascal, 1670 ---------------------------------------------------------------------