From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ferdinand Newsgroups: gmane.emacs.help Subject: customise startup behaviour (open files in different windows etc.) Date: Mon, 6 Aug 2012 14:31:47 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344256320 11619 80.91.229.3 (6 Aug 2012 12:32:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 12:32:00 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 14:32:00 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SyMTY-0002gh-GM for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 14:32:00 +0200 Original-Received: from localhost ([::1]:49796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyMTX-0002oT-HF for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 08:31:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyMTS-0002oO-Ny for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 08:31:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyMTO-00043H-Eb for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 08:31:54 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:44730) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SyMTO-000432-3m for help-gnu-emacs@gnu.org; Mon, 06 Aug 2012 08:31:50 -0400 Original-Received: (qmail invoked by alias); 06 Aug 2012 12:31:48 -0000 Original-Received: from s5597cbf5.adsl.wanadoo.nl (EHLO [192.168.1.108]) [85.151.203.245] by mail.gmx.net (mp012) with SMTP; 06 Aug 2012 14:31:48 +0200 X-Authenticated: #44561812 X-Provags-ID: V01U2FsdGVkX1/Yw3Qio0nYB9MXgi7PmjBoVEcOFlkXBKv/lUwvxZ nfhQHVLxULfGgH X-Mailer: Apple Mail (2.1485) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86219 Archived-At: Hi, I would like to open a particular file on every emacs session. However, this file should be displayed in a particular window within = emacs. I have: (desktop-save-mode 1) in my .emacs. So the last file / buffer that was open gets reopened on startup. Now I want to tell emacs to split the window vertically (C-x 3), make it = a little bit smaller (C-x }) and open the particular file in the second window. what do I have to put in my .emacs file to get such a behaviour on = startup? thanks!=