* Can't print MIME part
@ 2003-01-15 8:34 Kai Großjohann
2003-01-16 3:57 ` Jesper Harder
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2003-01-15 8:34 UTC (permalink / raw)
Hitting `p' on a MIME button produces this backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp ("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")))
string-match("=\\?" ("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")))
rfc2047-decode-string(("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")))
mail-header-parse-content-type(("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")))
mailcap-mime-info(("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")) "print")
gnus-mime-print-part(nil nil)
call-interactively(gnus-mime-print-part)
Is it a bug or (not unlikely) just me doing something stupid?
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can't print MIME part
2003-01-15 8:34 Can't print MIME part Kai Großjohann
@ 2003-01-16 3:57 ` Jesper Harder
2003-01-16 7:53 ` Kai Großjohann
2003-01-18 1:36 ` Can you use :prescript with maildir? dave-mlist
0 siblings, 2 replies; 10+ messages in thread
From: Jesper Harder @ 2003-01-16 3:57 UTC (permalink / raw)
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> Hitting `p' on a MIME button produces this backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp ("application/pdf" (name . "Blatt 10 Aufgabe 2.pdf")))
>
> Is it a bug or (not unlikely)
Fixed (I think).
> just me doing something stupid?
Well, if you haven't defined a printer¹ for "application/pdf" in .mailcap
it won't do anything useful, of course.
¹ I hadn't :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can't print MIME part
2003-01-16 3:57 ` Jesper Harder
@ 2003-01-16 7:53 ` Kai Großjohann
2003-01-17 5:22 ` Jesper Harder
2003-01-18 1:36 ` Can you use :prescript with maildir? dave-mlist
1 sibling, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2003-01-16 7:53 UTC (permalink / raw)
Jesper Harder <harder@myrealbox.com> writes:
> Well, if you haven't defined a printer¹ for "application/pdf" in .mailcap
> it won't do anything useful, of course.
>
> ¹ I hadn't :-)
Huh? Yes, I haven't defined a printer for application/pdf. But I
also don't have a printer for application/postscript, and I always
thought I could print those. Hm. But now that I consider, it seems
that I have never actually tried to print it.
I shall try.
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can't print MIME part
2003-01-16 7:53 ` Kai Großjohann
@ 2003-01-17 5:22 ` Jesper Harder
0 siblings, 0 replies; 10+ messages in thread
From: Jesper Harder @ 2003-01-17 5:22 UTC (permalink / raw)
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> Jesper Harder <harder@myrealbox.com> writes:
>
>> Well, if you haven't defined a printer¹ for "application/pdf" in
>> .mailcap it won't do anything useful, of course.
>
> Huh? Yes, I haven't defined a printer for application/pdf. But I
> also don't have a printer for application/postscript, and I always
> thought I could print those.
You can ... if what you want to print is the Postscript source :-)
I added a couple of "print" entries to mailcap.el. But they only take
effect if .mailcap doesn't define the MIME type.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Can you use :prescript with maildir?
2003-01-16 3:57 ` Jesper Harder
2003-01-16 7:53 ` Kai Großjohann
@ 2003-01-18 1:36 ` dave-mlist
2003-01-21 6:03 ` Lars Magne Ingebrigtsen
1 sibling, 1 reply; 10+ messages in thread
From: dave-mlist @ 2003-01-18 1:36 UTC (permalink / raw)
It doesn't work for me. I have the following in my .gnus:
(setq gnus-secondary-select-methods '((maildir :path "~/mail/Incoming/"
:prescript "/path/to/script-that-fetches-into-maildir")))
And this results in the following error:
Debugger entered--Lisp error: (wrong-type-argument sequencep :path)
gnus-read-active-file-1((maildir :path "~/mail/Incoming/" :prescript "echo 'poll a.mx.wuertele.com port 993 protocol IMAP username wuertele-com-test2 password fragfrag ssl' | fetchmail --nodetach -vv -n -f - -m '/usr/local/bin/maildir ~/mail/Incoming'") nil)
gnus-read-active-file(nil nil)
gnus-setup-news(nil nil nil)
byte-code("..." [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-use-grouplens level] 4)
gnus-1(nil nil nil)
gnus(nil)
* call-interactively(gnus)
execute-extended-command(nil)
call-interactively(execute-extended-command)
It seems like it didn't like the :prescript being there after the path.
Dave
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can you use :prescript with maildir?
2003-01-18 1:36 ` Can you use :prescript with maildir? dave-mlist
@ 2003-01-21 6:03 ` Lars Magne Ingebrigtsen
2003-01-21 18:35 ` dave-mlist
0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-21 6:03 UTC (permalink / raw)
dave-mlist@bfnet.com writes:
> (setq gnus-secondary-select-methods '((maildir :path "~/mail/Incoming/"
> :prescript "/path/to/script-that-fetches-into-maildir")))
That's not valid -- you seem to be using mail-source syntax instead
of select method syntax.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can you use :prescript with maildir?
2003-01-21 6:03 ` Lars Magne Ingebrigtsen
@ 2003-01-21 18:35 ` dave-mlist
2003-01-21 20:12 ` Kai Großjohann
0 siblings, 1 reply; 10+ messages in thread
From: dave-mlist @ 2003-01-21 18:35 UTC (permalink / raw)
Me> (setq gnus-secondary-select-methods '((maildir :path "~/mail/Incoming/"
Me> :prescript "/path/to/script-that-fetches-into-maildir")))
Lars> That's not valid -- you seem to be using mail-source syntax instead
Lars> of select method syntax.
OK... if I want to use a script to fetch mail into a maildir, then
read it with the maildir backend, how should I do that?
Dave
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can you use :prescript with maildir?
2003-01-21 18:35 ` dave-mlist
@ 2003-01-21 20:12 ` Kai Großjohann
2003-01-21 19:36 ` dave-mlist
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2003-01-21 20:12 UTC (permalink / raw)
dave-mlist@bfnet.com writes:
> OK... if I want to use a script to fetch mail into a maildir, then
> read it with the maildir backend, how should I do that?
(add-to-list 'gnus-secondary-select-methods '(nnmaildir ""))
In the simplest case, the above might work. There are probably other
parameters. Look for the nnmaildir documentation for details.
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can you use :prescript with maildir?
2003-01-21 20:12 ` Kai Großjohann
@ 2003-01-21 19:36 ` dave-mlist
2003-01-21 20:47 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 10+ messages in thread
From: dave-mlist @ 2003-01-21 19:36 UTC (permalink / raw)
Cc: ding
Dave> OK... if I want to use a script to fetch mail into a maildir, then
Dave> read it with the maildir backend, how should I do that?
Kai> (add-to-list 'gnus-secondary-select-methods '(nnmaildir ""))
Kai> In the simplest case, the above might work. There are probably other
Kai> parameters. Look for the nnmaildir documentation for details.
I didn't find nnmaildir anywhere in my sources. What version did
nnmaildir land on?
Dave
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-01-21 20:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 8:34 Can't print MIME part Kai Großjohann
2003-01-16 3:57 ` Jesper Harder
2003-01-16 7:53 ` Kai Großjohann
2003-01-17 5:22 ` Jesper Harder
2003-01-18 1:36 ` Can you use :prescript with maildir? dave-mlist
2003-01-21 6:03 ` Lars Magne Ingebrigtsen
2003-01-21 18:35 ` dave-mlist
2003-01-21 20:12 ` Kai Großjohann
2003-01-21 19:36 ` dave-mlist
2003-01-21 20:47 ` 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).