Ticket #3064 (new enhancement)

Opened 6 months ago

Last modified 3 months ago

Implement "show" menu to list various internal configs as a nicely paged menu

Reported by: pdmef Owned by: mutt-dev
Priority: minor Milestone: 2.0
Component: display Version:
Keywords: Cc:

Description

Running ':attachments ?' in mutt shows current attachment settings on stdout instead of inside mutt... which is ugly.

The attached patch implements a "show" menu with a few "demo" views to show what this can be used for:

  • show attachments: Replacement for "attachments ?" (latter kept for compatibility)
  • show config [regex]: Show all config options matching regex (if omitted, regex defaults to ".", i.e. all)
  • show mailboxes: Show all known mailboxes in order they were defined
  • show spam: Show all currently configures spam recognition commands

Except "config" these don't seem to be extremely useful. However, what comes to mind and why I took the prototype this far is to mostly prepare the code to be ready to implement this for hooks. For example, 'show folder-hook [folder-regex]' would be nice to have to know what folder-hooks mutt would execute in what order.

Attachments

p1.2 (12.0 kB) - added by pdmef 6 months ago.
patch-1.5.17hg.pdmef.showmenu.1
p1 (12.0 kB) - added by pdmef 6 months ago.
patch-1.5.17hg.pdmef.showmenu.1

Change History

Changed 6 months ago by pdmef

  • attachment p1.2 added

patch-1.5.17hg.pdmef.showmenu.1

Changed 6 months ago by pdmef

  • attachment p1 added

patch-1.5.17hg.pdmef.showmenu.1

Changed 6 months ago by naveen

Sounds really useful. Should I apply p1.2 or p1 to use this patch?

Changed 6 months ago by Rocco Rutte

Hi,

* Mutt wrote:

> Sounds really useful. Should I apply p1.2 or p1 to use this patch?

That was my fault when I attached them, they're identical.

Rocco
Note: See TracTickets for help on using tickets.