From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Path of tool-bar icons Date: Wed, 11 Apr 2018 17:27:30 +0200 Message-ID: <20180411152730.GA20814@tuxteam.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1523460368 11482 195.159.176.226 (11 Apr 2018 15:26:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 15:26:08 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) 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 17:26:04 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 1f6HdM-0002ql-Gw for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 17:26:04 +0200 Original-Received: from localhost ([::1]:34656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6HfR-0001VY-0c for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 11:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Hex-0001Us-2M for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 11:27:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Hes-0004BD-JV for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 11:27:43 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:33015) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6Hes-00047Z-8e for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 11:27:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=4C1W7qcoqCfmXnZ4JYGEqzDJWOQOcD+/lUbH/R4E8e8=; b=cgoaFeauaL0vstW/lyuYKOXpkjOrjOGdXgul0BbxwlSgukJ15cXFnGJu/Wd7cqCtE8pqVh9HNPapf5uPGJ7i4BaMDHnqGj9HZm5eZ2i/Z8OpTyZTbS1uy2xMRqeU1ywI7rdMJUmt091bYDvDXtZoqb43vw7wyN5C76PGkEju98h22SG9p5c0zdwX//n5XooHTYn6wKNbE/8nNlfhYVEtAwiSWWEFjbMA/ezShcpD4R4H4JPcmdXDLNmgyn6+wZ8E7Dp2zKLif2TQNHA80+9tt+rgcyyoRF/NP8JQ89bbE7Nfs/1hDDUZCIWlrOiDK7dCOEylYisxQKkdvOopOFJk2g==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1f6Hek-0005UQ-De for help-gnu-emacs@gnu.org; Wed, 11 Apr 2018 17:27:30 +0200 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:116462 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Apr 11, 2018 at 04:01:25PM +0200, 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 [...] > Therefore it looks it is reading the images, so why isn't it displaying them? > Any idea? Silly question, but... was your Emacs configured with XPM support? You can check that by loading one of those images with Emacs: you should be able to change between "display as text" and "display as image" with C-c C-c. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlrOKWIACgkQBcgs9XrR2kYtJwCePEcrwW5OMspfZFxaH9caR+vs w+oAniq+LwbiuZk/ss3lA0gHa7Hek8R7 =9dpU -----END PGP SIGNATURE-----