Re: [O] Summary of syntax?

2012-02-02 Thread Jambunathan K
Alan Schmitt alan.schm...@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)
-- 



Re: [O] Summary of syntax?

2012-02-02 Thread Tassilo Horn
Alan Schmitt alan.schm...@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




Re: [O] Summary of syntax?

2012-02-02 Thread Alan Schmitt

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



Re: [O] Summary of syntax?

2012-02-02 Thread Jacek Generowicz
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?



Re: [O] Summary of syntax?

2012-02-02 Thread Nick Dokos
Jacek Generowicz jacek.generow...@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



Re: [O] Summary of syntax?

2012-02-02 Thread Jacek Generowicz
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.