From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Reveal-mode (was: Convert some files from outline-mode to org-mode) Date: Mon, 27 Apr 2020 10:27:24 -0400 Message-ID: References: <20200426172206.GC18629@ACM> <87y2qhnc9a.fsf@gmail.com> <87ees9wf5y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123148"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Mackenzie , Stefan Kangas , Emacs developers To: =?windows-1252?Q?K=E9vin?= Le Gouguec Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 27 16:28:11 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jT4jv-000VrC-V8 for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Apr 2020 16:28:07 +0200 Original-Received: from localhost ([::1]:47912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT4ju-0005fZ-VT for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Apr 2020 10:28:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54634) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT4jL-0004ms-H0 for emacs-devel@gnu.org; Mon, 27 Apr 2020 10:27:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT4jJ-00014f-GM for emacs-devel@gnu.org; Mon, 27 Apr 2020 10:27:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT4jJ-0000xi-13 for emacs-devel@gnu.org; Mon, 27 Apr 2020 10:27:29 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8578010082B; Mon, 27 Apr 2020 10:27:27 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F223F100419; Mon, 27 Apr 2020 10:27:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587997645; bh=M6KhdT5LGxJo+x+sEfWefn1ucJjbzyKT72JGunTPpj0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gyFxjEqRjUgREF+EDJ5wmthfytWm951GFqjPKxWLc7F5eLTNHOyQPwkTqDI1YzHEG G0IUcRIF7sHDgFg0nukdmcZ/W/jpax+mC3euzgLH+c96i0/DKMxIAXuugQ9o1Nk5dT 7oqcSl5xx9b/ybzhHznq0+l7StOLfMH0iDvGjxGgvASuGJfOe7bxbqoPcR5MpErIAR pxB03nga8SaD+yKa6hLuHLWNg4nSwmNGzPK7TXZf7X4T1yIgWNwEi50AH/GTsRRtBP Q9Ltl5FaJDXpCg3DdC5HXE+++bbTDhEDMfEm/jw7ttYh/yBCYGWGcLwK0HgtJ9hRhG VOEuN9mL8yPxg== Original-Received: from alfajor (69-165-158-35.dsl.teksavvy.com [69.165.158.35]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B5B261203FD; Mon, 27 Apr 2020 10:27:25 -0400 (EDT) In-Reply-To: <87ees9wf5y.fsf@gmail.com> (=?windows-1252?Q?=22K=E9vin?= Le Gouguec"'s message of "Mon, 27 Apr 2020 09:39:37 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 10:27:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247928 Archived-At: >>> - I don't think I will ever manage to remember any of the keybindings >>> for the outline-(show|hide)-=E2=80=A6 functions, >> For this reason I implemented `reveal-mode` ;-) > Oh, that's nifty! > A shame that point must be on the ellipsis to trigger revealing though; Agreed, it needs more work (during editing it sometimes misbehaves pretty bad, hiding/folding the text you're in the process of editing, effectively "kicking you out"). This said, revealing when point is "anywhere on the header" could be annoying because it would tend to unfold headers over which you just intend to skip (e.g. with C-n C-n to skip a header, the header would be unfolded after the first C-n). Stefan