emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Summary of syntax?
@ 2012-02-02  8:47 Alan Schmitt
  2012-02-02  9:06 ` Jambunathan K
  2012-02-02  9:10 ` Tassilo Horn
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Schmitt @ 2012-02-02  8:47 UTC (permalink / raw)
  To: Org Mode List

Hello,

I was just reading a document in org mode that had some code written 
like this:

: make
: make install

I wanted to know more about this syntax (colon at the start of the 
line), so I went to the manual and searched for it. Unfortunately I 
could not find it, nor could I find a summary of the syntax for org 
files.

Is there a syntax reference card somewhere?

Thanks a lot,

Alan

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

* Re: Summary of syntax?
  2012-02-02  8:47 Summary of syntax? Alan Schmitt
@ 2012-02-02  9:06 ` Jambunathan K
  2012-02-02  9:10 ` Tassilo Horn
  1 sibling, 0 replies; 7+ messages in thread
From: Jambunathan K @ 2012-02-02  9:06 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: Org Mode List

"Alan Schmitt" <alan.schmitt@polytechnique.org> writes:
> Hello,
>
> I was just reading a document in org mode that had some code written
> like this:
>
> : make
> : make install
>
> I wanted to know more about this syntax (colon at the start of the
> line), 

M-x apropos-variable RET fixed-width

or

M-x org-info
g Literal Examples

Search for Fixed width

or

(info "(org) Literal examples")
-- 

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

* Re: Summary of syntax?
  2012-02-02  8:47 Summary of syntax? Alan Schmitt
  2012-02-02  9:06 ` Jambunathan K
@ 2012-02-02  9:10 ` Tassilo Horn
  2012-02-02  9:16   ` Alan Schmitt
  2012-02-02  9:17   ` Jacek Generowicz
  1 sibling, 2 replies; 7+ messages in thread
From: Tassilo Horn @ 2012-02-02  9:10 UTC (permalink / raw)
  To: emacs-orgmode

"Alan Schmitt" <alan.schmitt@polytechnique.org> writes:

Hi Alan,

> I was just reading a document in org mode that had some code written
> like this:
>
> : make
> : make install
>
> I wanted to know more about this syntax (colon at the start of the
> line), so I went to the manual and searched for it.

Here it is.

,----[ (info "(org)Literal examples") ]
| For simplicity when using small examples, you can also start
| the example lines with a colon followed by a space.  There may also be
| additional whitespace before the colon:
| 
|      Here is an example
|         : Some example from a text file.
`----

> Unfortunately I could not find it, nor could I find a summary of the
> syntax for org files.
>
> Is there a syntax reference card somewhere?

Not that I know of...

Bye,
Tassilo

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

* Re: Summary of syntax?
  2012-02-02  9:10 ` Tassilo Horn
@ 2012-02-02  9:16   ` Alan Schmitt
  2012-02-02  9:17   ` Jacek Generowicz
  1 sibling, 0 replies; 7+ messages in thread
From: Alan Schmitt @ 2012-02-02  9:16 UTC (permalink / raw)
  To: emacs-orgmode

On 2 Feb 2012, at 10:10, Tassilo Horn wrote:

>> I wanted to know more about this syntax (colon at the start of the
>> line), so I went to the manual and searched for it.
>
> Here it is.
>
> ,----[ (info "(org)Literal examples") ]
> | For simplicity when using small examples, you can also start
> | the example lines with a colon followed by a space.  There may also 
> be
> | additional whitespace before the colon:
> |
> |      Here is an example
> |         : Some example from a text file.
> `----

Thanks a lot (and thanks Jambunathan K as well).

>> Unfortunately I could not find it, nor could I find a summary of the
>> syntax for org files.
>>
>> Is there a syntax reference card somewhere?
>
> Not that I know of...

This would be most useful: I don't think I could have found this by 
myself, except knowing the name of what I was searching for. Maybe I 
should do it (it would be a nice way to really learn the syntax).

Alan

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

* Re: Summary of syntax?
  2012-02-02  9:10 ` Tassilo Horn
  2012-02-02  9:16   ` Alan Schmitt
@ 2012-02-02  9:17   ` Jacek Generowicz
  2012-02-02  9:42     ` Nick Dokos
  1 sibling, 1 reply; 7+ messages in thread
From: Jacek Generowicz @ 2012-02-02  9:17 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: emacs-orgmode

At Thu, 2 Feb 2012 10:10:29 +0100,
Tassilo Horn wrote:
> 
> Here it is.
> 
> ,----[ (info "(org)Literal examples") ]
> | For simplicity when using small examples, you can also start
> | the example lines with a colon followed by a space.  There may also be
> | additional whitespace before the colon:
> | 
> |      Here is an example
> |         : Some example from a text file.
> `----
> 

Orthogonal question: what citing/quoting/formatting facility are you
using to create the above?

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

* Re: Summary of syntax?
  2012-02-02  9:17   ` Jacek Generowicz
@ 2012-02-02  9:42     ` Nick Dokos
  2012-02-02 10:37       ` Jacek Generowicz
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2012-02-02  9:42 UTC (permalink / raw)
  To: Jacek Generowicz; +Cc: Tassilo Horn, nicholas.dokos, emacs-orgmode

Jacek Generowicz <jacek.generowicz@cern.ch> wrote:

> At Thu, 2 Feb 2012 10:10:29 +0100,
> Tassilo Horn wrote:
> > 
> > Here it is.
> > 
> > ,----[ (info "(org)Literal examples") ]
> > | For simplicity when using small examples, you can also start
> > | the example lines with a colon followed by a space.  There may also be
> > | additional whitespace before the colon:
> > | 
> > |      Here is an example
> > |         : Some example from a text file.
> > `----
> > 
> 
> Orthogonal question: what citing/quoting/formatting facility are you
> using to create the above?
> 

I'm pretty sure it's boxquote.el. The top of the file says:

,----
| ;; The latest version of boxquote.el can be found at:
| ;;
| ;;   <URL:http://www.davep.org/emacs/#boxquote.el>
`----

Nick

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

* Re: Summary of syntax?
  2012-02-02  9:42     ` Nick Dokos
@ 2012-02-02 10:37       ` Jacek Generowicz
  0 siblings, 0 replies; 7+ messages in thread
From: Jacek Generowicz @ 2012-02-02 10:37 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

Nick Dokos wrote:
> I'm pretty sure it's boxquote.el.

Which led me to discover rebox2 (based on François' rebox.el).

http://www.emacswiki.org/emacs/rebox2

It's one of these moments where I get to feel all warm and fuzzy
inside, because I live in the Emacs world.

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

end of thread, other threads:[~2012-02-02 10:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-02  8:47 Summary of syntax? Alan Schmitt
2012-02-02  9:06 ` Jambunathan K
2012-02-02  9:10 ` Tassilo Horn
2012-02-02  9:16   ` Alan Schmitt
2012-02-02  9:17   ` Jacek Generowicz
2012-02-02  9:42     ` Nick Dokos
2012-02-02 10:37       ` Jacek Generowicz

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