emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Specify defaults for In Buffer Settings
@ 2022-07-21  8:08 Deepankar Sharma
  2022-07-21 13:32 ` Fraga, Eric
  2022-07-21 14:19 ` Max Nikulin
  0 siblings, 2 replies; 7+ messages in thread
From: Deepankar Sharma @ 2022-07-21  8:08 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 404 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-21  8:08 Specify defaults for In Buffer Settings Deepankar Sharma
@ 2022-07-21 13:32 ` Fraga, Eric
  2022-07-21 21:35   ` Deepankar Sharma
  2022-07-22 16:05   ` Greg Minshall
  2022-07-21 14:19 ` Max Nikulin
  1 sibling, 2 replies; 7+ messages in thread
From: Fraga, Eric @ 2022-07-21 13:32 UTC (permalink / raw)
  To: Deepankar Sharma; +Cc: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-21  8:08 Specify defaults for In Buffer Settings Deepankar Sharma
  2022-07-21 13:32 ` Fraga, Eric
@ 2022-07-21 14:19 ` Max Nikulin
  1 sibling, 0 replies; 7+ messages in thread
From: Max Nikulin @ 2022-07-21 14:19 UTC (permalink / raw)
  To: emacs-orgmode

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-21 13:32 ` Fraga, Eric
@ 2022-07-21 21:35   ` Deepankar Sharma
  2022-07-22 16:05   ` Greg Minshall
  1 sibling, 0 replies; 7+ messages in thread
From: Deepankar Sharma @ 2022-07-21 21:35 UTC (permalink / raw)
  To: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

Thank you!

On Thu, Jul 21, 2022 at 9:32 AM Fraga, Eric <e.fraga@ucl.ac.uk> 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

[-- Attachment #2: Type: text/html, Size: 983 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-21 13:32 ` Fraga, Eric
  2022-07-21 21:35   ` Deepankar Sharma
@ 2022-07-22 16:05   ` Greg Minshall
  2022-07-22 17:09     ` Fraga, Eric
  1 sibling, 1 reply; 7+ messages in thread
From: Greg Minshall @ 2022-07-22 16:05 UTC (permalink / raw)
  To: Org Mode List

Eric,

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

sorry, but what is the autoinsert package?

cheers, Greg


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-22 16:05   ` Greg Minshall
@ 2022-07-22 17:09     ` Fraga, Eric
  2022-07-22 17:58       ` Greg Minshall
  0 siblings, 1 reply; 7+ messages in thread
From: Fraga, Eric @ 2022-07-22 17:09 UTC (permalink / raw)
  To: Org Mode List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Specify defaults for In Buffer Settings
  2022-07-22 17:09     ` Fraga, Eric
@ 2022-07-22 17:58       ` Greg Minshall
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Minshall @ 2022-07-22 17:58 UTC (permalink / raw)
  To: Org Mode List

Fraga, Eric <e.fraga@ucl.ac.uk> wrote:

> It comes with Emacs:

ah!  thanks!

cheers, Greg


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-22 17:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21  8:08 Specify defaults for In Buffer Settings Deepankar Sharma
2022-07-21 13:32 ` Fraga, Eric
2022-07-21 21:35   ` Deepankar Sharma
2022-07-22 16:05   ` Greg Minshall
2022-07-22 17:09     ` Fraga, Eric
2022-07-22 17:58       ` Greg Minshall
2022-07-21 14:19 ` Max Nikulin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).