* base64-decoder-program question
@ 1998-12-02 22:14 John H Palmieri
1998-12-02 22:17 ` Hrvoje Niksic
0 siblings, 1 reply; 2+ messages in thread
From: John H Palmieri @ 1998-12-02 22:14 UTC (permalink / raw)
GNU Emacs 20.3.1 (sparc-sun-solaris2.5.1, X toolkit) of Thu Aug 27
1998 on darwin
Pterodactyl Gnus v0.61
uname -a: SunOS ahoward 5.5 Generic_103093-23 sun4m sparc SUNW,SPARCstation-10
**********
Okay, maybe I'm just being dense, but I can't figure out how to use
the variable base64-decoder-program so that gnus does what I want. If
I want to decode some mime by hand, I run 'mimencode -u' and it
works just fine. So I did
(setq base64-decoder-program "mimencode"
base64-decoder-switches " -u ") ;; I've tried it with and
;; without the spaces.
But now things aren't being decoded correctly. When I try to view a
jpg or gif file, for instance, gnus seems to be passing the (encoded)
mime to xv, rather than the decoded picture--xv opens up with a text
window showing the mime stuff, not the picture.
If I set base64-decoder-program to nil, then gnus does a fine job
decoding, but I was hoping to speed things up a bit.
What am I doing wrong?
--
John H. Palmieri
e-mail: palmieri.2@nd.edu 205 Computing/Mathematics Building
URL:http://www.nd.edu/~jpalmier/ University of Notre Dame
(219) 631-8846 Notre Dame, IN 46556
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: base64-decoder-program question
1998-12-02 22:14 base64-decoder-program question John H Palmieri
@ 1998-12-02 22:17 ` Hrvoje Niksic
0 siblings, 0 replies; 2+ messages in thread
From: Hrvoje Niksic @ 1998-12-02 22:17 UTC (permalink / raw)
John H Palmieri <John.H.Palmieri.2@nd.edu> writes:
> GNU Emacs 20.3.1 (sparc-sun-solaris2.5.1, X toolkit) of Thu Aug 27
> 1998 on darwin
>
> Pterodactyl Gnus v0.61
>
> uname -a: SunOS ahoward 5.5 Generic_103093-23 sun4m sparc SUNW,SPARCstation-10
>
> **********
>
> Okay, maybe I'm just being dense, but I can't figure out how to use
> the variable base64-decoder-program so that gnus does what I want. If
> I want to decode some mime by hand, I run 'mimencode -u' and it
> works just fine. So I did
>
> (setq base64-decoder-program "mimencode"
> base64-decoder-switches " -u ") ;; I've tried it with and
> ;; without the spaces.
Try this:
(setq base64-decoder-program "mimencode"
base64-decoder-switches '("-u"))
This will be covered by the FAQ.
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-12-02 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-02 22:14 base64-decoder-program question John H Palmieri
1998-12-02 22:17 ` Hrvoje Niksic
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).