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 10:04:51 +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 1336439109 452 80.91.229.3 (8 May 2012 01:05:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 May 2012 01:05:09 +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 03:05:08 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 1SRYrQ-0002xO-Gf for ged-emacs-devel@m.gmane.org; Tue, 08 May 2012 03:05:04 +0200 Original-Received: from localhost ([::1]:38205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRYrP-0007jm-Qa for ged-emacs-devel@m.gmane.org; Mon, 07 May 2012 21:05:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRYrM-0007j3-9L for emacs-devel@gnu.org; Mon, 07 May 2012 21:05:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRYrJ-00029R-Cw for emacs-devel@gnu.org; Mon, 07 May 2012 21:04:59 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:57520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRYrI-000297-T4 for emacs-devel@gnu.org; Mon, 07 May 2012 21:04:57 -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 2A7C0C055D; Tue, 8 May 2012 10:04:51 +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:150361 Archived-At: >>>>> On Mon, 7 May 2012 13:25:23 +0200, Lennart Borgman said: >> Perhaps I'll work a bit locally first, starting with adding a new >> type of (output-only) graphical terminal for printing. =A0The idea is >> to add a printing support via cairo without being tied with a >> particular window system. >>=20 >> Is anyone already working for supporting multiple types of >> graphical terminals simultaneously? > Is Cairo enough to make a general printing system? Should not the > abstraction be on a higher level so that different OS:es can be > supported? 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. Showing a print dialog, sending the output to a printer, etc. will need another library or something, perhaps in a window-system dependent way. Do you possibly have some idea of "abstraction on a higher level"? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp