From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: e.e.f.prudhomme@gmail.com (Etienne =?UTF-8?Q?Prud=E2=80=99homme?=) Newsgroups: gmane.emacs.bugs Subject: bug#25525: 25.1.90; add color highlighting to css mode Date: Mon, 01 May 2017 17:25:55 -0400 Message-ID: <87a86wb76k.fsf@x230.lts> References: <87mvefh8br.fsf@tromey.com> <1485375833.1960.0@smtp.gmail.com> <1485455113.4245.1@smtp.gmail.com> <1487359774.1998.0@smtp.gmail.com> <1488653191.6153.0@smtp.gmail.com> <1488738524.13864.0@smtp.gmail.com> <871str3b48.fsf@tromey.com> <1490812056.14782.1@smtp.gmail.com> <1492873665.3376.0@smtp.gmail.com> <87lgqpyl6y.fsf@pokyo> <87vapn3l0i.fsf@tromey.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493674037 2936 195.159.176.226 (1 May 2017 21:27:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 21:27:17 +0000 (UTC) User-Agent: Emacs/25.2 (gnu/linux) Cc: 25525@debbugs.gnu.org, Simen =?UTF-8?Q?Heggest=C3=B8yl?= To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 01 23:27:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Iqc-0000eZ-Ch for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 May 2017 23:27:10 +0200 Original-Received: from localhost ([::1]:55814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Iqi-0001Rg-3y for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 May 2017 17:27:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5IqZ-0001Pt-Jr for bug-gnu-emacs@gnu.org; Mon, 01 May 2017 17:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5IqU-000645-Nh for bug-gnu-emacs@gnu.org; Mon, 01 May 2017 17:27:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5IqU-000641-Jy for bug-gnu-emacs@gnu.org; Mon, 01 May 2017 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d5IqU-0004CY-CC for bug-gnu-emacs@gnu.org; Mon, 01 May 2017 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: e.e.f.prudhomme@gmail.com (Etienne =?UTF-8?Q?Prud=E2=80=99homme?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 May 2017 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25525-submit@debbugs.gnu.org id=B25525.149367396416079 (code B ref 25525); Mon, 01 May 2017 21:27:02 +0000 Original-Received: (at 25525) by debbugs.gnu.org; 1 May 2017 21:26:04 +0000 Original-Received: from localhost ([127.0.0.1]:50021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5IpY-0004BH-Ix for submit@debbugs.gnu.org; Mon, 01 May 2017 17:26:04 -0400 Original-Received: from mail-qk0-f196.google.com ([209.85.220.196]:35781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5IpX-0004Ao-1f for 25525@debbugs.gnu.org; Mon, 01 May 2017 17:26:03 -0400 Original-Received: by mail-qk0-f196.google.com with SMTP id u68so3382064qkd.2 for <25525@debbugs.gnu.org>; Mon, 01 May 2017 14:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=mhuoLiqCbqsgmA8VFidfB0ywU8ttvmFIWFLw/f5rJ5E=; b=b6YcTSCAow2Gol63S3nAPc6bPHhd+Wo+7IYYFbGlY4U9cPbP/Xth3aAvUUu1XIku5r nC1nxXRStYeZKWU4FBENkRO6E/7d2tSplVJ/hsmfuNzw3Pl8CIgUnU/UjT2kCtfuiMQq 91X074/83h9fPZmNBFQqASlyk9a6SPltvYJXqJsVEek9Ksk6Uf8qCo4hVfgfJfJTRJUG 0SCTa2nqOLrTNx+XB/OMPDjtUkk73k9QiFXuJDq9h7KyCm0I52ID28RXOC39BFeT2lJT 6ZoLANBBXYkhVZQuchMLRX2kK9vIGwU8AatFXF8CGFaHZLoABzBTIjGH6d611XSATS23 10qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=mhuoLiqCbqsgmA8VFidfB0ywU8ttvmFIWFLw/f5rJ5E=; b=RR6ZrkpFbNU8riEaL4Nphnz9FJz2WkqKk3/34NTiKscpLAvoYGJHDr+wqAWCVaiwol 7Odl6XRwA1xfivlmaKe07ljNyCT2xnl3owaIj1bc6+lteikQH2EMPSzG+PkaxPA41nZ4 HLwxrIja3pXPwG0PLbkkTotVEqIHlzp1D2BEJys3gzlpMOEB/pihWXjd5KdKtDYRyiaT ucCcR26zThy0osQk4C7gwDsV8nltrWnihC0thVHSp6IWJMhtl7l1GBT2VredHObh9nmI CjPO8lBMJrr/8C4U0MXvIfnKt5A/SNXjbwXqvWycDtHZdTtbXI0vi8oq/eqTISZ01+hi CR6A== X-Gm-Message-State: AN3rC/6opdTwoXLXdW7mSwJWcjCZzY1J/YPDzhFfe1eY1XSw8tie6Dez 5UiE1AXg5VSrJg== X-Received: by 10.55.204.16 with SMTP id r16mr24770626qki.169.1493673957192; Mon, 01 May 2017 14:25:57 -0700 (PDT) Original-Received: from localhost (modemcable232.49-20-96.mc.videotron.ca. [96.20.49.232]) by smtp.gmail.com with ESMTPSA id n42sm12402246qta.17.2017.05.01.14.25.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 14:25:56 -0700 (PDT) In-Reply-To: <87vapn3l0i.fsf@tromey.com> (Tom Tromey's message of "Fri, 28 Apr 2017 22:17:33 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132174 Archived-At: Tom Tromey writes: > This patch on top of my current patch was enough. However I'm not sure > it is the best way. It does pass the css mode tests, but I'm also not > sure that is sufficient. Could you try it out? I=E2=80=99ve thought in the pass it would be nicer if we had a real (S)CSS parser. I don=E2=80=99t mean by that a renderer (it would be a completely different project). Instead I mean something that tells us the generated =E2=80=9Ccascade=E2=80=9D. This would give us the ability to fontify (S)CSS color variables with what color they got. We could also fontify color transformations. What do you think? -- Etienne