unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Cc: emacs-devel@gnu.org
Subject: Re: About `image-load-path'
Date: Fri, 23 Sep 2005 10:47:04 +0200 (CEST)	[thread overview]
Message-ID: <23183459.1127465224759.JavaMail.www@wwinf0603> (raw)

Hello,

>     Yes it makes sense to let-bind `image-load-path' in my own code
>     but it is not so easy for libraries which are part of Emacs for
>     example.
> 
> Could you give an example of where you would want to do this
> in the code of a library that is part of Emacs?

I don't want to change the code of existing libraries.  Just to easily
use different sets of images.

For example, I use a different set of toolbar icons. I just put the
new ones (with same names) in a directory in my `load-path' (I have to
add 'tool-bar-setup' to `after-init-hook' too to refresh the pre-built
`tool-bar-map'), and voilà!

With the current setting of `image-load-path', if the default toolbar
icons are put in etc/images those in my `load-path' will be
ignored. To take them into account again, I'll have to change the
default value of `image-load-path' in my init file to search the
`load-path' first, or to add it my own image directory.  That's why I
suggested to at least make `image-load-path' customizable.

Anyway no problem for me ;-)

Sincerely,
David

             reply	other threads:[~2005-09-23  8:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-23  8:47 David PONCE [this message]
2005-09-24  7:04 ` About `image-load-path' Richard M. Stallman
2005-09-24  8:04   ` David Kastrup
2005-09-24 11:54     ` Reiner Steib
2005-09-25  2:40     ` Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-09-22 11:28 David PONCE
2005-09-22 13:03 ` Kim F. Storm
2005-09-22 14:08   ` Jason Rumney
2005-09-23  0:17 ` Chong Yidong
2005-09-23  7:24 ` Richard M. Stallman
2005-09-22  8:44 David PONCE
2005-09-22 10:55 ` Kim F. Storm

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=23183459.1127465224759.JavaMail.www@wwinf0603 \
    --to=david.ponce@wanadoo.fr \
    --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).