unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Initializing buffer with find-file versus with scratch pad ?!?
@ 2010-01-26 17:11 William Case
  2010-01-27  4:42 ` Initializing buffer with find-file versus with scratch pad ?!? [SOLVED] William Case
  0 siblings, 1 reply; 2+ messages in thread
From: William Case @ 2010-01-26 17:11 UTC (permalink / raw)
  To: Emacs Help List

What I want to do in either my custom.el file or my emacs.el file is
instruct emacs to open with the 'find-file foo' showing or if there is
no find-file, open with 'scratch pad' showing.

That should be simple enough.  I have the following set in my custom.el

 '(inhibit-startup-screen t)
 '(initial-buffer-choice t)
 '(initial-scratch-message "") 

However, if I select a file through Nautilus and right click "open with
emacs" emacs opens with the correct file in a buffer, but never showing
as the viewable or top buffer. When a file has been selected before
opening emacs I want that file/buffer to show immediately as the primary
buffer.

I have screwed around with this for a couple of hours now, checked the
info file and the emacs wiki.  I am probably use the wrong key word or
variable name in my search.

An suggestion as to how to set this up or a pointer to the correct
function(s) or variable(s) would be helpful.
-- 
Regards Bill
Fedora 12, Gnome 2.28
Evo.2.28, Emacs 23.1.1





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

end of thread, other threads:[~2010-01-27  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 17:11 Initializing buffer with find-file versus with scratch pad ?!? William Case
2010-01-27  4:42 ` Initializing buffer with find-file versus with scratch pad ?!? [SOLVED] William Case

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).