[Top][All Lists]

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

Re: [Emacs-diffs] master 269d563: Support completion of attribute values

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 269d563: Support completion of attribute values in CSS mode
Date: Thu, 24 Mar 2016 10:31:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> Does that now fully make company-css obsolete (well, obviously only for
>> those users that use the bleeding edge version of Emacs)? Or are there
>> still some functionality that hasn't yet been ported?
> It depends on whether we want to support completion of HTML tags in
> selectors, that's the last remaining functionality that hasn't been
> ported I think.

> Personally I don't find much value in it, since I mostly use class names
> in selectors, and the HTML tags I do use are short and easy to type. But
> if others find it useful I can port it.

The important part, for me, is to try and make sure we can declare
company-css obsolete.

In theory, at least, completion of HTML tags in selectors makes sense to
me, but I'd hope we can do it without hardcoding the list of tags in
css-mode.el (e.g. using html-tag-alist from sgml-mode.el, or using

BTW, even better (for me) would be to make the completion pay attention
to existing html buffers, so you can limit the completion to those tags
actually relevant (and you can additionally provide completion of
user-chosen classes).


reply via email to

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