all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Tue, 27 Oct 2020 22:11:33 +0100	[thread overview]
Message-ID: <7880.33369915269$1603833153@news.gmane.org> (raw)
In-Reply-To: <1b90d2bf-ec19-8ad7-64fe-391141c409fc@yandex.ru> (Dmitry Gutov's message of "Tue, 27 Oct 2020 23:06:09 +0200")

Dmitry Gutov <dgutov@yandex.ru> writes:

>>> BTW, is the case when (ppss-innermost-start (syntax-ppss)) is nil, at
>>> all reachable?
>> Yes, when called from top level.
>
> Should the search ever succeed in this case, though? I would suggest
> to use (point) instead of (point-min) to auto-fail:
>
> [...]
>
> Otherwise, we both do the costly-ish search from the bob, and even
> risk it succeed in rare cases where the CSS in the previous rule is 
> incomplete (or the semicolon is omitted)

Good point, I didn't think about that.

Your proposed fixed looks good to me.





  reply	other threads:[~2020-10-27 21:11 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
     [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 [this message]
     [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

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

  git send-email \
    --in-reply-to='7880.33369915269$1603833153@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 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.