From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Default Window Size Date: Fri, 12 Sep 2008 06:55:54 -0700 Message-ID: <002f01c914df$466f94b0$0200a8c0@us.oracle.com> References: <7f502349-d81f-40fa-a465-bb09d2e01b24@k30g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221227867 13395 80.91.229.12 (12 Sep 2008 13:57:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 13:57:47 +0000 (UTC) To: "'stephan.zimmer'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 15:58:43 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ke9A8-0004a1-Pm for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 15:58:17 +0200 Original-Received: from localhost ([127.0.0.1]:44400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke998-0003Z5-GR for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 09:57:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ke97w-0003DD-2Z for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 09:56:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ke97v-0003CG-Bx for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 09:55:59 -0400 Original-Received: from [199.232.76.173] (port=47129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke97v-0003C7-3b for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 09:55:59 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:48051) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ke97u-0003Hu-Ks for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 09:55:58 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m8CDts5O030647; Fri, 12 Sep 2008 07:55:54 -0600 Original-Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m8CDtrbI031171; Fri, 12 Sep 2008 07:55:53 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Sep 2008 06:55:53 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <7f502349-d81f-40fa-a465-bb09d2e01b24@k30g2000hse.googlegroups.com> Thread-Index: AckU3nEgkGCl8lirSE2Fv3OGKdL4bgAALRGg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57477 Archived-At: > is there any way to set the default window size of emacs in .emacs? > I.e. to achieve the same effect as starting with --geometry=width x > height? If not, is there any workaround for that, i.e., placing some > default command line options in an environment variable? > > For a given window, is there any way to locally restrict the width to > a certain value? I.e., say the window has width 200, but in a certain > buffer I don't want to exceed the 80 signs limit. Customize option `default-frame-alist'. See the Emacs manual, keeping in mind that what you call "window" (a window-manager window) is called a "frame" in Emacs.