[ESS] change font-lock-string-face for back ticks

Vitalie Spinu spinuvit at gmail.com
Tue Feb 18 20:19:51 CET 2014


 >>> Peter Meilstrup on Tue, 18 Feb 2014 10:06:52 -0800 wrote:

 > On Tue, Feb 18, 2014 at 8:56 AM, Vitalie Spinu <spinuvit at gmail.com> wrote:
 >> Could you please post a full setup that you have for % customization?

 > Here's what I have for ESS/R customization:
 > https://gist.github.com/crowding/9075782

Thanks.

 > pbm-find-grapes does the deemphasizing of % in a probably expensive manner.

 > I don't see how $ or @ can be said to form "semantic" symbols. The
 > left sides of these operators are evaluated normally, and can be any
 > expression such as data.frame(a=2, b=4)$a. They are accessors; if
 > foo$bar is a symbol so would have to be foo["bar"]. I rather
 > explicitly don't want forward-sexp to skip past a $ given my usual
 > editing habits.

I don't disagree, but again, this technical detail doesn't seem as a
good enough reason to change the current situation (at least not for
now). Such a change would require tracking all the instances where some
form of "xxx-at-point" or "forward-xxx" is used directly or indirectly
and change those into new logic.

Moreover, after such a change forward-sexp will behave similarly to
forward-word; useless redundancy. Now, if helps, you can think of
forward-sexping over foo$bar as if forward-sexping over ($ foo bar).


  Vitalie



More information about the ESS-help mailing list