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-current-slice only used internally Date: Fri, 04 Jan 2008 23:26:47 +0100 Message-ID: <87wsqp9qhk.fsf@member.fsf.org> References: <871w8xbdls.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199485629 25401 80.91.229.12 (4 Jan 2008 22:27:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 22:27:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 23:27:27 2008 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 1JAv0b-0001rQ-1J for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 23:27:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAv0E-000878-H7 for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 17:26:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAv09-00082t-Er for emacs-devel@gnu.org; Fri, 04 Jan 2008 17:26:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAv07-0007yG-Bx for emacs-devel@gnu.org; Fri, 04 Jan 2008 17:26:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAv07-0007xw-3m for emacs-devel@gnu.org; Fri, 04 Jan 2008 17:26:51 -0500 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAv07-0004dN-I7 for emacs-devel@gnu.org; Fri, 04 Jan 2008 17:26:51 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 901D282D9E for ; Fri, 4 Jan 2008 17:26:50 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 04 Jan 2008 17:26:50 -0500 X-Sasl-enc: RCbT9AVXwG3NRADZLWM97TOP7tBUQdWk3mEBpOVNY3qg 1199485610 Original-Received: from baldur (dslb-084-063-054-225.pools.arcor-ip.net [84.63.54.225]) by mail.messagingengine.com (Postfix) with ESMTP id D7C632751D for ; Fri, 4 Jan 2008 17:26:49 -0500 (EST) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Robert J. Chassell's message of "Fri, 4 Jan 2008 21:39:35 +0000 (UTC)") 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:86089 Archived-At: "Robert J. Chassell" writes: Hi Robert, > I don't get you. The variable is buffer-local, so it's value will > be the same in any frame that shows the doc-view buffer with that > file. There's no way to have different values in different frames. > > Yes, but I have four buffers, each from a different file, that I want > to put into doc-view. Each will have the same width. Hence, the need > to set the size of the second frame globally. You can use something like (add-hook 'doc-view-mode-hook (lambda () (setq doc-view-current-slice '(100 100 600 800)))) in your ~/.emacs. Bye, Tassilo