Todor Tsankov <[email protected]> writes:
Hi Todor,
> I use TeX-evince-sync-view to view PDF files produced by LaTeX and if
> the name of the TeX file contains a comma (for example, "a,b.tex"),
> then Emacs stops responding after the View command.
Yes, I can reproduce that.
> The file is displayed in Evince but if I go back to Emacs, I cannot
> enter text or commands. Behavior returns to normal after Evince is
> closed and I get the following error message:
>
> dbus-call-method: D-Bus error: "Message did not receive a reply (timeout
> by message bus)"
The problem is that `TeX-evince-sync-view' URL-encoded the , to %2C
which D-Bus (or evince?) didn't like. I've fixed that in Git.
If you want you can apply the following patch to your local
installation.
--8<---------------cut here---------------start------------->8---
diff --git a/tex.el b/tex.el
index df312a0..af02663 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,7 +1104,8 @@ of point in emacs by using Evince's DBUS API. Used by
default
for the Evince viewer entry in `TeX-view-program-list-builtin' if
the requirements are met."
(require 'url-util)
- (let* ((uri (concat "file://" (let ((url-unreserved-chars (cons ?/
url-unreserved-chars)))
+ (let* ((uri (concat "file://" (let ((url-unreserved-chars
+ (cons ?, (cons ?/
url-unreserved-chars))))
(url-hexify-string
(expand-file-name
(concat file "."
(TeX-output-extension)))))))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex