Re: Attaching messages with 2004/10/11 snapshot

George Ross <[email protected]>
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
Attaching messages doesn't work with the 2004/10/11 CVS snapshot either 
without the following patch:

--- /tmp/exmh-2.7.0_20041012/lib/fileselect.tcl 2004-07-19 06:00:07.000000000 +0100
+++ /usr/lib/exmh2-2.7.1/fileselect.tcl 2004-10-14 10:40:22.000000000 +0100
@@ -64,8 +64,9 @@
     global fileselect
     global exwin
 
-    # Smash out anything that isn't alphanumeric, period, underscore or dash
-    regsub -all {[^[:print:]._-]+} $defaultName _ defaultName
+    # Smash out anything that isn't alphanumeric, period, underscore,
+    # slash or dash
+    regsub -all {[^[:print:]._/-]+} $defaultName _ defaultName
     # Oh, and too many things treat dot-files as special...
     regsub {^\.+} $defaultName _ defaultName

I presume '/' was dropped to protect the other case where FSBox is passed a 
default, viz saving a MIME part.  Perhaps it needs to have some way to 
distinguish the two cases?
-- 
Dr George D M Ross, School of Informatics, University of Edinburgh
    Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
Mail: [email protected]   Voice: +44 131 650 5147   Fax: +44 131 667 7209
 PGP: 1024D/AD758CC5  B91E D430 1E0D 5883 EF6A  426C B676 5C2B AD75 8CC5

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.6.3 2003/04/04

iD8DBQFBbkrxtnZcK611jMURAjq5AKCfjR7OvhjsOzQk0qizhAcxHaRe4gCfYwAR
L0SweV1ITZ6I7vZ0k50GIeU=
=lUm5
-----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.