From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: html, css, and js modes working together Date: Tue, 21 Mar 2017 11:15:44 +0200 Message-ID: <1e07bdc5-776f-bae7-151f-237b35d47da5@yandex.ru> References: <87o9ynarz3.fsf@tromey.com> <877f4z6i8n.fsf@tromey.com> <87poipzr0l.fsf@tromey.com> <87efz44o47.fsf@tromey.com> <87r3331hdg.fsf@tromey.com> <5a7078f5-3dbc-acc5-f293-6200e77f73b2@yandex.ru> <87inoe24d0.fsf@tromey.com> <53c6ef89-7c22-dfbb-fd7d-e5fbdbe34733@yandex.ru> <87pohd6unx.fsf@pokyo> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1490087805 7534 195.159.176.226 (21 Mar 2017 09:16:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 09:16:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 Cc: Stefan Monnier , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 10:16:39 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cqFu5-0000oc-C4 for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 10:16:33 +0100 Original-Received: from localhost ([::1]:37349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqFuB-0005ON-7e for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 05:16:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqFtQ-00053H-0y for emacs-devel@gnu.org; Tue, 21 Mar 2017 05:15:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqFtM-0003m2-Tc for emacs-devel@gnu.org; Tue, 21 Mar 2017 05:15:52 -0400 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqFtM-0003kS-MQ for emacs-devel@gnu.org; Tue, 21 Mar 2017 05:15:48 -0400 Original-Received: by mail-lf0-x236.google.com with SMTP id y193so64673084lfd.3 for ; Tue, 21 Mar 2017 02:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YCp26fwsGH9Zhnv8MyqDL3Firxesk4wTMGfcL7YSkv4=; b=X3qX9GCroHHyyIjtdRY+hPapkTPTPdbPiZEP6c12rTeVP3KahcXo5OGuFJv5URjgxw /BxpX8DLB+toJmA7yF/SAfiWOw7QNFD03fBfuLBKl5XqHfHJV/6Em/P9BG3iqyHmvNat 6Id71/ICnQVAp14AzhAQpFwpGzdO1Zb4NPfq+8WWxu0+HUKMsZjuhc3edQl6sGoqcFtJ IveYWv8okGn3t3HDQwdC6MKB9Jkvt2SHMuVUmdRljXJK5sR03gtrGGR6HsYzL8atkDXt 89So+/Sg4WhFpiHVoyhqGowmEATs7PUBSoB4kLwXMDTWeF/c8qlTNA6Y2ouLogYA30jU AJsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YCp26fwsGH9Zhnv8MyqDL3Firxesk4wTMGfcL7YSkv4=; b=K3JX+I750/KIeqTqKRzlwFtiAJMzo/+a+JX5niu2II5DbZDTsAcClCseoayesjO0MQ f5Me7KYH1Vc8NtYSTvQiTCkHlgusE8f0NgMzA//p2YJqlRe6QmRt9u13H54iCf5qJP1Q bAwBdCkgsup/McSLPd8OBqn6PiNUIMWrLWkgexxpoYHZWYb4Y/tKQKMT8cKW20ew2iGI 1d7wBMw3Cqzn+0PpPMN4yAchCEtTxnEZdW65/OcuJB7rlOlbkZCn/D94JesORAf/os8V Kc2/GNBzXuRMuDaRlc3eAT81S+Oc6jGvpN+YQCwt5ejcy2elnVT6n8XnnQhSkk5PSu9K jGRQ== X-Gm-Message-State: AFeK/H1nFfZ954/1Ph02IJ09WyOY7isxrDKi/bW5krFltOrmsfTv8/ZTEHrHER9wEGcFZQ== X-Received: by 10.25.17.100 with SMTP id g97mr8627854lfi.10.1490087747237; Tue, 21 Mar 2017 02:15:47 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.173.156]) by smtp.googlemail.com with ESMTPSA id e91sm2680933lji.40.2017.03.21.02.15.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 02:15:46 -0700 (PDT) In-Reply-To: <87pohd6unx.fsf@pokyo> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213194 Archived-At: Hi Tom, On 19.03.2017 19:30, Tom Tromey wrote: > At this point I think I'm nearly ready to start checking things in. > The current state is: > > * I have a bunch of small patches to change various things to use > derived-mode-p rather than eq. This is needed to deal with having the > new mode not be html-mode. I don't really want to test most of these > (like changes in viper or cedet, about which I know very little), so I > thought I'd send them for review. The changes are all very small. > > * Most basic functionality works, like fontification, indentation, > flyspell, and comment-*. > > * Imenu and some other things don't work, but I think it's better to > move forward with what we have than to fix every feature beforehand. > I wonder if you agree. > > * I need to write some tests. I think this plus documentation is the > last bit I need to do. Sounds good! > * One open question is whether the new mode should run prog-mode-hook. > It is sort of both a prog mode and a text mode. IIRC Stefan opined that all programming-related modes should derive from prog-mode. On the other hand, it would be weird if this mode does, but html-mode does not.