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:22:15 +0100 Message-ID: <87wst33g0o.fsf@baldur.tsdh.de> References: <7gk5p448xq.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193815354 1744 80.91.229.12 (31 Oct 2007 07:22:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 07:22:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 08:22:36 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 1In7uO-0001QF-HS for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 08:22:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In7uF-0001Lo-04 for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 03:22:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In7uC-0001Lj-Cl for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:22:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In7u8-0001Kg-B0 for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:22:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In7u8-0001KZ-2h for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:22:20 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1In7u7-00047s-8H for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:22:19 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1In7u6-0002Jz-J7 for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:22:18 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1C6B445C34 for ; Wed, 31 Oct 2007 03:22:18 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 31 Oct 2007 03:22:18 -0400 X-Sasl-enc: Yjx/GqWaJslunIcyupKy3vaBhDjV9jwG11cWZffbV+JI 1193815337 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 5353E1080E for ; Wed, 31 Oct 2007 03:22:17 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAAsSAAALEgHS3X78 AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB hklEQVRo3u2awQ3CMAxFvQNDcOkELMZeDMImcEcCiQMXpKrBjv83jptLTmmTvH47P07l9Xie78s+ 2+vhcjzdvtt1H5lo2piEMUy7Z2Y063kKbxhrzzxoggD1TSgPoE8r+kBgQInEtDWKSkHticag+Reg 9hrFH6XxmPQorT1/5CDU1GNC1aMXAyD/tPrChKc71HzMCkJ9K9QGjMpohm3eM4AVRx7rQHHSfapB JXuP3q1rcQHSK8J6NOlzLqjP5gLESMN+d8PzR2BA8Scy7ObgArS1bH34ZDiyWjOpeEj7bcF/CyCa 0YXnUyIB9b2HqCD25pohuGCAIp1Un+HwPCWMAmu8glAHi1JFe//BCBZi+THxlCujQ5mAwBZhMEAa S4kC1PesZNBCjL0oAohXAxgGkP+KKdJ5SQY0jDohKnNJtj2IXRJJCoh3fcRuZaJJBCh/CS0IEPvG vSCgEdFQAGUOlnSAavzuKVM7dEBV0UxAfEC10cAA1f4nfwJait9qJAW0B+1MBanaN8/hXhJvKAwx AAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwIAADMAM4k4IzUAAAAmelRYdGpwZWc6c2FtcGxp bmctZmFjdG9yAAB42jOqMNIxrDAEYQARgwLpPZcvTwAAAABJRU5ErkJggg== Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Tue, 30 Oct 2007 17:56:49 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82188 Hi Stefan, I really like your changes, they make doc-view even more convenient. But there's a little bug. This patch fixes it. --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. --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:21:34 -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) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo