help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path of tool-bar icons


From: Eli Zaretskii
Subject: Re: Path of tool-bar icons
Date: Wed, 11 Apr 2018 19:33:43 +0300

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]