[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa ff1f544 10/26: Fix encoding file:// uri.
From: |
Tassilo Horn |
Subject: |
[elpa] elpa ff1f544 10/26: Fix encoding file:// uri. |
Date: |
Tue, 27 Jan 2015 12:11:13 +0000 |
branch: elpa
commit ff1f544645c7b0f334b097bb8a9b1441fbf61b3e
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Fix encoding file:// uri.
* tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
---
ChangeLog | 4 ++++
tex.el | 8 +++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 402416e..5bf02de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-20 Tassilo Horn <address@hidden>
+
+ * tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
+
2014-12-19 Tassilo Horn <address@hidden>
* style/minted.el: New style.
diff --git a/tex.el b/tex.el
index af02663..0ef5399 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,11 +1104,9 @@ 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 ?, (cons ?/
url-unreserved-chars))))
- (url-hexify-string
- (expand-file-name
- (concat file "."
(TeX-output-extension)))))))
+ (let* ((uri (concat "file://" (url-encode-url
+ (expand-file-name
+ (concat file "." (TeX-output-extension))))))
(owner (dbus-call-method
:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon"
- [elpa] elpa 5734441 18/26: Add new styles., (continued)
- [elpa] elpa 5734441 18/26: Add new styles., Tassilo Horn, 2015/01/27
- [elpa] elpa 18ee3e9 17/26: Add `Form' environment needed for PDF and HTML forms., Tassilo Horn, 2015/01/27
- [elpa] elpa b54c26a 16/26: Fix doc build, Tassilo Horn, 2015/01/27
- [elpa] elpa 2487022 15/26: Update changes.texi, Tassilo Horn, 2015/01/27
- [elpa] elpa df97f94 13/26: Improve minted style., Tassilo Horn, 2015/01/27
- [elpa] elpa fff9412 14/26: Add hva file assoc to auto-mode-alist (bug#19426), Tassilo Horn, 2015/01/27
- [elpa] elpa 49ee91a 03/26: Fix byte-compile warnings., Tassilo Horn, 2015/01/27
- [elpa] elpa d3d05d4 12/26: Make some buffer-local vars document-local., Tassilo Horn, 2015/01/27
- [elpa] elpa ddd6b97 11/26: Improve minted style., Tassilo Horn, 2015/01/27
- [elpa] elpa 6e94ea0 09/26: Add (start of an) minted style., Tassilo Horn, 2015/01/27
- [elpa] elpa ff1f544 10/26: Fix encoding file:// uri.,
Tassilo Horn <=
- [elpa] elpa 63bcbcd 08/26: Obsolete LaTeX-verbatim-regexp defcustom, Tassilo Horn, 2015/01/27
- [elpa] elpa 0cc29f9 07/26: Fix void-variable error., Tassilo Horn, 2015/01/27
- [elpa] elpa fc9a240 06/26: Fix bug#19398 in TeX-evince-sync-view, Tassilo Horn, 2015/01/27
- [elpa] elpa c7e1e47 05/26: [Fix #19281] Allow moodifying environments with macros in their names., Tassilo Horn, 2015/01/27
- [elpa] elpa 8dd1455 04/26: Fix in style/babel.el., Tassilo Horn, 2015/01/27
- [elpa] elpa 8c6a5ae 02/26: [Fix #19301] Fix closing bracket in style/mathtools.el., Tassilo Horn, 2015/01/27
- [elpa] elpa 6bfd4c8 01/26: Add new styles., Tassilo Horn, 2015/01/27