From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Filippo A. Salustri" Subject: question about opening a file in .emacs Date: Wed, 19 Jan 2011 21:49:28 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1912531946==" Return-path: Received: from [140.186.70.92] (port=58917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfkab-0008AC-7y for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 21:49:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfkaZ-0008HF-R6 for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 21:49:33 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:32921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfkaZ-0008H8-Mc for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 21:49:31 -0500 Received: by wwb17 with SMTP id 17so125828wwb.30 for ; Wed, 19 Jan 2011 18:49:30 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1912531946== Content-Type: multipart/alternative; boundary=0016e659fd08a55431049a3e2ea3 --0016e659fd08a55431049a3e2ea3 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'd like to have aquamacs open org immediately when I start it. To do this, I've put the following line at the end of my .emacs (which is actually somewhere else in Aquamacs, but it doesn't matter): (switch-to-buffer-in-tab (find-file "~/Dropbox/org/root.org")) Now, this works. But when Aquamacs starts, it runs through something like a half-dozen redraws, resizes, and re-coloration of the Aquamacs window. I'm okay with it, cuz it works, but it's rather distracting to see this flurry of stuff happening every time I start Aquamacs. It might be something wrong with the code I use, or it might be an Aquamacs issue, or it might be a general emacs issue. Anyone got any ideas? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ --0016e659fd08a55431049a3e2ea3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I'd like to have aquamacs open org immediate= ly when I start it.
To do this, I've put the following line a= t the end of my .emacs (which is actually somewhere else in Aquamacs, but i= t doesn't matter):

(switch-to-buffer-in-tab (find-file "~/Dropbo= x/org/root.org"))

=
Now, this works. =A0But when Aquamacs starts, it runs through somethin= g like a half-dozen redraws, resizes, and re-coloration of the Aquamacs win= dow.
I'm okay with it, cuz it works, but it's rather distracting to= see this flurry of stuff happening every time I start Aquamacs.
=
It might be something wrong with the code I use, or it might= be an Aquamacs issue, or it might be a general emacs issue.

Anyone got any ideas?

Cheers.<= /div>
Fil

--
Filippo A. Salustri, Ph.D., P.Eng.
Mechani= cal and Industrial Engineering
Ryerson University
350 Victoria St, To= ronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email= : salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/
--0016e659fd08a55431049a3e2ea3-- --===============1912531946== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1912531946==--