From: "Simen Heggestøyl" <simenheg@runbox.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 44214@debbugs.gnu.org
Subject: bug#44214: 28.0.50; css-mode: no completion in declaration with newline after
Date: Mon, 26 Oct 2020 10:24:30 +0100 [thread overview]
Message-ID: <3880.6908343517$1603704320@news.gmane.org> (raw)
In-Reply-To: <79614d56-6ce5-5471-fcc8-f0dc30467826@yandex.ru> (Dmitry Gutov's message of "Sun, 25 Oct 2020 22:41:35 +0200")
This seems sufficient to me. Would you like to test it out?
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 0d1eeed561..748a561bab 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -1357,7 +1357,9 @@ css--property-values
(defun css--complete-property-value ()
"Complete property value at point."
(let ((property (and (looking-back "\\([[:alnum:]-]+\\):[^/][^;]*"
- (line-beginning-position) t)
+ (or (ppss-innermost-start (syntax-ppss))
+ (point-min))
+ t)
(member (match-string-no-properties 1)
css-property-ids))))
(when property
next prev parent reply other threads:[~2020-10-26 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 20:41 bug#44214: 28.0.50; css-mode: no completion in declaration with newline after Dmitry Gutov
2020-10-26 9:24 ` Simen Heggestøyl [this message]
[not found] ` <87blgp731t.fsf@simenheg@gmail.com>
2020-10-26 21:57 ` Dmitry Gutov
2020-10-27 14:21 ` Simen Heggestøyl
[not found] ` <87361zagw5.fsf@simenheg@gmail.com>
2020-10-27 21:06 ` Dmitry Gutov
2020-10-27 21:11 ` Simen Heggestøyl
[not found] ` <87k0vb74sa.fsf@simenheg@gmail.com>
2020-10-28 1:44 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='3880.6908343517$1603704320@news.gmane.org' \
--to=simenheg@runbox.com \
--cc=44214@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).