From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Printing Date: Tue, 08 May 2012 11:15:25 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <5f0660120903280331y780c80b7i57a8115dc4b029eb@mail.gmail.com> <49CE3A84.9070705@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1336443341 24804 80.91.229.3 (8 May 2012 02:15:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 May 2012 02:15:41 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 08 04:15:37 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SRZxg-00021q-Sc for ged-emacs-devel@m.gmane.org; Tue, 08 May 2012 04:15:37 +0200 Original-Received: from localhost ([::1]:46542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRZxg-0006tH-2z for ged-emacs-devel@m.gmane.org; Mon, 07 May 2012 22:15:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRZxd-0006sw-9E for emacs-devel@gnu.org; Mon, 07 May 2012 22:15:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRZxb-0006Vx-83 for emacs-devel@gnu.org; Mon, 07 May 2012 22:15:32 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:57461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRZxa-0006RR-Nk for emacs-devel@gnu.org; Mon, 07 May 2012 22:15:31 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 58858C055D; Tue, 8 May 2012 11:15:25 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: NetBSD 3.0 (DF) X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150365 Archived-At: >>>>> On Tue, 8 May 2012 03:25:33 +0200, Lennart Borgman said: >> Actually, the primary motivation of introducing a cairo terminal >> was to support the generation of PDF data from the buffer contents >> directly using the Emacs redisplay engine, even from a tty session >> (i.e., without X server running), rather than supporting multiple >> window systems. =A0Showing a print dialog, sending the output to a >> printer, etc. will need another library or something, perhaps in a >> window-system dependent way. >>=20 >> Do you possibly have some idea of "abstraction on a higher level"? > Ah, I see. Did you consider the printing already available in > nXhtml? This makes html pages from buffers (and also from frames > for other purposes). I've heard of the conversion from a buffer contents to html, but I didn't know that it also supports the conversion from a frame. Yes, conversion to html is useful and handy for many purposes. Although the direct use of the Emacs redisplay engine in printing via cairo has its strength in reproducibility of some peculiarities such as compositions in Emacs display features, if people don't need them in printing so much, then it might be rather overkill. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp