all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Starting up emacs with list of current direfctory files instead of *scratch*
@ 2013-03-29 18:51 Rami A
  2013-03-29 21:47 ` Starting up emacs with list of current direfctory files instead of*scratch* Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rami A @ 2013-03-29 18:51 UTC (permalink / raw)
  To: help-gnu-emacs

Whenever I start emacs I get the *scratch* buffer, is there a setting that I could add to my dotemacs file so emacs with start with the current directory files list buffer?

Thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Starting up emacs with list of current direfctory files instead of*scratch*
  2013-03-29 18:51 Starting up emacs with list of current direfctory files instead of *scratch* Rami A
@ 2013-03-29 21:47 ` Drew Adams
       [not found] ` <mailman.23056.1364593667.855.help-gnu-emacs@gnu.org>
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2013-03-29 21:47 UTC (permalink / raw)
  To: 'Rami A', help-gnu-emacs

> Whenever I start emacs I get the *scratch* buffer, is there a 
> setting that I could add to my dotemacs file so emacs with 
> start with the current directory files list buffer?

Add this to your .emacs:

(dired "/my/favorite/dir")

Or just add the directory to your startup command line.  For example (MS Windows
and others):

C:\emacs\bin\runemacs.exe "C:\my\favorite\dir"

/emacs/bin/runemacs.exe "/my/favorite/dir"





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Starting up emacs with list of current direfctory files instead of*scratch*
       [not found] ` <mailman.23056.1364593667.855.help-gnu-emacs@gnu.org>
@ 2013-03-29 21:54   ` Rami A
  0 siblings, 0 replies; 5+ messages in thread
From: Rami A @ 2013-03-29 21:54 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: help-gnu-emacs, Rami A

On Friday, March 29, 2013 2:47:33 PM UTC-7, Drew Adams wrote:
> > Whenever I start emacs I get the *scratch* buffer, is there a 
> 
> > setting that I could add to my dotemacs file so emacs with 
> 
> > start with the current directory files list buffer?
> 
> 
> 
> Add this to your .emacs:
> 
> 
> 
> (dired "/my/favorite/dir")
> 
> 
> 
> Or just add the directory to your startup command line.  For example (MS Windows
> 
> and others):
> 
> 
> 
> C:\emacs\bin\runemacs.exe "C:\my\favorite\dir"
> 
> 
> 
> /emacs/bin/runemacs.exe "/my/favorite/dir"

Awesome...much appreciated Drew.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Starting up emacs with list of current direfctory files instead of *scratch*
  2013-03-29 18:51 Starting up emacs with list of current direfctory files instead of *scratch* Rami A
  2013-03-29 21:47 ` Starting up emacs with list of current direfctory files instead of*scratch* Drew Adams
       [not found] ` <mailman.23056.1364593667.855.help-gnu-emacs@gnu.org>
@ 2013-03-30  6:44 ` Andreas Röhler
  2013-03-30  8:10 ` Jambunathan K
  3 siblings, 0 replies; 5+ messages in thread
From: Andreas Röhler @ 2013-03-30  6:44 UTC (permalink / raw)
  To: help-gnu-emacs

Am 29.03.2013 19:51, schrieb Rami A:
> Whenever I start emacs I get the *scratch* buffer, is there a setting that I could add to my dotemacs file so emacs with start with the current directory files list buffer?
>
> Thanks.
>

maybe

(dired "MY-DIR")

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Starting up emacs with list of current direfctory files instead of *scratch*
  2013-03-29 18:51 Starting up emacs with list of current direfctory files instead of *scratch* Rami A
                   ` (2 preceding siblings ...)
  2013-03-30  6:44 ` Starting up emacs with list of current direfctory files instead of *scratch* Andreas Röhler
@ 2013-03-30  8:10 ` Jambunathan K
  3 siblings, 0 replies; 5+ messages in thread
From: Jambunathan K @ 2013-03-30  8:10 UTC (permalink / raw)
  To: Rami A; +Cc: help-gnu-emacs

Rami A <rami.ammari@gmail.com> writes:

> Whenever I start emacs I get the *scratch* buffer, is there a setting
> that I could add to my dotemacs file so emacs with start with the
> current directory files list buffer?

M-x customize-variable RET initial-buffer-choice RET

From my .emacs:

    (custom-set-variables
     '(initial-buffer-choice "~/"))

>
> Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-30  8:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 18:51 Starting up emacs with list of current direfctory files instead of *scratch* Rami A
2013-03-29 21:47 ` Starting up emacs with list of current direfctory files instead of*scratch* Drew Adams
     [not found] ` <mailman.23056.1364593667.855.help-gnu-emacs@gnu.org>
2013-03-29 21:54   ` Rami A
2013-03-30  6:44 ` Starting up emacs with list of current direfctory files instead of *scratch* Andreas Röhler
2013-03-30  8:10 ` Jambunathan K

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.