Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Greg Minshall
Fraga, Eric  wrote:

> It comes with Emacs:

ah!  thanks!

cheers, Greg



Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Fraga, Eric
On Friday, 22 Jul 2022 at 19:05, Greg Minshall wrote:
> sorry, but what is the autoinsert package?

It comes with Emacs:

,[ C-h f auto-insert RET ]
| auto-insert is an autoloaded interactive compiled Lisp function in
| ‘autoinsert.el’.
| 
| (auto-insert)
| 
| Insert default contents into new files if variable ‘auto-insert’ is non-nil.
| Matches the visited file name against the elements of ‘auto-insert-alist’.
| 
|   Probably introduced at or before Emacs version 19.30.
| 
`

-- 
: Eric S Fraga, with org release_9.5.4-557-g3bbbf7 in Emacs 29.0.50

Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Greg Minshall
Eric,

> Have a look at #+SETUP but also consider the autoinsert package.

sorry, but what is the autoinsert package?

cheers, Greg



Re: Specify defaults for In Buffer Settings

2022-07-21 Thread Deepankar Sharma
Thank you!

On Thu, Jul 21, 2022 at 9:32 AM Fraga, Eric  wrote:

> On Thursday, 21 Jul 2022 at 04:08, Deepankar Sharma wrote:
> > Would appreciate any pointers on specifying defaults for In Buffer
> > Settings [https://orgmode.org/manual/In_002dbuffer-Settings.html] so
> > that they do not have to be inserted into every file.  Maybe an org
> > wide config file or something that is per directory?
>
> Have a look at #+SETUP but also consider the autoinsert package.
>
> --
> : Eric S Fraga, with org release_9.5.4-557-g3bbbf7 in Emacs 29.0.50


Re: Specify defaults for In Buffer Settings

2022-07-21 Thread Max Nikulin

On 21/07/2022 15:08, Deepankar Sharma wrote:
Would appreciate any pointers on specifying defaults for In Buffer 
Settings https://orgmode.org/manual/In_002dbuffer-Settings.html so that they 
do not have to be inserted into every file.  Maybe an org wide config 
file or something that is per directory?


Usually the same effect may be achieved by customizing of variables in 
Emacs init file. See also
info "(emacs) Directory Variables" 
https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html





Re: Specify defaults for In Buffer Settings

2022-07-21 Thread Fraga, Eric
On Thursday, 21 Jul 2022 at 04:08, Deepankar Sharma wrote:
> Would appreciate any pointers on specifying defaults for In Buffer
> Settings [https://orgmode.org/manual/In_002dbuffer-Settings.html] so
> that they do not have to be inserted into every file.  Maybe an org
> wide config file or something that is per directory?

Have a look at #+SETUP but also consider the autoinsert package.

-- 
: Eric S Fraga, with org release_9.5.4-557-g3bbbf7 in Emacs 29.0.50


Specify defaults for In Buffer Settings

2022-07-21 Thread Deepankar Sharma
Would appreciate any pointers on specifying defaults for In Buffer Settings
[https://orgmode.org/manual/In_002dbuffer-Settings.html] so that they do
not have to be inserted into every file.  Maybe an org wide config file or
something that is per directory?

Regards,
Deepankar