From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#1503: feature request: multiline header (and mode) lines Date: Thu, 21 Oct 2021 09:34:11 -0700 Message-ID: References: <6da7452a0812052243h34c713b9qf0ee659251d71764@mail.gmail.com> <493A58A6.6090508@gmx.at> <7d666789-8663-d29c-241b-0303a15a4b09@gmx.at> 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="40818"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 1503@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 21 18:38:54 2021 Return-path: Envelope-to: geb-bug-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 1mdb5i-000AOE-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Oct 2021 18:38:54 +0200 Original-Received: from localhost ([::1]:38362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdb5g-00068S-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Oct 2021 12:38:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdb1y-0008I8-3d for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 12:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdb1x-00040b-Pj for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 12:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdb1x-0005qk-II for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 12:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Oct 2021 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1503 X-GNU-PR-Package: emacs Original-Received: via spool by 1503-submit@debbugs.gnu.org id=B1503.163483406022417 (code B ref 1503); Thu, 21 Oct 2021 16:35:01 +0000 Original-Received: (at 1503) by debbugs.gnu.org; 21 Oct 2021 16:34:20 +0000 Original-Received: from localhost ([127.0.0.1]:58405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdb1I-0005pV-Jy for submit@debbugs.gnu.org; Thu, 21 Oct 2021 12:34:20 -0400 Original-Received: from mail-pg1-f173.google.com ([209.85.215.173]:39692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdb1G-0005pH-FN for 1503@debbugs.gnu.org; Thu, 21 Oct 2021 12:34:19 -0400 Original-Received: by mail-pg1-f173.google.com with SMTP id g184so806991pgc.6 for <1503@debbugs.gnu.org>; Thu, 21 Oct 2021 09:34:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=SIVN3vFhYNZlNEQB8fb6v4uW3dOLKvW9Db9TnHF5BWk=; b=tnSCexJIEbZb9A5CmQWtBPKd4B+5MXOe51vMfU7NA9eQA6ilfies7cAyT95npLCCj5 z5dMCWpvGLZIUzC30861+qw1rAl7p5eg/1M2RgZSvRNH8eboC9eUBvg2FgGzFgKlURzL EQ5Mru+VT+1clWHQlndfE/TH1yhQsCQPCY3EhZtCa+R1L8DYbTNvUOtfAwnuHbds88iv X2eq0jGhI0Rqc7/LiQP2HBfla31j7RL5Yct1Va3voS0nws7L7+v1OPA8P0Jl6gofiI5Q gitJEG9JIsoX5KVqCI5G6EWrOCO8K3BQw/bDEnl0PClWLFvC7xUoC2/lH6Jx/lMin+Gl H2Xg== X-Gm-Message-State: AOAM533eFJ0567QLtbgfiY7Hn6JjqFBes9wcsIsQ58CeVy0DM6tTlvje av1P2oqop6IlBFABsLxH410ARI4NOFyyQO4w1w0= X-Google-Smtp-Source: ABdhPJzhxD0D1bflXPYfzI1RBPEDJpN9eQcHh53FXB88vbR+AjViF/tTKjwqXCIYfloQmsHOrZeGcF/Z+W09JVoPwUs= X-Received: by 2002:a63:81c2:: with SMTP id t185mr5290266pgd.114.1634834052592; Thu, 21 Oct 2021 09:34:12 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 21 Oct 2021 09:34:11 -0700 In-Reply-To: <7d666789-8663-d29c-241b-0303a15a4b09@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217774 Archived-At: martin rudalics writes: > IIUC the OP would be better served with a separate buffer for listing > these subdirectories shown above the window of his buffer. To glue them > together, the two windows could be put into an atomic window. Omitting > all decorations for that separate buffer, it would not be discernible > from a header line. > > So if you see any use for a multi-line header line, please give me > details where a specification via 'header-line-format' would be > preferable to one that puts that stuff into a separate buffer. One benefit of the header line is that it always stays in place, whereas with a buffer you never know where it might end up. Or is there a way to force a buffer in place with the same strong guarantee? We also might not want users to switch to that buffer, as it would be more annoying than useful (e.g. headers in tabulated-list-mode). AFAIU, with a regular buffer you will always be able to switch to them with `other-window'. I was also going to say that with header-line-format you get horizontal scrolling automatically, but it turns out that you don't. In any case, it seems like this feature shouldn't be too hard to add. (I remember now that I added code to fix that in one of my packages.)