unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 262a7c9ea0: New minor mode elide-head-mode
Date: Sun, 9 Jan 2022 22:16:04 -0600	[thread overview]
Message-ID: <CADwFkmmW8jPvjuzqjXPJ6T-tHSQ3Xxuv691XRYD1bjv_quwxFw@mail.gmail.com> (raw)
In-Reply-To: <871r1ht923.fsf@yahoo.com>

Po Lu <luangruo@yahoo.com> writes:

> Stefan Kangas <stefan@marxist.se> writes:
>
>> I chose not to do that, in order not to change the (admittedly buggy)
>> behavior of the old commands.  But if people think it's a good idea, I
>> have no objections to such a cleanup.
>
> Hmm, let's see if anyone else chimes in.

I noticed a nice side-effect from making them wrappers around the mode:
you can always say `M-x elide-head-mode' to show the header again when
it's hidden and vice versa.

So if users have `elide-head' on their mode hooks, they get this nice
thing for free.  A net win, IMO.  So I've now made the suggested change
on master.  Thanks for proposing it.



  parent reply	other threads:[~2022-01-10  4:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164172314114.31544.13495331125988316383@vcs2.savannah.gnu.org>
     [not found] ` <20220109101221.E3FDAC0DA16@vcs2.savannah.gnu.org>
2022-01-09 10:22   ` master 262a7c9ea0: New minor mode elide-head-mode Po Lu
2022-01-09 10:59     ` Stefan Kangas
2022-01-09 11:58       ` Po Lu
2022-01-10  3:35         ` Stefan Monnier
2022-01-10 12:35           ` Po Lu
2022-01-10 17:36             ` Stefan Monnier
2022-01-10  4:16         ` Stefan Kangas [this message]
2022-01-11  0:45           ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmW8jPvjuzqjXPJ6T-tHSQ3Xxuv691XRYD1bjv_quwxFw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).