unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ergus <spacibba@aol.com>
Cc: "Daniel Martín" <mardani29@yahoo.es>,
	emacs-devel@gnu.org, "Alan Mackenzie" <acm@muc.de>
Subject: Re: Issue with hide-ifdef and cc-mode
Date: Sun, 30 May 2021 15:42:39 -0400	[thread overview]
Message-ID: <jwvmtscvwpg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20210530181411.jquh47dwgxtctmzc@Ergus> (Ergus's message of "Sun,  30 May 2021 20:14:11 +0200")

> I didn't know I need to manually call hide-ifdefs every time I change
> the preprocessor argument.  Because none of this is documented in the
> manual. But also calling that makes the functionality pretty
> sub-optimal.

`hide-ifdef` has not be given much love in a long time, so yes its
featureset is a bit outdated.

It'd probably not be too hard to hook hide-ifdef into font-lock.
Patches welcome.  In the mean time, you may want
to `M-x report-emacs-bug` and request it as a new feature.


        Stefan




  parent reply	other threads:[~2021-05-30 19:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210530070822.h57mmtpp2n7dvpbf.ref@Ergus>
2021-05-30  7:08 ` Issue with hide-ifdef and cc-mode Ergus
2021-05-30 11:01   ` Daniel Martín
2021-05-30 18:14     ` Ergus
2021-05-30 18:53       ` Eli Zaretskii
2021-05-30 19:27         ` Ergus
2021-05-31 11:56           ` Eli Zaretskii
2021-05-30 19:42       ` Stefan Monnier [this message]
2021-05-30 20:26         ` Ergus

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=jwvmtscvwpg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=mardani29@yahoo.es \
    --cc=spacibba@aol.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).