[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b9eddc9 11/28: Really ignore dbus errors
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b9eddc9 11/28: Really ignore dbus errors |
Date: |
Fri, 07 Aug 2015 15:59:20 +0000 |
branch: externals/auctex
commit b9eddc93c35e49f089bf00b31d291150cc2c23f7
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Really ignore dbus errors
* tex.el (TeX-evince-dbus-p): Explicitly bind dbus-debug to nil in
order to really ignore dbus errors with dbus-ignore-errors.
---
ChangeLog | 5 +++++
tex.el | 45 +++++++++++++++++++++++----------------------
2 files changed, 28 insertions(+), 22 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4d1f5b6..2230519 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-09 Tassilo Horn <address@hidden>
+
+ * tex.el (TeX-evince-dbus-p): Explicitly bind dbus-debug to nil in
+ order to really ignore dbus errors with dbus-ignore-errors.
+
2015-06-05 Arash Esbati <address@hidden>
* Makefile.in (STYLESRC): Add new style.
diff --git a/tex.el b/tex.el
index 24f0d6d..07fa371 100644
--- a/tex.el
+++ b/tex.el
@@ -1085,28 +1085,29 @@ given, only the minimal requirements needed by backward
search
are checked. If OPTIONS include `:forward', which is currently
the only option, then additional requirements needed by forward
search are checked, too."
- (and (featurep 'dbusbind)
- (require 'dbus nil :no-error)
- (dbus-ignore-errors (dbus-get-unique-name :session))
- (dbus-ping :session "org.gnome.evince.Daemon")
- (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")))
- ;; FindDocument must exist, and its signature must be (String,
- ;; Boolean, String). Evince versions between 2.30 and 2.91.x
- ;; didn't have the Boolean spawn argument we need to start evince
- ;; initially.
- (and spec
- (equal '("s" "b" "s")
- (delq nil (mapcar (lambda (elem)
- (when (and (listp elem)
- (eq (car elem) 'arg))
- (cdr (caar (cdr elem)))))
- spec))))))))
+ (let ((dbus-debug nil))
+ (and (featurep 'dbusbind)
+ (require 'dbus nil :no-error)
+ (dbus-ignore-errors (dbus-get-unique-name :session))
+ (dbus-ping :session "org.gnome.evince.Daemon")
+ (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")))
+ ;; FindDocument must exist, and its signature must be (String,
+ ;; Boolean, String). Evince versions between 2.30 and 2.91.x
+ ;; didn't have the Boolean spawn argument we need to start evince
+ ;; initially.
+ (and spec
+ (equal '("s" "b" "s")
+ (delq nil (mapcar (lambda (elem)
+ (when (and (listp elem)
+ (eq (car elem) 'arg))
+ (cdr (caar (cdr elem)))))
+ spec)))))))))
(defun TeX-pdf-tools-sync-view ()
"Focus the focused page/paragraph in `pdf-view-mode'.
- [elpa] externals/auctex 0e3f3ac 03/28: New styles newpxtext.el and newpxmath.el., (continued)
- [elpa] externals/auctex 0e3f3ac 03/28: New styles newpxtext.el and newpxmath.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex b1e4d46 06/28: Consider args with \newenvironment with opt arg, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 0b85713 07/28: Query for optional env arg, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 1341b2c 09/28: Query for optional env arg defined with \lstnewenvironment., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 7a0d85f 10/28: New style pdfpages.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 3cd3e72 08/28: Restore Emacs 22 compatibility, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 8426ca5 12/28: Missing ConTeXt-(un)numbered-section-list-nl variables., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 0efe678 14/28: Improve completion of includepdf macro., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 8052cd5 13/28: Find warnings emitted by a package with digits in its name., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 24a2a9d 20/28: Add `LCRJ' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex b9eddc9 11/28: Really ignore dbus errors,
Tassilo Horn <=
- [elpa] externals/auctex 1202f83 19/28: Add `X' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 5178ba6 16/28: Parse hf-tikz messages suggesting to rerun LaTeX., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex bb195ae 15/28: Add new style file for mnras class., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex c2c7dd9 18/28: Parse user-defined new column types., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e301b71 22/28: Add new style textpos.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex d27e773 21/28: Add new style environ.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 482dddb 24/28: Query for default first arg when (re-)defining env's., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 107f106 23/28: Add new style vwcol.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e351a3a 26/28: Add missing commands `\nameref*' and `\Nameref'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 6094700 17/28: Restore deleted preview README., Tassilo Horn, 2015/08/07