Re: [PATCH v3 0/3] Create and use $tmpdraftdir for composing

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <abTQvN3Z3yNI8k43@qinghai>
On Fri, Mar 13, 2026 at 02:36:56PM +0800, Kevin J. McCarthy wrote:
>This version changes $tmpdraftdir to use the $TMPDIR env var if set,
>like $tmpdir.  If unset, it defaults to /var/tmp.
>
>It also updates the mutt.man page and manual to mention $tmpdraftdir in
>security notes > temporary files.
>
>Thanks to Fabian for pointing out MacOS wipes /var/tmp on reboot, and
>for Claus Assmann for pointing out the same for OpenBSD.  That's a
>shame, but I think but I think it's still worth making this change for
>those systems that respect the intended use of /var/tmp.
>
>Kevin J. McCarthy (3):
>  Remove unused non-buffer tempdir functions.
>  Clean up tempdir definitions and file locations.
>  Add $tmpdraftdir for composing messages.

I've pushed this up.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmm00LwACgkQre92hIAx
a9rvKBAAzQo50EZ9eMFPtYtPfN6/1QlMgiaPB+c204uOdCXYn4yz+B986UWUuS/o
cKBSeh2L0fayj3a42AV1lehqEPDTVfFIoMQEnRWi6qC/07fEBqy8Qdi0nuDsUCZv
WpL2XEA3kH0YztApGaOq1JeH8THr3yEE0FwE+U47SPHb5JE+3KzUiBaLYTV1JC/l
XIli+CPwclq+/qp678MUSNcJH1KOpYTd/8CkYG+VnZljCbr/lgthq+klygaxmVj0
6bbGxoGqjJ9kpkHH8cEZI1GpZMRbshWDgRySgZN+YNTll2uWIOHUQXRt/qEtnLYj
b9oyoxFftzQ7ayP2LeFK6nNjCtMJN19jbXhX9jkt/vszQWKypzigfenxn5uDzyuq
uN/zKhnjXX7J9aiyZpR1Prm6T+h/lRiO1edWHkhtYgQURSD0UQtX6g8uHW+Xr6hv
KW9QEPUwnJwn4Spj5PtTBlXCaRFG7RIIjBKetvQWmrzBf6KocgCjjcdPumObnhN8
eayJgWp1zHUDfymb/XXC75PLq3pz1Do/1paGc6yTAzn2hEY4TfHgrIaVdVJImjPA
2Hflw+N4uhqhd+Csp1mhGnMnEIHGwyrCnlPTHl5SqVLSxjwQU8T1v5Jmp/rQmvz8
UWtv/WsoboZNH+0pS5MpuH9Ut1UayI5zWErBHzpvwD0NJcGLpeI=
=wv7C
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.