Richard Russon

Results 317 comments of Richard Russon

> Do you think I would be able to do it? Sure :-) Would you like to just dive in, or would you like a few hints? --- NeoMutt's big...

The next bit is a quick tour from the Index to the string formatting. You don't need to understand it, unless you want to :-) --- The Index displays a...

> I set these variables in my config precisely to add a newline :-( Newline should be fine in today's release: 2024-04-25. It was broken by the new code in...

I've had a deeper dive into the code and we can do a better job (than my quick hack). If you're still interested :-) There are a lot of format...

There are 51 Expandos, which can be categorised: Config Option Expando Definition Config Type / Flags need newline attribution_intro IndexFormatDef DT_EXPANDO|D_L10N_STRING attribution_trailer IndexFormatDef DT_EXPANDO forward_attribution_intro IndexFormatDef DT_EXPANDO|D_L10N_STRING forward_attribution_trailer IndexFormatDef DT_EXPANDO|D_L10N_STRING...

Here's how the config options are used: - commands/hooks - Passed to external commands - No newlines - external - Filename - No newlines - need newline - Text written...

All Expandos have their values set via `expando_parse()`. All Expandos render their strings using `format_string()`. Plan (may need fine-tuning): - Add a new config flag, `D_ALLOW_NEWLINES` to allow newlines -...

> while taking notes ooh! very organised > Sorry for being slow There's no rush > I see you already a lot of things in mind Yes. I hope it...

> What do you think about making the behavior of non-printable characters being configurable? That sounds reasonable, but what would you apply it to? and where? We probably _only_ want...

NeoMutt is already doing the base64 decoding for you (other encodings exist). The plain subject is stored in `Email.Envelope.subject` (`struct Email`, `struct Envelope`, member `subject`) The Expando code needs to...