From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 50345@debbugs.gnu.org
Subject: bug#50345: 28.0.50; [PATCH] Filling holes in css-mode.el
Date: Thu, 02 Sep 2021 20:46:12 +0200 [thread overview]
Message-ID: <m1h7f2ke8b.fsf@Frende-MacBook.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
Hello!
In $DAYJOB, right now we are working on a larger redesign of our
customer facing web app. As such I'm knee deep in css these days. I've
noticed there are some holes in the completion keywords, and I'd like to
start addressing those. Hence the first, simple starting-point patch.
Before I continue adding patches, I'd like some pointers as to how I
should structure them. For example - lots of keywords are now shared
between grid and flex. An example is `align-content', which is now
under a section devoted to flex. However, there are some newer,
grid-related completion keywords that are not in this section, nor
anywhere else. See line 306 in css-mode.el. I guess the solution here
is to add `start' and `end' there, but I want to check first.
Should I add several, smaller patches, or one big correction of most of
the things I see at the moment?
Best,
Theodor Thornhill
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-selection-to-css-pseudo-element-ids.patch --]
[-- Type: text/x-patch, Size: 853 bytes --]
From b0a4ec120d3371982878e523f33c34bed59c1371 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Thu, 2 Sep 2021 20:27:19 +0200
Subject: [PATCH] Add selection to css-pseudo-element-ids
* lisp/textmodes/css-mode.el (css-pseudo-element-ids): Add selection
as an element id
---
lisp/textmodes/css-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 61a2f6b3bc..3bcd9c9766 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -57,7 +57,7 @@
"Identifiers for pseudo-classes.")
(defconst css-pseudo-element-ids
- '("after" "before" "first-letter" "first-line")
+ '("after" "before" "first-letter" "first-line" "selection")
"Identifiers for pseudo-elements.")
(defconst css-at-ids
--
2.30.1 (Apple Git-130)
next reply other threads:[~2021-09-02 18:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 18:46 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-09-02 21:22 ` bug#50345: 28.0.50; [PATCH] Filling holes in css-mode.el Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-03 7:46 ` Simen Heggestøyl
2021-09-03 9:08 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-03 6:15 ` Lars Ingebrigtsen
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=m1h7f2ke8b.fsf@Frende-MacBook.lan \
--to=bug-gnu-emacs@gnu.org \
--cc=50345@debbugs.gnu.org \
--cc=theo@thornhill.no \
/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.