From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arkadiusz Drabczyk Newsgroups: gmane.emacs.help Subject: Re: Path of tool-bar icons Date: Wed, 11 Apr 2018 14:36:23 +0000 (UTC) Organization: Daddy, why doesn't this magnet pick up this floppy disk? Message-ID: References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1523457435 27206 195.159.176.226 (11 Apr 2018 14:37:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 14:37:15 +0000 (UTC) User-Agent: slrn/1.0.2 (Linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 16:37:10 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Gs2-0006zQ-Ky for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 16:37:10 +0200 Original-Received: from localhost ([::1]:59870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Gu9-00030f-Bw for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 10:39:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Gtd-0002zt-4p for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 10:38:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6GtZ-000554-T3 for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 10:38:49 -0400 Original-Received: from [195.159.176.226] (port=35731 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6GtZ-00054N-LV for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 10:38:45 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f6GrO-0006Al-0E for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 16:36:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: nobody X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116461 Archived-At: On 2018-04-11, Mick Bert wrote: > 2018-04-11 13:39 GMT+02:00 Arkadiusz Drabczyk : >> >> 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 > ... > > Therefore it looks it is reading the images, so why isn't it displaying them? > Any idea? Can you display these images with an image viewer? You can also try starting emacs with -Q just for the case: -Q, --quick Similar to "-q --no-site-file --no-splash". Also, avoid processing X resources. -- Arkadiusz Drabczyk