On 31.10.2015 11:06, Tassilo Horn wrote:
Andreas Röhler<[email protected]> writes:
Hi Andreas,
Debugger entered--Lisp error: (dbus-error "Emacs not compiled with dbus
support")
signal(dbus-error ("Emacs not compiled with dbus support"))
dbus-call-method(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.freedesktop.DBus.Introspectable" "Introspect"
:timeout 1000)
byte-code("\304 \n\305\306\307&\207" [bus service path
dbus-interface-introspectable dbus-call-method "Introspect" :timeout 1000] 8)
dbus-introspect(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon")
byte-code("\304\305!.rq\210\306\216\307 \n#c\210\310ed\"+\207"
[temp-buffer bus service path generate-new-buffer " *temp*" ((byte-code
"\301!\203\n
;;;;;;;;
Maybe dbus should not be expected?
It shouldn't, right. Looking at the code, I can't see how that can
happen. Evince DBUS support should only be active when DBUS support is
compiled into emacs, and DBUS is actually running on the system.
what do you do in order to trigger the error? Do you call
`TeX-evince-sync-view'? That shouldn't be offered as possible View
command on systems where DBUS is not available.
What version of AUCTeX are you running, and how did you install it? And
could you please also show the complete backtrace? Unfortunately, you
have snipped everything which would allow me to determine which code in
AUCTeX triggered the error (well, I could at least narrow it down to two
functions...).
Bye,
Tassilo
Well, and given that it works with the Emacs distributed by Debian, I
can only think of some incompatibility. There have been major changes
with respect to cl structs which are used by package.el, so I suggest
you reinstall the auctex ELPA package. Version 11.87.7 is extremely
outdated anyway.
Bye,
Tassilo
Hi Tassilo,
as mentioned in previous thread --sorry for posting twofold-- (require
'auctex) triggers the error.
(getenv "DBUS_SESSION_BUS_ADDRESS")
tells
"unix:abstract=/tmp/dbus-q7yrNfCzDu,guid=c9e886058ddd9ef6b7f554d056362233"
So some dbus seems running (?)
Attach dbus-error.txt, when evaluating tex.el - pasting in here failed.
It refers to pos 41488, the end where "(defvar
TeX-view-program-list-builtin " is done
Thanks,
Andreas
Debugger entered--Lisp error: (dbus-error "Emacs not compiled with dbus
support")
signal(dbus-error ("Emacs not compiled with dbus support"))
dbus-call-method(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.freedesktop.DBus.Introspectable" "Introspect"
:timeout 1000)
byte-code("\304 \n\305\306\307&\207" [bus service path
dbus-interface-introspectable dbus-call-method "Introspect" :timeout 1000] 8)
dbus-introspect(:session "org.gnome.evince.Daemon" "/org/gnome/evince/Daemon")
byte-code("\304\305!rq\210\306\216\307 \n#c\210\310ed\"+\207"
[temp-buffer bus service path generate-new-buffer " *temp*" ((byte-code
"\301!\203\n \302!\210\301\207" [temp-buffer buffer-name kill-buffer] 2))
dbus-introspect xml-parse-region] 4)
dbus-introspect-xml(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon")
dbus-introspect-get-interface(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.gnome.evince.Daemon")
dbus-introspect-get-method(:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.gnome.evince.Daemon" "FindDocument")
(let ((spec (dbus-introspect-get-method :session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.gnome.evince.Daemon" "FindDocument"))) (and
spec (equal (quote ("s" "b" "s")) (delq nil (mapcar (function (lambda (elem)
(if ... ...))) spec)))))
(or (not (memq :forward options)) (let ((spec (dbus-introspect-get-method
:session "org.gnome.evince.Daemon" "/org/gnome/evince/Daemon"
"org.gnome.evince.Daemon" "FindDocument"))) (and spec (equal (quote ("s" "b"
"s")) (delq nil (mapcar (function (lambda ... ...)) spec))))))
(and (not nil) (require (quote dbus) nil :no-error) (functionp (quote
dbus-register-signal)) (getenv "DBUS_SESSION_BUS_ADDRESS") (executable-find
"evince") (or (not (memq :forward options)) (let ((spec
(dbus-introspect-get-method :session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon" "org.gnome.evince.Daemon" "FindDocument"))) (and
spec (equal (quote ("s" "b" "s")) (delq nil (mapcar (function ...) spec)))))))
TeX-evince-dbus-p(:forward)
(if (TeX-evince-dbus-p :forward) (quote TeX-evince-sync-view) (cons "evince"
(cons (list (quote mode-io-correlate) (if (string-match "--page-index"
(shell-command-to-string "evince --help")) " -i %(outpage)" " -p %(outpage)"))
(quote (" %o")))))
(list "Evince" (if (TeX-evince-dbus-p :forward) (quote TeX-evince-sync-view)
(cons "evince" (cons (list (quote mode-io-correlate) (if (string-match
"--page-index" (shell-command-to-string "evince --help")) " -i %(outpage)" " -p
%(outpage)")) (quote (" %o"))))))
(cons (list "Evince" (if (TeX-evince-dbus-p :forward) (quote
TeX-evince-sync-view) (cons "evince" (cons (list (quote mode-io-correlate) (if
(string-match "--page-index" ...) " -i %(outpage)" " -p %(outpage)")) (quote ("
%o")))))) (quote (("Okular" ("okular --unique %o" (mode-io-correlate
"#src:%n%b"))) ("xdg-open" "xdg-open %o"))))
(cons (quote ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate "
%(outpage)")))) (cons (list "Evince" (if (TeX-evince-dbus-p :forward) (quote
TeX-evince-sync-view) (cons "evince" (cons (list (quote mode-io-correlate) (if
... " -i %(outpage)" " -p %(outpage)")) (quote (" %o")))))) (quote (("Okular"
("okular --unique %o" (mode-io-correlate "#src:%n%b"))) ("xdg-open" "xdg-open
%o")))))
(cons (quote ("gv" "gv %o")) (cons (quote ("xpdf" ("xpdf -remote %s -raise
%o" (mode-io-correlate " %(outpage)")))) (cons (list "Evince" (if
(TeX-evince-dbus-p :forward) (quote TeX-evince-sync-view) (cons "evince" (cons
(list ... ...) (quote ...))))) (quote (("Okular" ("okular --unique %o"
(mode-io-correlate "#src:%n%b"))) ("xdg-open" "xdg-open %o"))))))
(cons (quote ("dvips and gv" "%(o?)dvips %d -o && gv %f")) (cons (quote ("gv"
"gv %o")) (cons (quote ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate
" %(outpage)")))) (cons (list "Evince" (if (TeX-evince-dbus-p :forward) (quote
TeX-evince-sync-view) (cons "evince" (cons ... ...)))) (quote (("Okular"
("okular --unique %o" ...)) ("xdg-open" "xdg-open %o")))))))
(cons (quote ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n
%b\" -editor \"%cS\"") ((paper-a4 paper-portrait) " -paper a4") ((paper-a4
paper-landscape) " -paper a4r") ((paper-a5 paper-portrait) " -paper a5")
((paper-a5 paper-landscape) " -paper a5r") (paper-b5 " -paper b5")
(paper-letter " -paper us") (paper-legal " -paper legal") (paper-executive "
-paper 7.25x10.5in") " %d"))) (cons (quote ("dvips and gv" "%(o?)dvips %d -o &&
gv %f")) (cons (quote ("gv" "gv %o")) (cons (quote ("xpdf" ("xpdf -remote %s
-raise %o" (mode-io-correlate " %(outpage)")))) (cons (list "Evince" (if
(TeX-evince-dbus-p :forward) (quote TeX-evince-sync-view) (cons "evince" ...)))
(quote (("Okular" ...) ("xdg-open" "xdg-open %o"))))))))
(cond ((eq system-type (quote windows-nt)) (quote (("Yap" ("yap -1"
(mode-io-correlate " -s %n%b") " %o")) ("dvips and start" "dvips %d -o && start
\"\" %f") ("start" "start \"\" %o")))) (t (cons (quote ("xdvi" ("%(o?)xdvi"
(mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"") ((paper-a4
paper-portrait) " -paper a4") ((paper-a4 paper-landscape) " -paper a4r")
((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-landscape) " -paper
a5r") (paper-b5 " -paper b5") (paper-letter " -paper us") (paper-legal " -paper
legal") (paper-executive " -paper 7.25x10.5in") " %d"))) (cons (quote ("dvips
and gv" "%(o?)dvips %d -o && gv %f")) (cons (quote ("gv" "gv %o")) (cons (quote
("xpdf" ...)) (cons (list "Evince" ...) (quote ...))))))))
(defvar TeX-view-program-list-builtin (cond ((eq system-type (quote
windows-nt)) (quote (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o"))
("dvips and start" "dvips %d -o && start \"\" %f") ("start" "start \"\" %o"))))
(t (cons (quote ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n
%b\" -editor \"%cS\"") (... " -paper a4") (... " -paper a4r") (... " -paper
a5") (... " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -paper us")
(paper-legal " -paper legal") (paper-executive " -paper 7.25x10.5in") " %d")))
(cons (quote ("dvips and gv" "%(o?)dvips %d -o && gv %f")) (cons (quote ("gv"
"gv %o")) (cons (quote ...) (cons ... ...))))))) "Alist of built-in viewer
specifications.\nThis variable should not be changed by the user who can
use\n`TeX-view-program-list' to add new viewers or overwrite the\ndefinition of
built-in ones. The latter variable also contains a\ndescription of the data
format.")
eval-buffer() ; Reading at buffer position 41488
call-interactively(eval-buffer record nil)
command-execute(eval-buffer record)
execute-extended-command(nil "eval-buffer")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
execute-kbd-macro("xeval-buffer
" nil)
command-execute(eb record)
execute-extended-command(nil "eb")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex