From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: doc-view cache file permissions Date: Wed, 31 Oct 2007 08:56:55 +0100 Message-ID: <87pryv3eew.fsf@baldur.tsdh.de> References: <7gk5p448xq.fsf@fencepost.gnu.org> <87wst33g0o.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193817869 6996 80.91.229.12 (31 Oct 2007 08:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 08:04:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 09:04:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1In8Yy-0007PU-11 for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 09:04:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In8Yo-0008Dq-HQ for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 04:04:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In8Yk-0008D8-4D for emacs-devel@gnu.org; Wed, 31 Oct 2007 04:04:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In8Yh-0008AJ-Lx for emacs-devel@gnu.org; Wed, 31 Oct 2007 04:04:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In8Yh-0008A5-Fs for emacs-devel@gnu.org; Wed, 31 Oct 2007 04:04:15 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1In8Rf-0005qJ-4s for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:56:59 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 39DA345D8C for ; Wed, 31 Oct 2007 03:56:58 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 31 Oct 2007 03:56:58 -0400 X-Sasl-enc: djuo+xYZBh98cpWumua0mnYCUxbi00DjuzVSY2450Vf2 1193817417 Original-Received: from baldur.tsdh.de (dslb-084-063-041-145.pools.arcor-ip.net [84.63.41.145]) by mail.messagingengine.com (Postfix) with ESMTP id 6519221AB for ; Wed, 31 Oct 2007 03:56:57 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAAAAAAi+XoYAAAACXBIWXMAAABIAAAASABGyWs+ AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB I0lEQVRYw+VX2w3DMAi87+zTFbr/IBmiqlTLjnkTLDmqrH5UMRzcQSA4X2sPpAfvYzFADoRagF6h x+NYsgG9OF73R94suzUB6M7v0jRCoLpqRvffH3qUFiWRXFiKZBc9gHZD16grwWhg1QitGE10BwBX thZE4/8HICvgcS5lMVEUi572y1zaSh94etpSYuoDniK9SrTbbCfPEXIu9K6QsoWU8uhAFlKGaE8h 13v85cxZgus/2T3HPe34ERq6Ays+DsAx0TSQ2H/nyy46Jo0Mqsa9Y+hnMph1QoXT0FZRC5jai6zC dJWpZehfacq3ir00iC8pz6XoJgC/mNgL2B9RpC+USwD8s3svijKjaF+Rr8tJIUCUJqyNPwVw/R5e KvLz+iBzPs4pHcCUQrRFAAAAKnpUWHRDb21tZW50AAB42vMKcHW3Ss8r1c1ITUzRyypIVzAyN6sw MjMEAGiaB6m0ORgZAAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwQAADIAMimkmokAAAAhelRY dGpwZWc6c2FtcGxpbmctZmFjdG9yAAB42jOqMAIAAbsA3XNgMqsAAAAASUVORK5CYII= Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87wst33g0o.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed, 31 Oct 2007 08:22:15 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82208 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 * 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