From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: Default directory in startup buffer Date: Fri, 21 Jan 2011 01:06:59 -0800 (PST) Organization: http://groups.google.com Message-ID: <2bab6e05-4cb7-48c5-86f3-b24341a3da0a@j19g2000prh.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1295602889 12887 80.91.229.12 (21 Jan 2011 09:41:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 09:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 21 10:41:25 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgDUh-0001n2-LF for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 10:41:23 +0100 Original-Received: from localhost ([127.0.0.1]:46613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgDUh-0003mB-63 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 04:41:23 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!j19g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1295600820 14711 127.0.0.1 (21 Jan 2011 09:07:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 21 Jan 2011 09:07:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j19g2000prh.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:184477 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78640 Archived-At: Dont really understand the problem and I am not on windows right now but as a hack you can make your own R-emacs command emacs --eval '(setq inhibit-startup-echo-area-message t inhibit-startup-screen t initial-scratch-message nil default-directory "~/")' (Thats one line -- Remove the newlines) On windows IIRC default-directory works if you set HOME in the environment A better option maybe to set the R mode as default mode