From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Path of tool-bar icons
Date: Wed, 11 Apr 2018 19:33:43 +0300 [thread overview]
Message-ID: <83h8oh3dp4.fsf@gnu.org> (raw)
In-Reply-To: <CACE4N+XDkoSF1=BuLXpj-Ycxq3a+vVQAcP--qQA4-9s3F9LguQ@mail.gmail.com> (message from Mick Bert on Wed, 11 Apr 2018 16:01:25 +0200)
> From: Mick Bert <micbert75@gmail.com>
> Date: Wed, 11 Apr 2018 16:01:25 +0200
>
> 2018-04-11 13:39 GMT+02:00 Arkadiusz Drabczyk <arkadiusz@drabczyk.org>:
> >
> > You can use strace to check, example output:
> >
> > $ strace emacs |& grep access | grep /images
>
> Nice idea. After few tests, I used the command:
>
> trace /usr/bin/emacs-24.3|& grep '\.[bx]pm' | grep share |grep images
>
> I report here an extract of what I get:
>
> stat("/usr/share/emacs/24.3/etc/images/new.xpm",
> {st_mode=S_IFREG|0644, st_size=3331, ...}) = 0
> open("/usr/share/emacs/24.3/etc/images/new.xpm", O_RDONLY) = 15
> stat("/usr/share/emacs/24.3/etc/images/new.xpm",
> {st_mode=S_IFREG|0644, st_size=3331, ...}) = 0
> open("/usr/share/emacs/24.3/etc/images/new.xpm", O_RDONLY) = 15
> open("/usr/share/emacs/24.3/etc/images/new.xpm", O_RDONLY) = 15
> stat("/usr/share/emacs/24.3/etc/images/open.xpm",
> {st_mode=S_IFREG|0644, st_size=4068, ...}) = 0
> open("/usr/share/emacs/24.3/etc/images/open.xpm", O_RDONLY) = 15
> stat("/usr/share/emacs/24.3/etc/images/open.xpm",
> {st_mode=S_IFREG|0644, st_size=4068, ...}) = 0
> open("/usr/share/emacs/24.3/etc/images/open.xpm", O_RDONLY) = 15
> open("/usr/share/emacs/24.3/etc/images/open.xpm", O_RDONLY) = 15
> ...
Jeez, crowd, whatever happened to reading the fine docs (or the
sources, for that matter)?
image-load-path is a variable defined in ‘image.el’.
Its value is
("/usr/share/emacs/26.1/etc/images/" data-directory load-path)
Documentation:
List of locations in which to search for image files.
If an element is a string, it defines a directory to search.
If an element is a variable symbol whose value is a string, that
value defines a directory to search.
If an element is a variable symbol whose value is a list, the
value is used as a list of directories to search.
Subdirectories are not automatically included in the search.
next prev parent reply other threads:[~2018-04-11 16:33 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-11 8:13 Path of tool-bar icons Mick Bert
2018-04-11 11:39 ` Arkadiusz Drabczyk
2018-04-11 14:01 ` Mick Bert
2018-04-11 14:36 ` Arkadiusz Drabczyk
2018-04-11 15:27 ` tomas
2018-04-11 16:33 ` Eli Zaretskii [this message]
2018-04-11 18:42 ` tomas
2018-04-12 12:44 ` Eli Zaretskii
2018-04-12 12:49 ` tomas
[not found] ` <mailman.12056.1523472150.27995.help-gnu-emacs@gnu.org>
2018-04-11 20:38 ` Emanuel Berg
2018-04-11 20:55 ` tomas
2018-04-11 21:47 ` Drew Adams
2018-04-12 7:11 ` tomas
2018-04-12 11:26 ` Eli Zaretskii
2018-04-12 16:55 ` Drew Adams
[not found] ` <mailman.12074.1523483281.27995.help-gnu-emacs@gnu.org>
2018-04-11 21:59 ` Emanuel Berg
2018-04-11 22:23 ` Drew Adams
2018-04-12 12:18 ` Mick Bert
2018-04-12 12:39 ` Eli Zaretskii
[not found] ` <mailman.12043.1523464419.27995.help-gnu-emacs@gnu.org>
2018-04-11 17:05 ` Emanuel Berg
2018-04-11 17:29 ` Eli Zaretskii
[not found] ` <mailman.12050.1523467772.27995.help-gnu-emacs@gnu.org>
2018-04-11 20:33 ` Emanuel Berg
2018-04-12 12:39 ` Mick Bert
[not found] <mailman.12009.1523434449.27995.help-gnu-emacs@gnu.org>
2018-04-11 9:22 ` Emanuel Berg
2018-04-11 11:20 ` Mick Bert
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=83h8oh3dp4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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 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.