* Trouble executing (previous-buffer) at startup in .emacs @ 2013-07-11 14:45 Chris Seberino 2013-07-11 15:35 ` Teemu Likonen [not found] ` <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 3+ messages in thread From: Chris Seberino @ 2013-07-11 14:45 UTC (permalink / raw) To: help-gnu-emacs I'm trying to execute (previous-buffer) at startup. 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? cs ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Trouble executing (previous-buffer) at startup in .emacs 2013-07-11 14:45 Trouble executing (previous-buffer) at startup in .emacs Chris Seberino @ 2013-07-11 15:35 ` Teemu Likonen [not found] ` <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 3+ messages in thread From: Teemu Likonen @ 2013-07-11 15:35 UTC (permalink / raw) To: Chris Seberino; +Cc: help-gnu-emacs [-- 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 --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org>]
* Re: Trouble executing (previous-buffer) at startup in .emacs [not found] ` <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org> @ 2013-07-11 21:23 ` Chris Seberino 0 siblings, 0 replies; 3+ messages in thread From: Chris Seberino @ 2013-07-11 21:23 UTC (permalink / raw) To: help-gnu-emacs Thanks! What I'm actually trying to do is modify what buffer emacs lands on when you open multiple buffers at start up. I've noticed it always starts on the LAST buffer in sorted order. I want it to start on the FIRST one in sorted order. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-11 21:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-07-11 14:45 Trouble executing (previous-buffer) at startup in .emacs Chris Seberino 2013-07-11 15:35 ` Teemu Likonen [not found] ` <mailman.803.1373556974.12400.help-gnu-emacs@gnu.org> 2013-07-11 21:23 ` Chris Seberino
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).