[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view cache file permissions
From: |
Tassilo Horn |
Subject: |
Re: doc-view cache file permissions |
Date: |
Wed, 31 Oct 2007 08:56:55 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Hi again,
furthermore I noticed that `g' is bound twice in d-v-mode-map. I
changed the bindings so that `g' is bound to d-v-goto-page and `r' is
bound to d-v-reconvert-doc now.
--8<---------------cut here---------------start------------->8---
2007-10-31 Tassilo Horn <address@hidden>
* doc-view.el (doc-view-cache-directory): Fix bug where an integer
was given to concat.
(doc-view-mode-map): Now g is bound to d-v-goto-page and r is
bound to d-v-reconvert-doc. Before g was bound to both so the
former was inaccessible.
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
Index: lisp/doc-view.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
retrieving revision 1.15
diff -u -r1.15 doc-view.el
--- lisp/doc-view.el 31 Oct 2007 03:10:32 -0000 1.15
+++ lisp/doc-view.el 31 Oct 2007 07:55:58 -0000
@@ -157,7 +157,8 @@
:group 'doc-view)
(defcustom doc-view-cache-directory
- (expand-file-name (concat "docview" (user-uid)) temporary-file-directory)
+ (expand-file-name (concat "docview" (format "%d" (user-uid)))
+ temporary-file-directory)
"The base directory, where the PNG images will be saved."
:type 'directory
:group 'doc-view)
@@ -250,7 +251,7 @@
;; Toggle between text and image display or editing
(define-key map (kbd "C-c C-c") 'doc-view-toggle-display)
;; Reconvert the current document
- (define-key map (kbd "g") 'doc-view-reconvert-doc)
+ (define-key map (kbd "r") 'doc-view-reconvert-doc)
map)
"Keymap used by `doc-view-mode' when displaying a doc as a set of images.")
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
- doc-view cache file permissions, Glenn Morris, 2007/10/30
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/30
- Re: doc-view cache file permissions, Glenn Morris, 2007/10/30
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/30
- Re: doc-view cache file permissions, Tassilo Horn, 2007/10/31
- Re: doc-view cache file permissions,
Tassilo Horn <=
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/31
- Re: doc-view cache file permissions, Tassilo Horn, 2007/10/31
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/31
- Re: doc-view cache file permissions, Tassilo Horn, 2007/10/31
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/31
- Re: doc-view cache file permissions, Reiner Steib, 2007/10/30
- Re: doc-view cache file permissions, Stefan Monnier, 2007/10/30
Re: doc-view cache file permissions, Tassilo Horn, 2007/10/30