From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: New config file
Date: Wed, 30 Sep 2009 01:18:04 -0500 [thread overview]
Message-ID: <874oql6jmr.fsf@newsguy.com> (raw)
In-Reply-To: 25671046.post@talk.nabble.com
emacsuser <mekhala.acharya@bms.com> writes:
> It loads an emacs session ((not with the default serttings of .emacs). But I
> have to type M-x load file, then give .emacs-ks. Only then does the config
> settings take effect. I wasn't to be able to call .emacs-ks without using
> load file.
Probably the simplist way would be to create an alias for emacs that
runs emacs -q -l my.config (Or a function)
The -q tells emacs not to load .emacs... and the -l tells emacs to
load whatever filename follows.
The alias route would look like this (in .bashrc) (assuming you are using
bash as your shell)
alias='myem emacs -q -l ~/my.conf' (Use any name (without spaces)
that you want in place of `myem' and `my.conf'.
I usually prefer functions... but either way if fine. A function would
look like (in .bashrc.):
myem () { emacs -q -l ~/my.conf; }
Ditto about the names... but the spacing and format need to be exactly
like that, including the semi-colon... the shell is fussy about functions.
next prev parent reply other threads:[~2009-09-30 6:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 21:13 New config file emacsuser
2009-09-30 4:37 ` Wang Lei
2009-09-30 6:03 ` Kevin Rodgers
2009-09-30 6:18 ` Harry Putnam [this message]
2009-09-30 6:26 ` Harry Putnam
[not found] ` <mailman.7745.1254292011.2239.help-gnu-emacs@gnu.org>
2009-10-18 0:53 ` David Combs
2009-10-18 8:08 ` Tim X
[not found] <mailman.7734.1254283138.2239.help-gnu-emacs@gnu.org>
2009-09-30 5:02 ` Richard Riley
2009-09-30 12:58 ` emacsuser
[not found] ` <mailman.7770.1254315520.2239.help-gnu-emacs@gnu.org>
2009-09-30 23:07 ` Tim X
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874oql6jmr.fsf@newsguy.com \
--to=reader@newsguy.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.