all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Printing from emacs
Date: Sun, 27 Apr 2003 13:53:52 +0200	[thread overview]
Message-ID: <84u1ckxijz.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: pan.2003.04.27.03.00.34.995541@microsoft.com

"Brian Poole" <send-your-spam-here@microsoft.com> writes:

> On Sat, 26 Apr 2003 16:18:14 +0200, Kai Großjohann wrote:
>  
>> Please M-x toggle-debug-on-error RET, reproduce the above error message,
>> then show us the resulting backtrace.
>
> Debugger entered--Lisp error: (file-error "Searching for program"
> "success" "")

It seems it was searching for a program called "" (the empty
string).  Weird.

>   call-process-region(1 192 "" "/tmp/emacs5DAz26" t nil "-h" "*scratch*
>   Emacs buffer") apply(call-process-region 1 192 "" t t nil ("-h"
>   "*scratch* Emacs buffer")) print-region-1(1 192 nil t)
>   print-buffer()
>   call-interactively(print-buffer)

This backtrace appears to be a bit short.  As you can see, it invoked
print-region-1.  C-h f tells you it's defined in lpr.  So do M-x
load-library RET lpr.el RET (the .el part is important) and retry.  I
think this gives you a better backtrace.

Have a look in the source: M-x find-function RET print-region-1 RET.
Then search for "process".  This finds the following statement:

(apply 'call-process-region (car new-coords) (cdr new-coords)
		     lpr-page-header-program t t nil
		     (nconc (list "-h" title)
			    lpr-page-header-switches))

As you can see, it invokes lpr-page-header-program.  I'm guessing the
value of this variable is "", the empty string.

-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

  reply	other threads:[~2003-04-27 11:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25  6:43 Printing from emacs Brian Poole
2003-04-25  8:28 ` Joerg Schuster
2003-04-25  9:38 ` Glenn Morris
2003-04-25 11:07   ` Brian Poole
2003-04-25 15:20     ` Kevin Rodgers
2003-04-25 23:52       ` Brian Poole
2003-04-26 14:18     ` Kai Großjohann
2003-04-27  3:00       ` Brian Poole
2003-04-27 11:53         ` Kai Großjohann [this message]
2003-04-28  9:46           ` Brian Poole
2003-04-28 10:27             ` Kai Großjohann
2003-04-29  7:50               ` Brian Poole
2003-04-29 21:42                 ` Matthew Kennedy

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=84u1ckxijz.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.