unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs, colors and gdk-pixbuf.
Date: Sun, 13 Apr 2003 23:43:59 +0200	[thread overview]
Message-ID: <08E8A3E0-6DF9-11D7-92C7-00039363E640@swipnet.se> (raw)
In-Reply-To: <x5znmuuok5.fsf@lola.goethe.zz>


söndagen den 13 april 2003 kl 22.31 skrev David Kastrup:

> "Jan D." <jan.h.d@swipnet.se> writes:
>
>> Some time ago there was some discussion about improving image and
>> color handling in Emacs.
>
> Meaning that I said "oh this sucks so bad, can't be do something
> about it?".  And of course the easiest way out is to use existing
> code that sucks less.  There is a disadvantage of course: it is not
> nice if the only Emacs that offers reasonable performance and
> semantics for images and colors is the GTK version.  There are two
> answers to that:

It is quite possible to use gdk-pixbuf with other toolkits.  I made all
my tests with Lucid to make sure.


> a) other toolkits usually should also have their own favorite ways of
> dealing with the same problem, so one could try shifting work load
> more into the toolkits if that is found to be the case.
>
> b) the generic Emacs code for handling the stuff gets an overhaul.


>> First, gdk-pixbuf is inherently single displayed.  This means that
>> Emacs would be limited to one display.  Since GTK also is
>> single-displayed (perhaps not 2.2, there has been talk about some
>> changes, I haven't checked this yet), we could make gdk-pixbuf the
>> default for GTK.
>
>> From the release announcements:
>
>     GTK+-2.1.5 is now available for download at:
>
>      ftp://ftp.gtk.org/pub/gtk/v2.1/
>
>     This is the final prerelease before GTK+-2.2. The major
>     change as compared to the stable GTK+-2.0.6 is support for
>     multiple displays and multiple screens in GDK, although there are
>     numerous minor changes as well.

Unfortunately, this does not apply to the X11 rendering part of
gdk-pixbuf.  It is still single display only.


> Since Emacs is potentially multiheaded (see, for example, the
> talk-connect function), it would probably be better if the GTK port
> followed suit where possible and supported.

I will add that eventually.

	Jan D.

      reply	other threads:[~2003-04-13 21:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-13 19:17 Emacs, colors and gdk-pixbuf Jan D.
2003-04-13 20:31 ` David Kastrup
2003-04-13 21:43   ` Jan D. [this message]

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=08E8A3E0-6DF9-11D7-92C7-00039363E640@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).