help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postscript printing from emacs


From: Stein Arild Strømme
Subject: Re: postscript printing from emacs
Date: Wed, 28 Mar 2007 13:11:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

[Stein Arild Strømme]

| [Lennart Borgman]
| 
| | Stein Arild Strømme wrote:
| | 
| | > OK, I have no doubts that it works, but it is too cumbersome.  
| | 
| | 
| | If you try htmlize-view.el and tell me what you find too much work I
| | will be glad to change it if it is possible.
| 
| I did try it now, and I'm impressed.  Can't really think of much of an
| improvement.  Thanks a lot!

Turns out that there is a problem in Emacs 21.4 (Fedora Core release 5
distribution, started with -q option).  I get the following backtrace: 

Debugger entered--Lisp error: (wrong-number-of-arguments #[(prefix &optional 
dir-flag) "ÁÁÂτ
!ˆ‚
ÉÊÉË&ˆÉ‡" [prefix temporary-file-directory file dir-flag make-temp-name 
expand-file-name make-directory write-region "" nil silent excl] 8) 
((file-already-exists t))] 3 1390966] 3)
  make-temp-file("/tmp/htmlize-view" nil ".htm")
  htmlize-view-gettemp-file-name()
  (let (magic-mode-alist auto-mode-alist (html-temp-buffer ...) (file ...)) 
(set-buffer html-temp-buffer) (write-file file nil) (if 
htmlize-view-kill-view-buffers (kill-buffer html-temp-buffer)) file)
  (save-excursion (let (magic-mode-alist auto-mode-alist ... ...) (set-buffer 
html-temp-buffer) (write-file file nil) (if htmlize-view-kill-view-buffers ...) 
file))
  htmlize-buffer-to-tempfile(nil)
  (let* ((html-file ...)) (browse-url-of-file html-file))
  htmlize-view-buffer()
* call-interactively(htmlize-view-buffer)


In current CVS Emacs (22.0.50) everything works OK, but I cannot get the
university to distribute that to everyone..

SA
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt, UiB     http://math.uib.no/stromme/         
Johs Brunsg 12, N-5008 BERGEN         address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]