emacs-devel
[Top][All Lists]
Advanced

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

Re: Add ruby-mode.el configuration for font-face customization


From: Dmitry Gutov
Subject: Re: Add ruby-mode.el configuration for font-face customization
Date: Fri, 28 Apr 2017 12:12:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Thunderbird/53.0

Hello Justin,

On 24.04.2017 4:55, Justin Smestad wrote:
I've been in the process of switching over to emacs and noticed the syntax highlighter for `ruby-mode.el` is much less customizable than say `python.el`.

Is that right? I don't see any python-...-face variables in lisp/progmodes/python.el.

In an effort to make it more customizable, I created this patch - https://gist.github.com/jsmestad/d4ab36c94c5d22bb68a72d8d403b4cb7#file-ruby-mode-revised-patch <https://gist.github.com/jsmestad/d4ab36c94c5d22bb68a72d8d403b4cb7#file-ruby-mode-revised-patch>

A few things:

  * Is this the right mailing list to discuss ruby-mode.el changes?

It is. Though a bug report probably would have worked better. The emacs-devel threads that are not replied to immediately tend to get lost in time.

  * Are there better ways to do this?

I'm not sure what you are trying to do. How does this make highlighting "more vim-like"?

  * What do you all think of the idea of font-face customizations for
    the mode?

Not a huge fan, to be honest.

Ideally, we'd have a rich common set of font-lock faces that are consistently applied across all programming modes. And thus consistently signal syntactic elements in a language-agnostic way (where possible).

The users can then customize the font-lock faces, if they so wish.



reply via email to

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