From: Teemu Likonen <tlikonen@iki.fi>
To: Chris Seberino <cseberino@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trouble executing (previous-buffer) at startup in .emacs
Date: Thu, 11 Jul 2013 18:35:50 +0300 [thread overview]
Message-ID: <871u75xg6h.fsf@mithlond.arda> (raw)
In-Reply-To: <7620fe26-df3b-4ea4-b8cd-dad29bab5610@googlegroups.com> (Chris Seberino's message of "Thu, 11 Jul 2013 07:45:14 -0700 (PDT)")
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]
Chris Seberino [2013-07-11 07:45:14 -07:00] wrote:
> I created a .emacs with only these 2 commands...
>
> (shell)
> (previous-buffer)
>
> I was hoping I'd see something else besides the GNU welcome screen
> message. The (shell) ran but the 2nd command didn't seem to. Why?
Emacs init files (~/.emacs or ~/.emacs.d/init.el) are executed quite
early in the start-up process and you don't see the effect of
previous-buffer function call. See info node "(elisp) Startup Summary"
or page
http://www.gnu.org/software/emacs/manual/html_node/elisp/Startup-Summary.html
for more info.
If you are trying to start shell buffer the simplest way is probably to
start Emacs with this option:
emacs -f shell
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2013-07-11 15:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 14:45 Trouble executing (previous-buffer) at startup in .emacs Chris Seberino
2013-07-11 15:35 ` Teemu Likonen [this message]
[not found] ` <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org>
2013-07-11 21:23 ` Chris Seberino
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=871u75xg6h.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--cc=cseberino@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).