* Small patch for `mml-minibuffer-read-disposition'
@ 2004-01-05 22:19 Karl Pflästerer
2004-01-06 5:11 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Karl Pflästerer @ 2004-01-05 22:19 UTC (permalink / raw)
Hi,
the new option to set the attachment type is good. But I missed to see
the default type in the prompt, so here is the patch.
Index: mml.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mml.el,v
retrieving revision 7.2
diff -u -r7.2 mml.el
--- mml.el 5 Jan 2004 20:50:13 -0000 7.2
+++ mml.el 5 Jan 2004 22:16:12 -0000
@@ -939,10 +939,11 @@
(if (string-match "^text/.*" type)
"inline"
"attachment")))
- (disposition (completing-read "Disposition: "
- '(("attachment") ("inline") (""))
- nil
- nil)))
+ (disposition (completing-read
+ (format "Disposition: (default %s): " default)
+ '(("attachment") ("inline") (""))
+ nil
+ nil)))
(if (not (equal disposition ""))
disposition
default)))
And for lisp/Changelog
2004-01-05 Karl Pflästerer <sigurd@12move.de>
* mml.el (mml-minibuffer-read-disposition): Show attachment type
in prompt
KP
--
"Lisp is worth learning for the profound enlightenment experience you
will have when you finally get it; that experience will make you a
better programmer for the rest of your days, even if you never
actually use Lisp itself a lot." -- Eric S. Raymond
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Small patch for `mml-minibuffer-read-disposition'
2004-01-05 22:19 Small patch for `mml-minibuffer-read-disposition' Karl Pflästerer
@ 2004-01-06 5:11 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-01-06 5:11 UTC (permalink / raw)
sigurd@12move.de (Karl Pflästerer) writes:
> * mml.el (mml-minibuffer-read-disposition): Show attachment type
> in prompt
Thanks for the patch; I've applied it to No Gnus v0.2 (i. e., CVS).
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-06 5:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 22:19 Small patch for `mml-minibuffer-read-disposition' Karl Pflästerer
2004-01-06 5:11 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).