Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 Sep 2022 20:41:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 16:41:28 2022 Received: from localhost ([127.0.0.1]:35333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ob6X8-0004Ut-JD for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 16:41:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:43678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bmoody@HIDDEN>) id 1ob4hZ-0001di-B6 for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 14:44:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bmoody@HIDDEN>) id 1ob4hZ-0008Q3-6g for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 14:44:05 -0400 Received: from outgoing-1.mit.edu ([18.9.28.12]:50234 helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bmoody@HIDDEN>) id 1ob4hX-0008E7-9H for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 14:44:04 -0400 Received: from pc57 (SCHEHERAZADE.MIT.EDU [18.18.42.15]) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 28LIelGb006322 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <bug-gnu-emacs@HIDDEN>; Wed, 21 Sep 2022 14:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1663785648; bh=iV4dJPOIpU3SJUb9nxA4uA02ghC4kmQd8oIA4rHw11U=; h=From:To:Subject:Date; b=ZSIR1In36LqLAmVKiyL+6RukMHd2cZQ8HAR3mDSRf4/34gRAdkAM9ysyHuLac+y6u r4ZcGT0TKolcC94qcHzBuOMJzjRmTgQqaT0u2pE1TM18w5Uzxzy3jXM8+kCeQtxTwV NhTQZtYlmEEWVuBmeb5pQR22uPvxCazJhqLjuY3IS628d3aMuE5f0a3VgTtoJrPn+y m7I+zMLeeTYUAT1Wn9o+OoUfwepGWxXe7YS1z9HmmzFMwTrsfmlmdRMhCZlM2IaYPL oNLynkgxdsdwuhZWtOeuKTPrdLlGMYgcUh6YhMegnczPcxoeaLYf/WwChNuBp24Z1F +PzMrjPU5QFQg== From: Benjamin Moody <bmoody@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.1; mhtml-mode should support C-c / in sub-modes Date: Wed, 21 Sep 2022 14:40:40 -0400 Message-ID: <87sfkkmuzb.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=18.9.28.12; envelope-from=bmoody@HIDDEN; helo=outgoing.mit.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 21 Sep 2022 16:41:24 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) When editing HTML, I'm accustomed to pressing C-c / to close the innermost element. For example, if I type <html> <head> <style> p { color: red; } and then press C-c /, I expect Emacs to insert "</style>". However, with mhtml-mode, this doesn't work inside a <script> or <style> element, because only the js-mode or css-mode bindings are in effect there. There are other html-mode keybindings that might sometimes be useful inside of JS/CSS blocks too, such as C-c C-b and C-c C-f. It's not obvious to me if there is any way to customize the bindings that are in effect inside a CSS block in MHTML mode, independent of the bindings that are in effect when editing a .css file.
Benjamin Moody <bmoody@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#57989
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.