all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: Dmitry Gutov <dgutov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 269d563: Support completion of attribute values in CSS mode
Date: Thu, 24 Mar 2016 10:31:25 -0400	[thread overview]
Message-ID: <jwvfuvgkled.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <1458828752.7618.0@smtp.gmail.com> ("Simen Heggestøyl"'s message of "Thu, 24 Mar 2016 15:12:32 +0100")

>> 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
nxml).

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).


        Stefan



  reply	other threads:[~2016-03-24 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160323180952.31942.96525@vcs.savannah.gnu.org>
     [not found] ` <E1ainE8-0008Jo-CW@vcs.savannah.gnu.org>
2016-03-23 21:31   ` [Emacs-diffs] master 269d563: Support completion of attribute values in CSS mode Stefan Monnier
2016-03-24 14:12     ` Simen Heggestøyl
     [not found]       ` <=?ISO-8859-1?Q?1458828752.7618.0@smtp.gmail.com>
2016-03-24 14:31       ` Stefan Monnier [this message]
2016-03-26 12:14         ` Simen Heggestøyl
2016-03-26 13:23         ` Dmitry Gutov
2016-03-26 13:52           ` Stefan Monnier
2016-06-25 13:19             ` Simen Heggestøyl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfuvgkled.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=simenheg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.