all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Navy Cheng <navych@126.com>
To: kastian@mail.ru
Cc: help-gnu-emacs@gnu.org
Subject: Re: How can I change the default loading buffer?
Date: Thu, 30 Jul 2015 01:31:26 +0800	[thread overview]
Message-ID: <20150729173126.GA6780@debian> (raw)
In-Reply-To: <20150729143205.GA4140@eee>

Thanks for you answer. *inhibit-startup-message* seems to be the key.
When I set the variable, my method is OK. But your .emacs seems to be
smarter.

On Wed, Jul 29, 2015 at 05:32:05PM +0300, kastian@mail.ru wrote:
> UPD
> 
> (switch-to-buffer (get-buffer-create (shell)))
> 
> This works only if you have also
> 
> (setq inhibit-startup-message t) ;; remove startup message
> 
> in .emacs
> 
> On Wed, Jul 29, 2015 at 04:54:51PM +0300, kastian@mail.ru wrote:
> > Hello
> >
> > (switch-to-buffer (get-buffer-create (shell)))
> >
> > to the ent of .emacs
> >
> > On Wed, Jul 29, 2015 at 06:17:42PM +0800, Navy Cheng wrote:
> > > Hello,
> > > When I open emacs, the default buffer is *GNU Emacs*. How can I change
> > > it to *shell*?
> > >
> > > I have add
> > >
> > >     (shell)
> > >     (switch-to-buffer "*shell*")
> > >
> > > to the end of *.emacs*. (shell) is success, but the default buffer is
> > > not changed.
> > > Thanks.
> >




  reply	other threads:[~2015-07-29 17:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 10:17 How can I change the default loading buffer? Navy Cheng
2015-07-29 13:54 ` kastian
2015-07-29 14:32   ` kastian
2015-07-29 17:31     ` Navy Cheng [this message]
2015-07-29 20:11       ` Robert Thorpe
2015-07-29 22:43         ` Emanuel Berg
2015-07-30  0:38           ` Robert Thorpe
2015-07-30  1:58             ` Emanuel Berg
2015-08-02 15:56               ` Robert Thorpe
2015-08-05 20:19                 ` get Elisp reference to info files (was: Re: How can I change the default loading buffer?) Emanuel Berg
     [not found]                 ` <mailman.7859.1438806073.904.help-gnu-emacs@gnu.org>
2015-08-06  1:23                   ` get Elisp reference to info files Ted Zlatanov
2015-08-07 22:41                     ` Emanuel Berg
2015-08-07 23:06                       ` John Mastro
2015-08-07 23:19                         ` Emanuel Berg
2015-08-07 23:25                           ` John Mastro
2015-08-08 17:37                             ` Robert Thorpe
2015-08-09  1:24                               ` Emanuel Berg
2015-08-09  2:05                             ` Emanuel Berg
2015-08-09  2:23                               ` John Mastro
2015-08-09  2:30                                 ` Emanuel Berg

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=20150729173126.GA6780@debian \
    --to=navych@126.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kastian@mail.ru \
    /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.