emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Juri Artamonov <jartamonov@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Opening org files on Aquamacs startup
Date: Sat, 27 Nov 2010 13:37:44 -0500	[thread overview]
Message-ID: <AANLkTimpkGb3k0HZ9bdREfPLQuoSCOY23zPduJxd8W=r@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimJmV1uqhhyd8kHQOgH6CrsVtQUpSdqWbQm3tBT@mail.gmail.com>

I had problems with desktop. I've saved an elisp file with lines that
call the buffers I like to open when Aquamacs starts. I call it using
`M-x load-file` after emacs starts (I don't like keeping it in my init
file). The file looks something like:

(find-file "~/path/to/file1")
(find-file "~/path/to/file2")
(dired "~/path/to/directory")
etc...

HTH,
Jeff

On Sat, Nov 27, 2010 at 11:35 AM, Juri Artamonov <jartamonov@gmail.com> wrote:
> Thank you Guys, desktop is working.
> Best regards,
>                        Juri.
>
> On Sat, Nov 27, 2010 at 2:11 PM, Stefan Vollmar <vollmar@nf.mpg.de> wrote:
>>
>> Dear Juri,
>>
>> On 27.11.2010, at 13:39, Juri Artamonov wrote:
>>
>> > I'm using Aquamacs and I would like to specify set files that should be
>> > opened when Aquamacs is started. Does anyone know how to do this?
>>
>> A rather elegant method involves the desktop library and allows you to
>> generally restore the state of an arbitrary Emacs session:
>>
>>
>> http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html
>>
>> Warm regards,
>>  Stefan
>> --
>> Dr. Stefan Vollmar, Dipl.-Phys.
>> Head of IT group
>> Max-Planck-Institut für neurologische Forschung
>> Gleuelerstr. 50, 50931 Köln, Germany
>> Tel.: +49-221-4726-213  FAX +49-221-4726-298
>> Tel.: +49-221-478-5713  Mobile: 0160-93874279
>> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>>
>>
>>
>>
>>
>>
>
>
> _______________________________________________
> 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
>
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

      reply	other threads:[~2010-11-27 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-27 12:39 Opening org files on Aquamacs startup Juri Artamonov
2010-11-27 14:11 ` Stefan Vollmar
2010-11-27 16:35   ` Juri Artamonov
2010-11-27 18:37     ` Jeff Horn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimpkGb3k0HZ9bdREfPLQuoSCOY23zPduJxd8W=r@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jartamonov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).