Re: [PATCH] Change mutt_buffer_concatn_path() to use fixed algorithm.

Alejandro Colomar via Mutt-dev <[email protected]> Tue, 19 May 2026 13:58:25 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <agxQEafsUwgZ4GQc@devuan>
On 2026-05-19T19:49:47+0800, Kevin J. McCarthy wrote:
> On Tue, May 19, 2026 at 12:15:20PM +0200, Alejandro Colomar via Mutt-dev wrote:
> > On 2026-05-19T13:56:45+0800, Kevin J. McCarthy wrote:
> > > To see the change in mutt, start up mutt and
> > >   - :unset folder<enter>
> > >   - <change-folder>
> > >   - At the prompt: Open mailbox ('?' for list):
> > >     =usr/
> > >     then hit Tab twice.
> > > 
> > > Before this commit mutt will try to expand "usr" in your cwd.
> > > After this commit mutt will try to expand "/usr".
> > 
> > Doesn't = mean it's a relative path?  Is it correct to interpret it as
> > /usr?  I'm not very familiar with how these paths work, so I might be
> > completely wrong.
> 
> Hi Alex,
> 
> = is a mailbox shortcut for the $folder directory.  See the list of
> different shortcuts at http://www.mutt.org/doc/manual/#shortcuts
> 
> So, to be clear, this example doesn't make much sense.  They would be
> expanding a mailbox shortcut for a shortcut that is unset.
> 
> While I'm not super concerned, it is technically a change in behavior. I
> wanted make everyone aware of it, in case I missed something.

Hi Kevin,

Ahh, now I understand.  I guess I don't care too much either way.  :)


Cheers,
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmoMUGAACgkQ64mZXMKQ
wqn77g//VTNjPzj3conV2ItNlgmTb6ck3rj8W7Ovo8rra8Fry+LB+XuhZA1fC61J
hzZUTdBG/F6NazwyaKX4ODm6heL9NWVP9Ojz/8+abXGe+2uhUF70A3hNQvFCTgWe
C6nH7V3p8t9W7SsIznxUSNXNIIB5ug4v0dwtkARNU62lCssJVBpc0WycGGsXgLfo
ERtlTfpoZ+qBJie75v3qbQw1EtBYlOft6fEq7nrNkoImG620SoY37/sPAVV7MyBJ
HdwLTrbSKi+sypSw6dndpEvArpueUNcO1H3N9M5PiO95iecNiHAwouricqVxtI/P
6w3bPqifSiS9e3rfTNIkIJBpg2DNRY0nj4Iz7+41BkQluJ5yRe9SdoT3J/CKas5O
8xvby66DLullvyX7MVOvEiUZJQCxm8W2lrstAIRzne0g8gEjp7o0zQi4O7Hx58af
x0i+xIuFdNKKPO4AGsmjx5APzo5uD8yYacKzCcD+JG5h2KdwYnW/CuJKwvPwS4z0
52pLtkHH9ixuT0D9FXEL8Vlu9hEhHug6g2wgWp9kZeirwG72TXw1jzq1632DDV+g
8r2LfgqBnA3kZkb3aVvFqi4bHk5N045KPHLGKYhbEem6T8uWW48sUeSpTTTJ90jR
zIO+AACM2XhudgwiHaulb+DKvBSPGrzSfVbevxYgLfwDvQLsPV4=
=fMZ/
-----END PGP SIGNATURE-----