Re: How to get in-buffer setting from Elisp code

2024-03-10 Thread Sébastien Gendre
This is it. Thank you very much. Gerard Vermeulen writes: > On 10.03.2024 12:39, Sébastien Gendre wrote: >> Hi, >> Thank you for your reply. >> I talk about the Org-mode In-Buffer settings: >> https://orgmode.org/manual/In_002dbuffer-Settings.html >> > Try for instance: (org-collect-keywords

Re: How to get in-buffer setting from Elisp code

2024-03-10 Thread Gerard Vermeulen
On 10.03.2024 12:39, Sébastien Gendre wrote: Hi, Thank you for your reply. I talk about the Org-mode In-Buffer settings: https://orgmode.org/manual/In_002dbuffer-Settings.html Try for instance: (org-collect-keywords '("TITLE")) See: https://emacs.stackexchange.com/questions/21459/program

Re: How to get in-buffer setting from Elisp code

2024-03-10 Thread Sébastien Gendre
Hi, Thank you for your reply. I talk about the Org-mode In-Buffer settings: https://orgmode.org/manual/In_002dbuffer-Settings.html Bruno Barbier writes: > Hi Sébastien, > > Sébastien Gendre writes: > >> Hello, >> >> How can I access to an in-buffer setting value, from Elisp code ? >> > > II

Re: How to get in-buffer setting from Elisp code

2024-03-10 Thread Bruno Barbier
Hi Sébastien, Sébastien Gendre writes: > Hello, > > How can I access to an in-buffer setting value, from Elisp code ? > IIUC, they are called "Buffer-Local Variables". Using 'buffer-local-value' should give you the value of a variable in a buffer. See the manual for more: (info "(elis