9 Apr 06:33
Re: minor questions
From: Bill Wohler <wohler <at> newt.com>
Subject: Re: minor questions
Newsgroups: gmane.mail.mh-e.user
Date: 2008-04-09 04:33:49 GMT
Subject: Re: minor questions
Newsgroups: gmane.mail.mh-e.user
Date: 2008-04-09 04:33:49 GMT
Greg Minshall <minshall <at> acm.org> wrote: > 1. how can i make it such that when i "F v", i see *all* of, e.g., > +inbox, not just the unread +inbox/select? C-u F v > 2. how can i make speedbar just show me folders with unread messages in > it? > > 3. how can i tell speedbar some folders to *never* display? I don't think MH-E supports that, although with some defadvice trickery, you might be able to make that happen. I'll leave that as an exercise for the reader. > 4. can saving of attachments be made to obey mh-store-default-directory? You mean mh-mime-save-parts-default-directory. That `K o' doesn't respect it might be a bug. Can you please report it so we can look at it some time? > 5. how can i make stupid messages where each paragraph is a huge long > line be formatted "nicely" (e.g., "fold -sw72")? You could do it yourself with a mh-show-mode-hook. If these messages have a format="flowed" parameter in their Context-Type header field, then there's a bug that needs to be reported, although I vaguely remember already posting one about that
. > 6. how can i print out a part of a message (say, the text part that i > am reading, or text/html)? Check out `C-h k P p' and see if that help doesn't answer your question. > 7. when reading, how can i make it always go "down" when i delete a > message (rather than remembering the last 'n' or 'p')? Hmmm. > 8. how do i make 'R' do "reply all"? Since that's my default, I just make my replcomps and replgroupcomps do that, and remove addresses that I don't want. But you could bind R to gm-reply-all and read the code to see how you might write it
. For example, the following lets me pick my template. Your gm-reply-all function would just hard-code your desired template. (defun bw-mh-folder-mode-hook () "Hook to set key bindings in MH-Folder mode." ... (local-set-key "\C-cr" 'bw-reply-with-template)) ;; Send and reply using different templates. (defun bw-reply-with-template (form) "Reply with the alternate template FORM." (interactive (list (read-file-name "Form: " (concat mh-user-path "comps/") nil t))) (let* ((mh-repl-formfile (expand-file-name form)) (mh-repl-group-formfile mh-repl-formfile)) (call-interactively 'mh-reply))) See also mh-reply-default-reply-to. > 9. with received mail, how can i delete a part (attachment)? ('M' is > one way, but "K d" would be nice.) It might, and we may have discussed this already. Check the archives and feature requests to see if we did and if there were any reasons why we shouldn't do this. If not, then please submit a feature request. > 10. how can i arrange to have saves (attachments, etc.) always happen > in ~/Downloads? For `K a' see mh-mime-save-parts-default-directory. > 11. how can i mark a folder to "never delete"? You can't. Just say "no" if you hit `F d' by accident. Well, you can make the folder read-only, but then you wouldn't be able to add or remove messages from it. But that might be OK. > 12. how can i do a smart save, a function that has as inputs (current > folder, date of message)? i guess i could use procmail to do this? if > so, how do i bind a key to "pipe through procmail with some given set of > arguments"? procmail is one way. See `|' (`mh-pipe-msg'). I think you might be interested in mh-default-folder-for-message-function or mh-folder-from-address. > 13. it would be nice to have a prefix so that when the pointer (?) is > in the folder view, and a message is displayed in the second buffer, the > next movement (or search) command would apply to the message buffer > rather than the folder buffer. C-x o
. > 14. when the pointer is in the message buffer, and i say "n", say, the > "highlight" stays on the original header line in the folder buffer, even > though the current message moves forward one header line. I believe I've already submitted a bug about this. If not, please add one. > 15. would be nice if Fv input "obeyed" C-p by showing unique items in > history. M-p > 16. if i type C-c C-c to send a message when the last line i was typing > *should* be wrapped, it *isn't* wrapped. (but, probably this takes > registering something with emacs, and that facility probably doesn't > exist, to give wrapper control every time focus is leaving the line, or > something like that?) M-q. Try running `M-x customize-group RET mh-hooks RET' and read about the hooks that we have available. And read the Lisp Reference Manual. You should be able to do most of the things you want. -- -- Bill Wohler <wohler <at> newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
.
> 4. can saving of attachments be made to obey mh-store-default-directory?
You mean mh-mime-save-parts-default-directory. That `K o' doesn't
respect it might be a bug. Can you please report it so we can look at it
some time?
> 5. how can i make stupid messages where each paragraph is a huge long
> line be formatted "nicely" (e.g., "fold -sw72")?
You could do it yourself with a mh-show-mode-hook. If these messages
have a format="flowed" parameter in their Context-Type header field,
then there's a bug that needs to be reported, although I vaguely
remember already posting one about that
RSS Feed