From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org, hniksic@xemacs.org
Subject: Re: printing ediff
Date: Wed, 19 Oct 2005 23:17:46 +0200 [thread overview]
Message-ID: <4356B7FA.70907@student.lu.se> (raw)
In-Reply-To: <dj5vo8$tv7$1@sea.gmane.org>
Kevin Rodgers wrote:
> rajenho (sent by Nabble.com) wrote:
> > I want to send out a package for code review. I work in a
> > predominantly microsoft environment and in my company we distribute
> > printed packages for code reviews with original and changed code. I
> > really like the ediff utility to see the code differences. Can someone
> > tell me if there is a way to print the code differences that i see with
> > ediff utility?
>
> Your window system should have a utility that you can use to print the
> Emacs frame.
>
> I don't think you can do what you want inside of Emacs, because ediff
> displays the original file and new file in separate buffers. You can
> print either of those buffers (or a region in either buffer) with M-x
> ps-print-buffer-with-faces (or M-x ps-print-region-with-faces), but you
> can't print both at once.
I thought that maybe this could be done the way I do printing in
EmacsW32. I let htmlize.el convert the buffer to HTML and then the
web-browser prints it. (This could be done on any system that has a
web-browser, but EmacsW32 implements this for w32 only. Just a little
change to the code should make the "preview" part portable I realize
right now ...)
Unfortunately this did not work for the ediff buffer in my test now.
Hrvoje, you are the author of this excellent package. Do you know why it
does not work for an ediff buffer? Or rather: maybe can I guess why, but
is that something you plan to implement?;-)
next prev parent reply other threads:[~2005-10-19 21:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 15:24 printing ediff rajenho (sent by Nabble.com)
2005-10-19 17:28 ` Kevin Rodgers
2005-10-19 21:17 ` Lennart Borgman [this message]
2005-10-20 9:01 ` Hrvoje Niksic
2005-10-20 14:05 ` Hrvoje Niksic
2005-10-20 23:20 ` Lennart Borgman
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=4356B7FA.70907@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=help-gnu-emacs@gnu.org \
--cc=hniksic@xemacs.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.
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.