all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: image scaling
Date: Fri, 22 Feb 2008 17:57:20 -0500	[thread overview]
Message-ID: <E1JSgpU-0005Iu-85@fencepost.gnu.org> (raw)
In-Reply-To: <87lk5dr3kf.fsf@stupidchicken.com> (message from Chong Yidong on Thu, 21 Feb 2008 23:57:20 -0500)

    My main concern with outsourcing particular bits of the Emacs image
    functionality to external libraries (which may or may not be linked
    in) is how this will look at the Lisp level.

The natural and convenient way is to put something in the text
properties that specify scaling, etc.  That makes it very easy
for Lisp programs to specify scaling.

      But it
    would be a mess if we force users (Lisp coders) to perform a similar
    test before performing things like image rescaling---or, worse still,
    having such functionality quietly disappear, by functions not being
    defined or becoming no-ops.

The tremendous advantage of using library facilities for this
outweighs that disadvantage.

We should not write our own "fallback" code, because that is
duplication of effort.  Let's use the libraries to save our time so we
can make some other improvement.

    As for refactoring the Emacs image code, I'm not sure if there's any
    urgency for such a project.  The code isn't elegant, but it's simple
    enough to understand and work on; and I don't know of any performance
    problem in the way Emacs handles image pixmaps.

I agree it is not urgent, but it is quite desirable.
We could release Emacs 23 without doing this, but we would very
much like someone to do it after that.




  parent reply	other threads:[~2008-02-22 22:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21  4:21 image scaling Stefan Monnier
2008-02-21  8:42 ` Mathias Dahl
2008-02-21  9:10   ` Miles Bader
2008-02-21 15:59   ` Stefan Monnier
2008-02-21 20:41     ` Mathias Dahl
2008-02-21 10:01 ` David Kastrup
2008-02-21 10:06 ` joakim
2008-02-21 12:43   ` David O'Toole
2008-02-21 18:43 ` Chong Yidong
2008-02-21 21:49   ` David Kastrup
2008-02-21 22:20     ` Miles Bader
2008-02-22  6:35       ` Jan Djärv
2008-02-22  6:49         ` Miles Bader
2008-02-22  7:26           ` Jan Djärv
2008-02-22 22:57         ` Richard Stallman
2008-02-22  4:57     ` Chong Yidong
2008-02-22  7:48       ` David Kastrup
2008-02-22 20:28         ` Chong Yidong
2008-02-22 21:52           ` David Kastrup
2008-02-22 22:41             ` Chong Yidong
2008-02-22 22:51               ` David Kastrup
2008-02-22 10:23       ` Juanma Barranquero
2008-02-22 10:55         ` Thien-Thi Nguyen
2008-02-22 11:06           ` Juanma Barranquero
2008-02-22 20:38             ` Chong Yidong
2008-02-22 20:47               ` Juanma Barranquero
2008-02-22 22:21               ` Miles Bader
2008-02-23 19:28               ` Richard Stallman
2008-02-22 22:57       ` Richard Stallman [this message]
2008-02-21 22:28 ` Richard Stallman

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=E1JSgpU-0005Iu-85@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.