* org-hide-emphasis-markers
@ 2020-03-06 6:48 Colin Baxter
2020-03-06 7:51 ` org-hide-emphasis-markers Joost Kremers
0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2020-03-06 6:48 UTC (permalink / raw)
To: help-gnu-emacs
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.
Best wishes,
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
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-hide-emphasis-markers
2020-03-06 6:48 org-hide-emphasis-markers Colin Baxter
@ 2020-03-06 7:51 ` Joost Kremers
2020-03-06 9:15 ` org-hide-emphasis-markers Colin Baxter
0 siblings, 1 reply; 4+ messages in thread
From: Joost Kremers @ 2020-03-06 7:51 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-hide-emphasis-markers
2020-03-06 7:51 ` org-hide-emphasis-markers Joost Kremers
@ 2020-03-06 9:15 ` Colin Baxter
2020-03-06 9:53 ` org-hide-emphasis-markers Joost Kremers
0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2020-03-06 9:15 UTC (permalink / raw)
To: Joost Kremers; +Cc: help-gnu-emacs
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 <joostkremers@fastmail.fm> 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
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-hide-emphasis-markers
2020-03-06 9:15 ` org-hide-emphasis-markers Colin Baxter
@ 2020-03-06 9:53 ` Joost Kremers
0 siblings, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2020-03-06 9:53 UTC (permalink / raw)
To: help-gnu-emacs
On Fri, Mar 06 2020, Colin Baxter wrote:
> 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.
I know what you mean. :-) But keep in mind that you can easily add
comments to your init file by starting a line with `;;`. Might
help you to remember why exactly you put a particular line in your
init file.
--
Joost Kremers
Life has its moments
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-03-06 9:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-06 6:48 org-hide-emphasis-markers Colin Baxter
2020-03-06 7:51 ` org-hide-emphasis-markers Joost Kremers
2020-03-06 9:15 ` org-hide-emphasis-markers Colin Baxter
2020-03-06 9:53 ` org-hide-emphasis-markers Joost Kremers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.