all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Etienne Prud'homme <e.e.f.prudhomme@gmail.com>
To: emacs-devel@gnu.org
Subject: Attribute completion task on css-mode
Date: Thu, 11 Feb 2016 11:38:35 -0500	[thread overview]
Message-ID: <20160211113835.6b56dc11@ThinkPax> (raw)

Hi.

Bug#20107 introduced a new feature in css-mode. It’s property
completion. So far, it seems to be quite good. In the Todo section,
there’s “attribute value completion”. I’m assuming that it means
property values completion since there are attribute selectors in CSS.

I was wondering what would be best to include in Emacs. There are
already several packages that do that very well. If css-mode is to
contain property value completion, should it be context aware (should
it give values according to property).

company-css already implements that behaviour by making a list of
attributes & their corresponding valid values. It could be one way to
do, but may be hard to maintain since CSS specifications are
always changing.

Another way would be to make a Semantic language parser. It would give
much more power for doing complex things.

Etienne Prud'homme



             reply	other threads:[~2016-02-11 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 16:38 Etienne Prud'homme [this message]
2016-02-11 19:45 ` Attribute completion task on css-mode Stefan Monnier
2016-02-13 16:44   ` 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=20160211113835.6b56dc11@ThinkPax \
    --to=e.e.f.prudhomme@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.