GNU bug report logs - #23458
[PATCH] Support completion of HTML tags in CSS selectors

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Thu, 5 May 2016 12:34:01 UTC

Severity: wishlist

Tags: patch

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 23458 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: bug#23458: [PATCH] Support completion of HTML tags in CSS selectors
Date: Thu, 05 May 2016 11:02:28 -0400
> @@ -747,7 +749,7 @@ css--complete-property
>        (let ((start (point)))
>          (skip-chars-backward " \t\r\n")
>          (when (memq (char-before) '(?\{ ?\;))
> -          (list start pos css-property-ids))))))
> +          (list start pos css-property-ids :exclusive 'no))))))
> 
>  (defun css--complete-bang-rule ()
>    "Complete bang-rule at point."

It'd be better to avoid the :exclusive thingy, and use something like
completion-table-merge instead.

:exclusive basically prevents any completion style other than prefix
completion, so it's better avoid it when possible.  This said, it's not
a real objection.


        Stefan




This bug report was last modified 9 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.