From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kastian@mail.ru Newsgroups: gmane.emacs.help Subject: Re: How can I change the default loading buffer? Date: Wed, 29 Jul 2015 16:54:51 +0300 Message-ID: <20150729135450.GA2270@eee> References: <20150729101742.GA2801@debian> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1438178033 18064 80.91.229.3 (29 Jul 2015 13:53:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 13:53:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Navy Cheng Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 29 15:53:41 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKRna-0008Vt-D1 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jul 2015 15:53:34 +0200 Original-Received: from localhost ([::1]:35330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKRnZ-00014W-W9 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jul 2015 09:53:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKRnJ-00010E-Cf for help-gnu-emacs@gnu.org; Wed, 29 Jul 2015 09:53:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKRnD-0005Lt-Ea for help-gnu-emacs@gnu.org; Wed, 29 Jul 2015 09:53:17 -0400 Original-Received: from smtp41.i.mail.ru ([94.100.177.101]:36005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKRnD-0005L8-3x for help-gnu-emacs@gnu.org; Wed, 29 Jul 2015 09:53:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=7Ec5wn4H8Sd1XIsPZINuGYBzL58rlnxsDfOJC3utmEQ=; b=FcPR3Xgje1rVT7mcMS9JpCIn35HkrF6AoqBsatuC7HRQIBwolFUPHeEWV4b4A3eKXrq+R4pahBd1rluPAJyu10KoZhrq3QZv8bW4SwgJJKao4WD5cxHq3uz9zPj+yByb5Ri5ehZCkSdilO2XTAcVD3HzToRM+ZOnldwznErncgM=; Original-Received: from [188.124.38.71] (port=37904 helo=eee) by smtp41.i.mail.ru with esmtpa (envelope-from ) id 1ZKRn9-0002rb-VM; Wed, 29 Jul 2015 16:53:08 +0300 Content-Disposition: inline In-Reply-To: <20150729101742.GA2801@debian> User-Agent: Mutt/1.5.23 (2014-03-12) X-Mras: Ok X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 94.100.177.101 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106111 Archived-At: 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.