unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Yates <john@yates-sheets.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Collapse all include lines?
Date: Sat, 14 May 2022 16:17:16 -0400	[thread overview]
Message-ID: <CAJnXXoizHn5+gFd6f+tLSA=YvaWkGqqnZsSoM45OEa=DXs-pqQ@mail.gmail.com> (raw)
In-Reply-To: <83v8u8ljmb.fsf@gnu.org>

On Sat, May 14, 2022 at 2:21 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Did you look at hideif.el?

No I did not.  But now that I have, it is largely what
I recall and does not seem to meet my needs.

hideif is focussed on understanding preprocessor
#if constructs and their attendant expressions.

My need is much simpler.  I simply want to identify
a run of #include lines with potentially interleaved
blank (and maybe comment?) lines.  When I open
a file I would like all those lines hidden.  On rather
rare occasions I may need to expose those lines.
But, by and large, I do not want to see them



  reply	other threads:[~2022-05-14 20:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 22:28 Collapse all include lines? John Yates
2022-05-13 22:36 ` Emanuel Berg
2022-05-14  6:21 ` Eli Zaretskii
2022-05-14 20:17   ` John Yates [this message]
2022-05-14 21:53     ` Emanuel Berg
2022-05-15  5:13     ` Eli Zaretskii
2022-05-15 14:39       ` Emanuel Berg
2022-05-15 21:05       ` John Yates
2022-05-15 21:29         ` Emanuel Berg
2022-05-15 21:41           ` Emanuel Berg
2022-05-15 21:07       ` John Yates
2022-05-15 22:30 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-05-16  0:37   ` Emanuel Berg

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='CAJnXXoizHn5+gFd6f+tLSA=YvaWkGqqnZsSoM45OEa=DXs-pqQ@mail.gmail.com' \
    --to=john@yates-sheets.org \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).