GNU bug report logs - #71284
30.0.50; [PATCH] Add support for outline-minor-mode to Eshell

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Fri, 31 May 2024 05:22:02 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.50

Full log


Message #32 received at 71284 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 71284 <at> debbugs.gnu.org
Subject: Re: bug#71284: 30.0.50; [PATCH] Add support for outline-minor-mode to
 Eshell
Date: Wed, 5 Jun 2024 18:52:15 -0700
On 6/2/2024 11:45 PM, Juri Linkov wrote:
>> In any case, the more I think about this, the more my current patch seems
>> like the wrong way to go about this. Even just describing the user-facing
>> behavior in all scenarios is pretty complex, so I think it might be better
>> to keep it simple and have a single outline level.
>>
>> That said, for the multi-line prompt case, I wonder if it would make sense
>> for outline.el to support multi-line headers. If I could mark the entire
>> prompt + command input as a "header", then collapsing it would look better:
>> users would still see all of their input in the collapsed node.
> 
> The multi-line headers have such disadvantage that the outlines
> are not compact anymore.  Also multi-line headers might have
> more technial issues with displaying an ellipsis at the end.

Given that you mentioned a few other cases where multi-line headers 
might be nice (assuming the number of lines is small), maybe it would 
make sense to see what an implementation of that looks like. I'll see 
about writing a patch for this.

(Another interesting thing I might try is to see if we could provide 
some custom single-line abbreviation for multi-line headers. That would 
let us have compact headers when they're collapsed, even if the "header" 
part is really multiple lines when expanded.)




This bug report was last modified 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.