From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49383 Path: main.gmane.org!not-for-mail From: deskpot@myrealbox.com (Vasily Korytov) Newsgroups: gmane.emacs.gnus.general Subject: Symbol's value as variable is void: lpr-command Date: Mon, 20 Jan 2003 06:42:01 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: <87n0lwxzau.fsf@unix.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: main.gmane.org 1043034057 22101 80.91.224.249 (20 Jan 2003 03:40:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2003 03:40:57 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18aSnv-0005k9-00 for ; Mon, 20 Jan 2003 04:40:55 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18aSoM-0004xc-00; Sun, 19 Jan 2003 21:41:22 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 19 Jan 2003 21:42:19 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id VAA22451 for ; Sun, 19 Jan 2003 21:42:07 -0600 (CST) Original-Received: (qmail 99221 invoked by alias); 20 Jan 2003 03:41:07 -0000 Original-Received: (qmail 99216 invoked from network); 20 Jan 2003 03:41:06 -0000 Original-Received: from ns1.telekom.ru (root@194.190.195.83) by 66.230.238.6 with SMTP; 20 Jan 2003 03:41:06 -0000 Original-Received: from unix.home (h16.217.elnet.msk.ru [194.190.217.16]) by ns1.telekom.ru (8.12.6/8.12.6) with SMTP id h0K3fAGV020756 for ; Mon, 20 Jan 2003 06:41:11 +0300 Original-Received: (qmail 1076 invoked from network); 20 Jan 2003 03:42:48 -0000 Original-Received: from localhost (alias@127.0.0.1) by localhost with QMTP; 20 Jan 2003 03:42:48 -0000 Original-Received: (qmail 1047 invoked by uid 1000); 20 Jan 2003 03:42:04 -0000 Original-To: ding@gnus.org X-Attribution: VK Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.090013 (Oort Gnus v0.13) XEmacs/21.4 (Portable Code, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49383 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49383 --=-=-= Content-Transfer-Encoding: quoted-printable I've just updatet Oort from CVS. When (require ...)'ing gnus-load it stops with the error: Symbol's value as variable is void: lpr-command. If I define lpr-command, the same is for lpr-switches. When I define both prior to (require 'gnus-load), it works again. The problem is in file mailcap.el, in the following strings: (defvar mailcap-print-command (mapconcat 'identity (cons lpr-command (if (stringp lpr-switches) (list lpr-switches) lpr-switches)) " ") "Shell command (including switches) used to print Postscript files.") Currently I can't find the XEmacs equivalent of lpr-command and lpr-swithes (assuming, there're some), and would suggest checking for these variables, if they're not bound, setting them to "lpr" and "". Can anyone suggest a better way? =2D--Vas --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+K3ALoPg1JPzYGEERAvuZAJ9VIA68xdfYk/QW2OqF5T06TiksjgCgnlVe s5j2Sl8n0j9PwdTpfp3i1yw= =V1wv -----END PGP SIGNATURE----- --=-=-=--