From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.help Subject: Re: Collapse all include lines? Date: Sat, 14 May 2022 16:17:16 -0400 Message-ID: References: <83v8u8ljmb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25195"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 14 22:18:12 2022 Return-path: Envelope-to: geh-help-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 1npyDM-0006P2-CM for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 14 May 2022 22:18:12 +0200 Original-Received: from localhost ([::1]:47278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npyDK-0003jo-Ta for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 14 May 2022 16:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npyCh-0003jg-CF for help-gnu-emacs@gnu.org; Sat, 14 May 2022 16:17:31 -0400 Original-Received: from mail-oa1-f54.google.com ([209.85.160.54]:38107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npyCf-0007wE-Ou; Sat, 14 May 2022 16:17:30 -0400 Original-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-e5e433d66dso14789040fac.5; Sat, 14 May 2022 13:17:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G8F6n6p1o0nIFV4FocXK5Ecw1THrNY5msN8k5f2ehd0=; b=N2C9mcq1hgEUDhoswVz4EevnSML1YVE7pg7oBPtVl6HcRFR3EMAjTz+9VfhhI2NC9Z aiyWoMRbGA1htW0j7xqo404/NgFWL+w9Y8QMeFQfB3KeKqzTW8cwchcb3D160tmZt64K tfgDtAHurEqwEW2nPSgxzjjJUoj1gGZ5E4hMVVUMTl153cB2F9R2RzqxnTqz0Qlpf/as /C8rTNn7JrgHMEY51IFfWBjzRp8DsN/RxUXyyFZp6boUkaVW3v8isbDOjx9iP/BQO+UV xXFHfvuzW/JkRtkbJ0sSP+J3hS5rRhzUz5Ng5PodRfC90p4tUrn0aZ+OzFU3vXSWqYCo cQdA== X-Gm-Message-State: AOAM532HgEPFCAY97IG45349e1qUJPpBZ/Qrwq3H3jDH9m8rN9HRy5Gw pHb4fCWxRQw7PUrUkOpdIFSxsh5ijVGvpiVYjkoENt63LQM= X-Google-Smtp-Source: ABdhPJxWn3bI1tToEBgkniWkUl2CyKuleQEcYlEolmJeLuK7j7h+X2cLZpLJdv3gIP0cN2woToGN3u772NFG3cN5Tis= X-Received: by 2002:a05:6870:c08b:b0:ed:a342:431c with SMTP id c11-20020a056870c08b00b000eda342431cmr10920380oad.182.1652559447683; Sat, 14 May 2022 13:17:27 -0700 (PDT) In-Reply-To: <83v8u8ljmb.fsf@gnu.org> Received-SPF: pass client-ip=209.85.160.54; envelope-from=john.yates.sheets@gmail.com; helo=mail-oa1-f54.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137262 Archived-At: On Sat, May 14, 2022 at 2:21 AM Eli Zaretskii 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