Gnus development mailing list
 help / color / mirror / Atom feed
From: deskpot@myrealbox.com (Vasily Korytov)
Subject: Symbol's value as variable is void: lpr-command
Date: Mon, 20 Jan 2003 06:42:01 +0300	[thread overview]
Message-ID: <87n0lwxzau.fsf@unix.home> (raw)

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

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?

---Vas

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

             reply	other threads:[~2003-01-20  3:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20  3:42 Vasily Korytov [this message]
2003-01-20  3:46 ` Vasily Korytov
2003-01-20  5:09 ` Jesper Harder
2003-01-20  6:51   ` Vasily Korytov
2003-01-20 10:32 ` Simon Josefsson
2003-01-20 16:04   ` Vasily Korytov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87n0lwxzau.fsf@unix.home \
    --to=deskpot@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).