[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Capitalisation and good taste ?

From: François Pinard
Subject: Re: [O] Capitalisation and good taste ?
Date: Tue, 10 Jan 2012 15:18:38 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (gnu/linux)

Bastien <address@hidden> writes:

> Eric Schulte <address@hidden> writes:

>> That said I'm happy that Org-mode is forgiving enough to allow me to
>> lowercase most of my keywords locally.

> Actually, I'm thinking of another solution:

> - keep one-line option/environment keywords uppercase
>   #+NAME
>   #+HTML
>   #+TITLE
>   #+...

> - use lowercase for multi-lines environments keywords
>   #+begin_ascii
>   #+begin_html
>   #+results

> This is the only good criterium I can think of, and that
> way people using easy templates will not be surprised to
> see #+begin_xxx in the manual.

I surely like this! :-).

Could the highlighting be made consistent as well?  I would suggest that
gray is uniformly kept for all one-line option/environment keywords.
Currently, #+TITLE is gray, #+OPTIONS is red, so #+OPTION would be
rendered the same as #+TITLE.  The gray would counter-balance the
shouting of the capitals, making it more bearable.

For lowercase multi-line environments keywords, red is just fine, and I
did not see exceptions so far (which does not mean there are not any).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]