From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pauline-galea@gmx.com Newsgroups: gmane.emacs.bugs Subject: bug#48710: Retaining code highlighting (for defun, defvar) in outline mode Date: Fri, 28 May 2021 03:17:30 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34951"; mail-complaints-to="usenet@ciao.gmane.io" To: 48710@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 28 03:18:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmR8k-0008ot-LI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 May 2021 03:18:18 +0200 Original-Received: from localhost ([::1]:46696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmR8j-0004QT-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 May 2021 21:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmR8U-0004QI-HM for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 21:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmR8U-00027q-6O for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 21:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmR8U-0003Z4-20 for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 21:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: pauline-galea@gmx.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 May 2021 01:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48710 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162216466113666 (code B ref -1); Fri, 28 May 2021 01:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 May 2021 01:17:41 +0000 Original-Received: from localhost ([127.0.0.1]:53229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmR89-0003YM-Di for submit@debbugs.gnu.org; Thu, 27 May 2021 21:17:41 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmR87-0003YE-Ud for submit@debbugs.gnu.org; Thu, 27 May 2021 21:17:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmR87-0004Oh-PL for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 21:17:39 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:48011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmR81-0001p9-Tb for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 21:17:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622164651; bh=wKvmSfOPxud7famMWwy6DoRPr3Vj48X09hGrQJAWFAE=; h=X-UI-Sender-Class:From:To:Subject:Date; b=QYlLgRZz2Iu5EJ3bJOiCrfh08dCrmW4kpRiyVfVMeNoMinVyX4kFW/kB1dVCbUabb CJH4za1TQpN+M4OLMGUPXurygc18qetpnhMF0MHfMGmunwCCx7RtfeBDKmFxkmfaDS 2y3WTlfTw7pjdnTI6pSNqwIjtWco+HSy1Ccxdd+8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Fri, 28 May 2021 03:17:30 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:wZNQt2f08YnznjIbtlEVHlLDvNXWHHXQ/t4RVJLVMfjVO+vpsJk0q3k42SaR+tmBvuErs AagQjplR4qkZlTXeHziuDvrM+uOCTYKnwhGASm7qFM3H3PStYcGOfMFdyxF73J1Jlu2YAdDwzOgn mNwA5J6BFt9h1qVrsgnG/p0cI2jpfSIiPkLKauJPThEdn5OBt39JlRxq9aOFsG9jVgqbPSJ8H5mQ cE8sbyAtFCyw/9UQb7q8J3/r2RpOHF6i5JDZhXD3mLr4wNXdJQdFDZWH8Hw09RhYHnvdFziS5/f3 5s= X-UI-Out-Filterresults: notjunk:1;V03:K0:l/T4Cii6hH0=:BvTs1IC/HHlcJpn/uxnCdN lRl1wJlIf6XBZiR+a/uNm3Vo6Re9eCS1ZY7XWTVEubptrvbSerZZUKZVHTl2mtMSgE5vitDMF 6WVurTRJuf4x1VInGdZ/6LrDd/uL1kdobYc7VE2hH6LX21vWAHxgf985kUto/WyHpXBgQCKW6 IxaAfU4CZBxoSISLqh/x0NsAfYByMIl+vxAgXnkVXwPftjoCIbv7XztSe67dlcLfhXSfYdMCY ukvvboNzdGQMTw0q11RLUAZnWNvBoE+PI3FNv9Ye13+BhqiwlSe6+3sh66FgbRbtOPY+3GaJb 1DBakCJBeZUYB3BoOwJ1PwiLZmhZynMzYCdot519Xv/Udv7ojR8Ar2wTDPcdhQzjjRsS6oRP5 Ei95j61anTkGK4EtXHLO3578ExZoYvf6yN3mSLUELpw7V2zXjhg99A2OH7DuZJQ8+uNarcugm J+Z16kZm2QMWwRd+ig//Q57yavsGFYhJuBBC6F+OVdGVYLAcaROEVOuBArNG2tgQExORYRQH/ KdhJ0Aoc9YQ76x3+sNI29++yXmn4tIUcmh+KGbpAVnEExt7eDsydQUwuOcfHDxdUZ5J3NOZNO qBKpPW44G88YKAVElbNavBQx7yIJ8iqXshzHoRNYmuiPHDHKYbqYEfYzb0lwqANfwkPBgq+eB aDmZnhfAMS6JOXfWzV/9hiUvvBXckBs7tasjoa8GykWB4IZAQ5Cv7KDjBKmLJFRN6YUmGPfn1 okCgnyLwmewSEaEwTUprSKcC6Jmj1H1CTcHbhZwG5nzsMNUV0HixA5/68vv0dO4jEsf4kT6e Received-SPF: pass client-ip=212.227.17.20; envelope-from=pauline-galea@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207420 Archived-At: Currently outline mode changes the colour of headings and subheadings. But I have noticed that elisp structures are also considered as headings. This results in some code highlighting problems for things like "defun" and "defvar" because the whole line gets a one colour highlighting in a way that is similar to a heading face. It would be better that elisp code structures retain the original code hig= hlighting, but keep the ... at the end of the line to show that the code body is hidd= en. The ... could be highligted instead instead. For more flexibility, it would be beneficial to have a separate keybinding= that toggles between showing the contents (body) of a code structure and hiding it, tha= t is independent of headings.