From: adamsonj@email.unc.edu (Joel J. Adamson)
To: Paul Csanyi <csanyipal@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to setup Emacs to load a file right after startup
Date: Wed, 18 Jun 2008 15:04:51 -0400 [thread overview]
Message-ID: <87k5gmsgx8.fsf@edna.homeunix.org> (raw)
In-Reply-To: <87ve07z1sm.fsf@debian-asztal.csanyi-pal.info> (Paul Csanyi's message of "Wed, 18 Jun 2008 08:37:29 +0200")
Paul Csanyi <csanyipal@gmail.com> writes:
> adamsonj@email.unc.edu (Joel J. Adamson) writes:
>
>> Paul Csanyi <csanyipal@gmail.com> writes:
>>
>>> I have installed GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version
>>> 2.8.20) of 2008-04-15 on Debian GNU/Linux Etch system.
>>>
>>> I wish to be opened a file right after Emacs startup.
>>>
>>> How can I do that?
>
> (find-file "path_to_file")
>
> works for me.
Yeah, I saw the other replies, I just thought I should let you know there
is more than one way to do it. My question would be why do you want to
do it that way?
Joel
--
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
http://trashbird1240.blogspot.com
next prev parent reply other threads:[~2008-06-18 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 12:32 How to setup Emacs to load a file right after startup Paul Csanyi
2008-06-17 13:59 ` Peter Dyballa
2008-06-17 17:20 ` Joel J. Adamson
2008-06-18 6:37 ` Paul Csanyi
2008-06-18 19:04 ` Joel J. Adamson [this message]
2008-06-18 20:47 ` Paul Csanyi
2008-06-19 2:23 ` Joel J. Adamson
[not found] <mailman.13445.1213705963.18990.help-gnu-emacs@gnu.org>
2008-06-17 14:44 ` nakkaya
2008-06-18 21:52 ` nakkaya
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5gmsgx8.fsf@edna.homeunix.org \
--to=adamsonj@email.unc.edu \
--cc=csanyipal@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).