unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dbus.el - `xml-get-attribute-or-nil' undefined
@ 2008-12-20 10:19 Bastien
  2008-12-20 10:32 ` Chong Yidong
  2008-12-20 10:38 ` Jason Rumney
  0 siblings, 2 replies; 5+ messages in thread
From: Bastien @ 2008-12-20 10:19 UTC (permalink / raw)
  To: emacs-devel

GNU Emacs 23.0.60.25 (as of yesterday).

In dbus.el there is a reference to `xml-get-attribute-or-nil' which is
not defined anywhere in Emacs.  It prevents my newsticker.el to work.

Ideas?

-- 
 Bastien




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

* Re: dbus.el - `xml-get-attribute-or-nil' undefined
  2008-12-20 10:19 dbus.el - `xml-get-attribute-or-nil' undefined Bastien
@ 2008-12-20 10:32 ` Chong Yidong
  2008-12-20 10:38 ` Jason Rumney
  1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2008-12-20 10:32 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-devel

Bastien <bastienguerry@googlemail.com> writes:

> In dbus.el there is a reference to `xml-get-attribute-or-nil' which is
> not defined anywhere in Emacs.

It is defined in xml.el (which dbus.el requires).




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

* Re: dbus.el - `xml-get-attribute-or-nil' undefined
  2008-12-20 10:19 dbus.el - `xml-get-attribute-or-nil' undefined Bastien
  2008-12-20 10:32 ` Chong Yidong
@ 2008-12-20 10:38 ` Jason Rumney
  2008-12-20 10:52   ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Jason Rumney @ 2008-12-20 10:38 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-devel

Bastien wrote:
> GNU Emacs 23.0.60.25 (as of yesterday).
>
> In dbus.el there is a reference to `xml-get-attribute-or-nil' which is
> not defined anywhere in Emacs.  It prevents my newsticker.el to work.
>   

This is strange, for two reasons:

1. xml-get-attribute-or-nil is defined in xml.el
2. newsticker.el and its related files do not seem to use dbus at all.





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

* Re: dbus.el - `xml-get-attribute-or-nil' undefined
  2008-12-20 10:38 ` Jason Rumney
@ 2008-12-20 10:52   ` Bastien
  2008-12-22 19:18     ` Ulf Jasper
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2008-12-20 10:52 UTC (permalink / raw)
  To: emacs-devel

Jason Rumney <jasonr@gnu.org> writes:

> Bastien wrote:
>> GNU Emacs 23.0.60.25 (as of yesterday).
>>
>> In dbus.el there is a reference to `xml-get-attribute-or-nil' which is
>> not defined anywhere in Emacs.  It prevents my newsticker.el to work.
>>   
>
> This is strange, for two reasons:
>
> 1. xml-get-attribute-or-nil is defined in xml.el
> 2. newsticker.el and its related files do not seem to use dbus at all.

Yes, `newsticker-show-news' is autoloaded in newst-reader.el, which
(require 'newsticker-backend) which (require 'xml).

But for some reasons, unless you explicitely (require 'newsticker)
before M-x newsticker-show-news', functions from xml.el are not loaded.

I found this at the end of newst-reader.el:

,----
| (provide 'newsticker-backend)
| 
| ;; arch-tag: 0e37b658-56e9-49ab-90f9-f2df57e1a659
| ;;; newsticker-backend.el ends here
| 
| (provide 'newst-backend)
| 
| ;;; newst-backend.el ends here
`----

Maybe the two (provide ...) are conflicting?

-- 
 Bastien




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

* Re: dbus.el - `xml-get-attribute-or-nil' undefined
  2008-12-20 10:52   ` Bastien
@ 2008-12-22 19:18     ` Ulf Jasper
  0 siblings, 0 replies; 5+ messages in thread
From: Ulf Jasper @ 2008-12-22 19:18 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-devel

Bastien <bastienguerry@googlemail.com> writes:
> I found this at the end of newst-reader.el:
>
> ,----
> | (provide 'newsticker-backend)
> | 
> | ;; arch-tag: 0e37b658-56e9-49ab-90f9-f2df57e1a659
> | ;;; newsticker-backend.el ends here
> | 
> | (provide 'newst-backend)
> | 
> | ;;; newst-backend.el ends here
> `----
>
> Maybe the two (provide ...) are conflicting?

Maybe not conflicting but at least confusing. I removed the wrong
(provide 'newst-backend) statement.

Ulf

-- 
Klicken Sie HIER und Sie erhalten vier Dosen umsonst




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

end of thread, other threads:[~2008-12-22 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-20 10:19 dbus.el - `xml-get-attribute-or-nil' undefined Bastien
2008-12-20 10:32 ` Chong Yidong
2008-12-20 10:38 ` Jason Rumney
2008-12-20 10:52   ` Bastien
2008-12-22 19:18     ` Ulf Jasper

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