From: stromme@math.uib.no (Stein Arild Strømme)
To: help-gnu-emacs@gnu.org
Cc: HansFredrik.Nordhaug@math.uib.no
Subject: Re: postscript printing from emacs
Date: Wed, 28 Mar 2007 13:11:43 +0200 [thread overview]
Message-ID: <jxuy7lhipw0.fsf@mi061052.klientdrift.uib.no> (raw)
In-Reply-To: jxuodmgsc3o.fsf@mi061052.klientdrift.uib.no
[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) "Á\x18ÁÂÃ\x02
!\x1d
ÉÊÉË&\aÉ" [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 stromme@math.uib.no
next prev parent reply other threads:[~2007-03-28 11:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 14:03 postscript printing from emacs Stein Arild Strømme
2007-03-23 14:07 ` Stein Arild Strømme
2007-03-23 15:17 ` Peter Dyballa
2007-03-23 15:41 ` Stein Arild Strømme
2007-03-23 17:04 ` Peter Dyballa
[not found] ` <mailman.1318.1174669608.7795.help-gnu-emacs@gnu.org>
2007-03-23 21:17 ` Stein Arild Strømme
2007-03-23 21:58 ` Lennart Borgman (gmail)
[not found] ` <mailman.1344.1174687255.7795.help-gnu-emacs@gnu.org>
2007-03-23 23:12 ` Stein Arild Strømme
2007-03-24 9:38 ` Peter Dyballa
2007-03-24 12:13 ` Lennart Borgman (gmail)
[not found] ` <mailman.1355.1174729271.7795.help-gnu-emacs@gnu.org>
2007-04-09 8:49 ` David Combs
2007-04-09 23:14 ` Peter Dyballa
2007-03-26 7:22 ` Stein Arild Strømme
2007-03-28 11:11 ` Stein Arild Strømme [this message]
2007-03-24 7:39 ` Charles philip Chan
2007-03-24 7:46 ` Charles philip Chan
2007-03-24 8:06 ` Charles philip Chan
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jxuy7lhipw0.fsf@mi061052.klientdrift.uib.no \
--to=stromme@math.uib.no \
--cc=HansFredrik.Nordhaug@math.uib.no \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).