unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37809: 27.0.50; Newsticker error while loading image
@ 2019-10-18 14:22 Cédric Chépied
  2019-10-19  7:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Cédric Chépied @ 2019-10-18 14:22 UTC (permalink / raw)
  To: 37809


When I start newsticker, I got an error:

"Invalid image file name ‘xpm’"

I think this is because of this commit:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=11d3e309b3a93e864886e8b4a8246b8f6cb7934a

And here is a patch which seems to fix it:


From 5b77a73fac9ec77ee1306593ba743870cb50bd03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= <cedric.chepied@delair.aero>
Date: Fri, 18 Oct 2019 16:19:07 +0200
Subject: [PATCH] Lisp/tree-widget: fix create-image argument order

---
 lisp/tree-widget.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el
index 274a1b8b81..660b4b7683 100644
--- a/lisp/tree-widget.el
+++ b/lisp/tree-widget.el
@@ -371,7 +371,7 @@ tree-widget-lookup-image
                    (file-regular-p file)
                    (throw 'found
                           (apply #'create-image
-                                 (car fmt) file nil
+                                 file (car fmt) nil
                                  (tree-widget-image-properties name))))))))
       nil)))
 
-- 
2.23.0







In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2019-10-17 built on BaradDur
Repository revision: b1d8e76acdd2c57f8d6a6656950f23cf4d6e39a4
Repository branch: makepkg
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: Arch Linux

Recent messages:
Mark saved where search started [4 times]
You can run the command ‘magit-blame’ with M-x -blam RET
Blaming...done
Reverting buffer ‘tree-widget.el’.
Blaming...done
Mark saved where search started
Do you want to submit a report on CC Mode? (y or n) n
You can run the command ‘c-submit-bug-report’ with M-x c-bug RET
Do you want to submit a report on CC Mode? (y or n) n
You can run the command ‘c-submit-bug-report’ with M-x c-bug RET

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=athena --with-xft 'CFLAGS=-march=x86-64
 -mtune=generic -O2 -pipe -fno-plt'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
 CPPFLAGS=-D_FORTIFY_SOURCE=2 PKG_CONFIG_PATH=/usr/lib/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL
GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_ALL: fr_FR.utf8
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-spelling-mode: t
  erc-ring-mode: t
  erc-match-mode: t
  erc-list-mode: t
  erc-pcomplete-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  gpm-mouse-mode: t
  erc-smiley-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  global-git-gutter-mode: t
  global-company-mode: t
  company-mode: t
  global-atomic-chrome-edit-mode: t
  show-paren-mode: t
  virtual-desktops-mode: t
  shell-dirtrack-mode: t
  nyan-mode: t
  ivy-mode: t
  beacon-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
~/.emacs.d/site-lisp/bbdb-wl hides /home/chep/.emacs.d/elpa/bbdb-20190927.1617/bbdb-wl
/home/chep/.emacs.d/elpa/cmake-mode-20190710.1319/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/home/chep/.emacs.d/elpa/flim-20190526.1034/md4 hides /usr/share/emacs/27.0.50/lisp/md4
/home/chep/.emacs.d/elpa/flim-20190526.1034/hex-util hides /usr/share/emacs/27.0.50/lisp/hex-util
/home/chep/.emacs.d/elpa/flim-20190526.1034/hmac-def hides /usr/share/emacs/27.0.50/lisp/net/hmac-def
/home/chep/.emacs.d/elpa/flim-20190526.1034/sasl-ntlm hides /usr/share/emacs/27.0.50/lisp/net/sasl-ntlm
/home/chep/.emacs.d/elpa/flim-20190526.1034/ntlm hides /usr/share/emacs/27.0.50/lisp/net/ntlm
/home/chep/.emacs.d/elpa/flim-20190526.1034/hmac-md5 hides /usr/share/emacs/27.0.50/lisp/net/hmac-md5
/home/chep/.emacs.d/elpa/flim-20190526.1034/sasl-digest hides /usr/share/emacs/27.0.50/lisp/net/sasl-digest
/home/chep/.emacs.d/elpa/flim-20190526.1034/sasl hides /usr/share/emacs/27.0.50/lisp/net/sasl
/home/chep/.emacs.d/elpa/flim-20190526.1034/sasl-cram hides /usr/share/emacs/27.0.50/lisp/net/sasl-cram

