Re: filenames for opening attachments
Ken Poulton <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
When opening attachments, exmh uses some rather obscure temp file names rather than names related to the attachment. E.g.: 2. Heat Sink 1005.ppt This is a application/vndms-powerpoint It can be displayed with "ooffice /tmp/poulton/1.0=1=2.12279.exmh". name = Heat Sink 1005.ppt There are several problems with this: 1) The temp file name does not use the suffix, which some programs want to use to figure out the file type. 2) The temp file name does not reflect the original file name, which makes it hard to find which window to bring back up later. It also makes it hard to remember the name to use to save it under if you later want to save it from the viewer rather than from exmh. And it makes it hard to remember the right name of the document when communicating to others about it. 3) The temp file name gets reused. This confuses acroread(1), which thinks it need do nothing for all viewing requests after the first. Is there any way to configure the temp file naming? I'd much prefer the naming to be something like /tmp/<user>/<orig_file_name> or /tmp/exmh.<user>/<orig_file_name> with special characters changed to "_" the way 'save' already does. What would it take to do this? Thanks, Ken Poulton "Somewhere, there is a pointer laughing at you." -- C programmer