emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Source Block header arguments
@ 2021-02-17 10:44 Russell Adams
  2021-02-18  3:08 ` Ihor Radchenko
  2021-02-18 11:10 ` Timothy
  0 siblings, 2 replies; 5+ messages in thread
From: Russell Adams @ 2021-02-17 10:44 UTC (permalink / raw)
  To: emacs-orgmode

I know I can easily create templates for frequently used code blocks.

My question is, is there a completion or in-place documentation for
valid header arguments to code blocks? The options are rather buried
in the manual.

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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

* Re: Source Block header arguments
  2021-02-17 10:44 Source Block header arguments Russell Adams
@ 2021-02-18  3:08 ` Ihor Radchenko
  2021-02-18 13:34   ` Russell Adams
  2021-02-18 11:10 ` Timothy
  1 sibling, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2021-02-18  3:08 UTC (permalink / raw)
  To: Russell Adams, emacs-orgmode

Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

> I know I can easily create templates for frequently used code blocks.
>
> My question is, is there a completion or in-place documentation for
> valid header arguments to code blocks? The options are rather buried
> in the manual.

I use helm-info-org for this.

Best,
Ihor



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

* Re: Source Block header arguments
  2021-02-17 10:44 Source Block header arguments Russell Adams
  2021-02-18  3:08 ` Ihor Radchenko
@ 2021-02-18 11:10 ` Timothy
  2021-02-18 13:38   ` Russell Adams
  1 sibling, 1 reply; 5+ messages in thread
From: Timothy @ 2021-02-18 11:10 UTC (permalink / raw)
  To: Russell Adams; +Cc: emacs-orgmode


Hi Russel,

Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

> I know I can easily create templates for frequently used code blocks.
>
> My question is, is there a completion or in-place documentation for
> valid header arguments to code blocks? The options are rather buried
> in the manual.

As it so happens, I have had the exact same annoyance.

My solution was using snippets, you can see the details by looking at:
+ https://tecosaur.github.io/emacs-config/config.html#snippet-helpers
+ https://tecosaur.github.io/emacs-config/config.html#snippets-org-mode

I hope that might be of some help/interest :)

--
Timothy


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

* Re: Source Block header arguments
  2021-02-18  3:08 ` Ihor Radchenko
@ 2021-02-18 13:34   ` Russell Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Russell Adams @ 2021-02-18 13:34 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Feb 18, 2021 at 11:08:32AM +0800, Ihor Radchenko wrote:
> Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
>
> > I know I can easily create templates for frequently used code blocks.
> >
> > My question is, is there a completion or in-place documentation for
> > valid header arguments to code blocks? The options are rather buried
> > in the manual.
>
> I use helm-info-org for this.

I have helm, and never saw this. Good tip!

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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

* Re: Source Block header arguments
  2021-02-18 11:10 ` Timothy
@ 2021-02-18 13:38   ` Russell Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Russell Adams @ 2021-02-18 13:38 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Feb 18, 2021 at 07:10:52PM +0800, Timothy wrote:
>
> Hi Russel,
>
> Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
>
> > I know I can easily create templates for frequently used code blocks.
> >
> > My question is, is there a completion or in-place documentation for
> > valid header arguments to code blocks? The options are rather buried
> > in the manual.
>
> As it so happens, I have had the exact same annoyance.
>
> My solution was using snippets, you can see the details by looking at:
> + https://tecosaur.github.io/emacs-config/config.html#snippet-helpers
> + https://tecosaur.github.io/emacs-config/config.html#snippets-org-mode

That is interesting. That's kind of what I was thinking could already
be implemented without my knowing. ;]

Maybe we need to buff the block insertion code?

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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

end of thread, other threads:[~2021-02-18 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-17 10:44 Source Block header arguments Russell Adams
2021-02-18  3:08 ` Ihor Radchenko
2021-02-18 13:34   ` Russell Adams
2021-02-18 11:10 ` Timothy
2021-02-18 13:38   ` Russell Adams

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).