emacs-devel
[Top][All Lists]
Advanced

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

Re: Highlighting parentheses


From: Óscar Fuentes
Subject: Re: Highlighting parentheses
Date: Mon, 02 Feb 2009 22:13:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

Stefan Monnier <address@hidden> writes:

>> I like the feature but there is one caveat: parentheses are narrow and
>> colorizing is not the most effective way of making them
>> highly visible.
>
> Which makes me wonder: in which context is this coloring
> useful/desirable?

On some contexts where people use show-paren-mode. It is better because
you don't need to put the cursor on a parentheses to see the matching
delimiter.

> In Lisp at least, we usually don't want to make
> parentheses highly visible: learning Lisp is (to a large extent)
> teaching your eyes to ignore parentheses.

We need to see *some* parentheses: indentation level is not enough when
you put a non-trivial expression on a single line (which is a similar
scenario as for other languages, like C).

Finally, highlighting matching parentheses is something that adds to
indentation level when perceiving code structure.

IMO, this is not a killer feature, just nice.

-- 
Oscar





reply via email to

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