Features:
(shadow emacsbug reporter w3m-cookie w3m-form w3m-symbol w3m-bookmark w3m
w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-favicon w3m-image w3m-proc w3m-util
url-http url-gw url-auth help-fns radix-tree cl-print debug backtrace mail-extr
ace-jump-mode conf-mode multiple-cursors-core highlight-symbol elmo-passwd smtp
sasl sasl-anonymous sasl-login sasl-plain mailalias bug-reference magit-extras
repo magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode
diff diff-mode magit-core magit-autorevert magit-margin magit-transient
magit-process magit-mode transient git-commit magit-git magit-section
magit-utils log-edit pcvs-util add-log with-editor async-bytecomp async tabify
hideif mel-q-ccl wl-score elmo-internal smiley gnus-art mm-uu mml2015 mm-view
mml-smime smime dig gnutls erc-track erc-spelling erc-ring erc-match erc-list
erc-pcomplete erc-button erc-fill erc-stamp epa-file view mule-util holidays
hol-loaddefs org-duration cal-iso org-agenda tramp-cache tramp-sh org-rmail
org-mhe org-irc org-info org-gnus nnir gnus-sum shr svg dom gnus-group gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int
gnus-range message rfc822 mml mml-sec epa epg mm-decode mm-bodies mm-encode
mail-parse rfc2231 gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs org-docview doc-view jka-compr image-mode exif org-bibtex bibtex
org-bbdb org-w3m elmo-maildir modb-standard wl-mime mime-edit mime-setup
mail-mime-setup semi-setup mime-image org-wl org-clock windmove rect misearch
multi-isearch dired-aux ffap t-mouse term/linux sh-script smie executable server
display-line-numbers flyspell ispell hideshow newsticker newst-treeview
tree-widget newst-plainview newst-reader newst-ticker newst-backend netrc
chep-weather url-cache appt znc erc-goodies erc erc-backend erc-compat
erc-loaddefs yasnippet-snippets yasnippet wttrin xterm-color which-key bbdb-wl
bbdb-wl-mime-edit bbdb-wl-wl bbdb-wl-ignore bbdb-wl-common bbdb-wl-addressbook
bbdb-wl-syncbuffer bbdb-wl-addrmgr wl-addrmgr bbdb-wl-bbdb bbdb-com crm
mailabbrev signature chep-ical icalendar diary-lib diary-loaddefs
chep-notification mime-play filename wl-demo wl-draft eword-encode wl-template
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr elmo-net elmo-cache
elmo-map elmo-dop wl-address wl-thread wl-action wl-summary ps-print
ps-print-loaddefs ps-def lpr wl-refile wl-message elmo-mime mmelmo-buffer
mmelmo-imap mime-view mime-conf calist semi-def mmimap mime-parse mmbuffer
mmgeneric wl-highlight elmo-multi wl-folder wl wl-e21 wl-util elmo-flag
elmo-localdir wl-vars epg-config wl-version elmo elmo-signal elmo-msgdb modb
modb-generic modb-entity mime elmo-util emu invisible inv-23 poem poem-e20
poem-e20_3 eword-decode mel mime-def alist mcharset mcs-20 mcs-e20 pces pces-e20
pces-20 pcustom elmo-date elmo-vars path-util elmo-version luna std11 pccl
pccl-20 ccl broken poe pym static apel-ver product smart-tabs-mode
smart-mode-line-powerline-theme smart-mode-line rich-minority chep-stickyfunc
rainbow-delimiters powerline powerline-separators powerline-themes poly-markdown
markdown-mode polymode poly-lock polymode-base polymode-weave polymode-export
polymode-compat polymode-methods polymode-core polymode-classes eieio-custom
org-gcal warnings org-archive org-element org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs request-deferred request autorevert filenotify mail-utils alert
log4e notifications dbus gntp lex json-mode json-reformat json-snatcher js imenu
git-gutter-fringe fringe-helper git-gutter flycheck find-func
emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-volume
emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-i18n emms-history
emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue
emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played
emms-player-xine emms-playing-time emms-lyrics emms-streams emms-show-all
emms-tag-editor emms-mark emms-mode-line emms-info-opusinfo emms-info-mp3info
emms-playlist-mode emms-player-vlc advice emms-player-mplayer emms-setup
emms-player-mpd emms-url url url-proxy url-privacy url-expand url-methods
url-history mailcap emms-cache tq emms-source-playlist emms-source-file locate
emms-info-metaflac emms-info-ogginfo emms-info later-do emms-player-mpv
emms-player-simple emms emms-compat ein dts-mode company-rtags rtags popup
repeat asm-mode bookmark text-property-search pp company-oddmuse
company-keywords company-etags etags fileloop xref project company-gtags
company-dabbrev-code company-dabbrev company-files company-capf company-cmake
company-xcode company-clang company-semantic company-eclim company-template
company-bbdb company-jedi jedi-core python-environment epc ctable concurrent
deferred company-c-headers company cmake-mode thingatpt browse-kill-ring derived
cl bitbake mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils
mmm-compat jison-mode bison-mode bbdb bbdb-site timezone atomic-chrome websocket
url-cookie url-domsuf url-util bindat let-alist arduino-mode term disp-table
ehelp spinner cc-mode cc-fonts cc-guess cc-menus cc-cmds all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons memoize ag vc-svn compile find-dired s dash
cus-edit wid-edit cl-extra help-mode pcase cc-styles cc-align cc-engine cc-vars
cc-defs paren ibuf-macs chep-mode-line chep-strike chep-couleur chep-retourne
web-search ifndef_fichier_h chep-mpd ampc dired dired-loaddefs avl-tree
generator network-stream puny nsm rmc chep-anchor virtual-desktops ido tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete
comint ansi-color parse-time iso8601 time-date ls-lisp format-spec zeno-theme
nyan-mode ivy delsel ring colir color ivy-overlay beacon cus-start cus-load
use-package use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core ede/auto eieio-base
edmacro kmacro rx w3m-load info package easymenu browse-url url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile
cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment text-mode
elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese composite
charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 1688526 199428)
 (symbols 48 68572 185)
 (strings 32 478617 29039)
 (string-bytes 1 19486662)
 (vectors 16 119160)
 (vector-slots 8 2542335 90382)
 (floats 8 1564 6693)
 (intervals 56 55634 11066)
 (buffers 1000 191))





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#37809: 27.0.50; Newsticker error while loading image
  2019-10-18 14:22 bug#37809: 27.0.50; Newsticker error while loading image Cédric Chépied
@ 2019-10-19  7:54 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-19  7:54 UTC (permalink / raw)
  To: Cédric Chépied; +Cc: 37809

Cédric Chépied <cedric.chepied@delair.aero> writes:

> When I start newsticker, I got an error:
>
> "Invalid image file name ¡xpm¢"
>
> I think this is because of this commit:
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=11d3e309b3a93e864886e8b4a8246b8f6cb7934a
>
> And here is a patch which seems to fix it:

Thanks; applied to Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-19  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-18 14:22 bug#37809: 27.0.50; Newsticker error while loading image Cédric Chépied
2019-10-19  7:54 ` Lars Ingebrigtsen

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