From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?C=C3=A9dric_?= =?UTF-8?Q?Ch=C3=A9pied?= Newsgroups: gmane.emacs.bugs Subject: bug#18787: 25.0.50; Newsticker and libxml Date: Wed, 22 Oct 2014 08:31:54 +0200 Message-ID: <54474f5b.676ab40a.77c7.3c74@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1413959605 11462 80.91.229.3 (22 Oct 2014 06:33:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2014 06:33:25 +0000 (UTC) To: 18787@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 08:33:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgpTx-0002QJ-Nh for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2014 08:33:18 +0200 Original-Received: from localhost ([::1]:54983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpTx-0006Lf-CR for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2014 02:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpTo-0006LK-9Z for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgpTj-0008VH-Ct for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:33:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpTj-0008Uu-AC for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgpTi-0004B3-9q for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?C=C3=A9dric_?= =?UTF-8?Q?Ch=C3=A9pied?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Oct 2014 06:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18787 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141395954316003 (code B ref -1); Wed, 22 Oct 2014 06:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2014 06:32:23 +0000 Original-Received: from localhost ([127.0.0.1]:59044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgpT3-0004A1-Kj for submit@debbugs.gnu.org; Wed, 22 Oct 2014 02:32:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57390) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgpT0-00049k-6G for submit@debbugs.gnu.org; Wed, 22 Oct 2014 02:32:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgpSq-0007nl-2E for submit@debbugs.gnu.org; Wed, 22 Oct 2014 02:32:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpSp-0007nh-VS for submit@debbugs.gnu.org; Wed, 22 Oct 2014 02:32:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpSl-0006Iy-2H for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgpSg-0007li-7H for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:32:03 -0400 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:39776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgpSf-0007lF-Ss for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 02:31:58 -0400 Original-Received: by mail-wg0-f47.google.com with SMTP id x13so2884735wgg.6 for ; Tue, 21 Oct 2014 23:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject:user-agent:mime-version :content-type:content-transfer-encoding; bh=ilofx5lBc71Lg5ch8MV2/FE1H53v8eIs2fnWHuq5kWM=; b=0oCD87w05e+aXdJtaIxs2eZrTWDlkljTX4MAN/CTKzfL/QKOQhGG7btTjPDv3PBv6b 1Jf6Mj6iBpjvqDagOaIUhnrPU30MZcxjeI5oXdhEuMDBxmQP15XLDhQq62JB7eICR15Z 6eHegG5pPKD0afkcfyEp8A1SYNkJkE5Bz+IAcgxFGqw4ixzEXGXmA37VntUdhIkkUpMc /EkOCW3sOGnMCkuvTAXN9sFFT+hiAw8502KbUnUfp16YmEfQN7w0Gi5suL+Y/colNGq0 CwbdlGfUrreQdw17wx4JYAmlXtnul6S9UgUcMAyVY61KNNBvIMBGpWuf0du/b2VCBqnM Gtzg== X-Received: by 10.194.205.103 with SMTP id lf7mr404003wjc.134.1413959516746; Tue, 21 Oct 2014 23:31:56 -0700 (PDT) Original-Received: from Zorglub.gmail.com ([83.145.91.46]) by mx.google.com with ESMTPSA id gt7sm738423wib.18.2014.10.21.23.31.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 23:31:55 -0700 (PDT) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 Emacs/25.0.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94894 When newsticker is using libxml, the list returned by libxml-parse-xml-region sometimes doesn't start with "rss" or "feed". There is an extra "top" node and "rss" or "feed" is (in my case) the first child node. Recipe: Be sure you are using libxml. Remove your newsticker directory (rm -r ~/.emacs.d/newsticker) emacs -Q Go to scratch buffer (setq newsticker-url-list '(("Explosm" "http://feeds.feedburner.com/Explosm" nil nil nil))) M-x eval-buffer M-x newsticker-treeview News is called [untitled] and has no items because of the bug. In newsticker--sentinel-work, node-list is set with: (list (libxml-parse-xml-region (point-min) (point-max))) If you print this list you will see an extra top node. I fixed it with this ugly patch in newsticker--sentinel-work: (topnode (car node-list)) (image-url nil) (icon-url nil)) + (if (string= "top" (xml-node-name topnode)) + (setq topnode (car (xml-get-children topnode 'rss)))) ;; mark all items as obsolete (newsticker--cache-replace-age newsticker--cache name-symbol 'new 'obsolete-new) In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-10-21 on Zorglub Windowing system distributor `The X.Org Foundation', version 11.0.11601000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=lucid --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_ALL: fr_FR.utf8 value of $LC_CTYPE: fr_FR.UTF-8 value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: LI Minor modes in effect: global-git-gutter-mode: t global-srecode-minor-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t global-semantic-highlight-func-mode: t semantic-mode: t yas-minor-mode: t global-auto-complete-mode: t auto-complete-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t diff-auto-refine-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 erc-smiley-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t show-paren-mode: t virtual-desktops-mode: t display-time-mode: t display-battery-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 column-number-mode: t line-number-mode: t hs-minor-mode: t Recent input: SPC q u e SPC c ' e s t SPC p l u s SPC f l u i d e SPC q u ' a v e c SPC l ' a u t r e j ' a i SPC m i s SPC l e SPC s p i SPC à SPC M b / s m a i s SPC j e SPC n e SPC s a i s SPC p a s SPC s i SPC ç a SPC v i e n t SPC d e SPC l ' é c r a n SPC o u SPC d e SPC l ' o l i m e x SPC q u i SPC p o u r r a i t SPC ê t r e SPC m i e u x SPC q u e SPC l a SPC r a s p b e r r y C-> M-x c h e p - m p i n i c M-> M-< m U M-> m C-c a k M-x c h e p - m p p l z C-< c e SPC s o i r SPC j e SPC m ' o c c u p e SPC d e s SPC é c r a n s SPC t e x t e SPC a v e c SPC l ' a r d u i n o SPC e t SPC l e SPC l i e n SPC i 2 c b u s C-> M-x r e b u p o r t - b u g Recent messages: Have endpoint: (OFTC localhost 2121 t chep/OFTC a) Connecting to localhost:2121... ...done Logging in as 'chep'... View mode: type C-h for help, h for commands, q to quit. Called with: (t411 localhost 2121 t chep/t411 a) Have endpoint: (t411 localhost 2121 t chep/t411 a) Connecting to localhost:2121... ...done Logging in as 'chep'... done [2 times] Mark set [3 times] Making completion list... Load-path shadows: /usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/25.0.50/lisp/hex-util /usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/25.0.50/lisp/md4 /usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/25.0.50/lisp/net/ntlm /usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/25.0.50/lisp/net/hmac-def /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/25.0.50/lisp/net/sasl /usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/25.0.50/lisp/net/sasl-digest /usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/25.0.50/lisp/net/sasl-ntlm /usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/25.0.50/lisp/net/sasl-cram /usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/25.0.50/lisp/net/hmac-md5 /usr/share/emacs/site-lisp/semi/smime hides /usr/share/emacs/25.0.50/lisp/gnus/smime /usr/share/emacs/site-lisp/semi/pgg-pgp5 hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg-pgp5 /usr/share/emacs/site-lisp/semi/pgg-gpg hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg-gpg /usr/share/emacs/site-lisp/semi/pgg hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg /usr/share/emacs/site-lisp/semi/pgg-pgp hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg-pgp /usr/share/emacs/site-lisp/semi/pgg-def hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg-def /usr/share/emacs/site-lisp/semi/pgg-parse hides /usr/share/emacs/25.0.50/lisp/obsolete/pgg-parse Features: (shadow emacsbug windmove smiley gnus-art mm-uu mml2015 mm-view mml-smime smime gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader elmo-maildir modb-standard wl-mime mime-edit pgg-parse pccl pccl-20 pgg-def signature mime-setup mail-mime-setup semi-setup mime-image tabify org-table mule-util cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-iso org-agenda org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m tramp-cache tramp-sh epa-file gnutls url-cache org-clock org-caldav icalendar org-id ox-latex ox-icalendar ox-html ox-ascii ox-publish ox 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 ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func url-dav url-http url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth url-cookie url-domsuf url-gw url-handlers url-util flymake hideshow chep-lyrics chep-stickyfunc chep-tag-popup git-gutter chep-auto-complete semantic/analyze/complete semantic/bovine/gcc semantic/dep srecode/mode semantic/senator semantic/decorate pulse srecode/insert srecode/filters srecode/args ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom srecode/find srecode/map srecode/srt-mode semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn srecode/template srecode/srt-wy semantic/wisent semantic/wisent/wisent srecode/ctxt srecode/compile srecode/dictionary srecode/table srecode inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/mru-bookmark semantic/db-mode semantic/db eieio-base semantic/idle semantic/format semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet yasnippet rtags-ac rtags dabbrev bookmark auto-complete-config auto-complete popup smart-tabs-mode magit-blame magit-key-mode magit view tramp tramp-compat tramp-loaddefs trampver shell help-mode grep compile epa epg diff-mode autorevert filenotify git-rebase-mode git-commit-mode server log-edit message rfc822 mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader pcvs-util add-log newsticker newst-treeview tree-widget newst-plainview newst-reader newst-ticker newst-backend url-parse url-vars xml newsticker-notify znc erc-track erc-spelling flyspell ispell erc-ring erc-match erc-list erc-pcomplete pcomplete comint ansi-color erc-button erc-fill erc-stamp erc-goodies erc erc-backend erc-compat format-spec thingatpt netrc appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs edmacro kmacro bbdb-wl bbdb-hooks mail-parse rfc2231 bbdb-com warnings mailabbrev bbdb-autoloads bbdb chep-notification mime-play filename mime-w3m advice w3m browse-url doc-view jka-compr dired image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util wl-demo wl-draft eword-encode wl-template sendmail rfc2047 rfc2045 ietf-drums mail-utils elmo-net elmo-cache elmo-map elmo-dop wl-news derived wl-address wl-thread wl-action wl-summary ps-print 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 pp elmo-flag elmo-localdir wl-vars 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 std11 mcharset mcs-20 mcs-e20 pces pces-e20 pces-20 broken pcustom elmo-date timezone elmo-vars path-util poe elmo-version pym static apel-ver product luna concurrent-autoloads smart-tabs-mode-autoloads info finder-inf package epg-config chep-mode-line php-mode etags ring cc-langs cl cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe tag-stack paren chep-strike chep-couleur chep-retourne chep-pastebin google_search ifndef_fichier_h fmanager chep-convert-audio chep-video chep-mpd ampc easymenu avl-tree network-stream auth-source cl-macs gv eieio byte-opt bytecomp byte-compile cconv eieio-core cl-loaddefs cl-lib gnus-util mm-util help-fns mail-prsvr password-cache starttls tls chep-anchor easy-mmode virtual-desktops ido time-date deeper-blue-theme time battery cus-start cus-load tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 738293 46687) (symbols 48 68147 0) (miscs 40 2795 2544) (strings 32 232431 27566) (string-bytes 1 6622705) (vectors 16 77198) (vector-slots 8 1961628 142107) (floats 8 1726 804) (intervals 56 5192 767) (buffers 976 48) (heap 1024 106502 6867))