help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic question: reusing frame when opening Emacs file


From: B. T. Raven
Subject: Re: basic question: reusing frame when opening Emacs file
Date: Thu, 02 Mar 2006 00:14:08 GMT

"Peter Tury" <tury.peter@gmail.com> wrote in message
news:jbdkui9mi4lz$.1lmnhcqbred0b.dlg@40tude.net...
> Hi,
>
> Emacs opens the files always in a new frame. How to avoid this? I mean:
I
> would like to have just one frame unless I directly create a new one via
> e.g. File > New frame. But now, if I press Enter on a file what is
> associated with Emacs, a new frame is created for that file.
>
> I use EmacsW32 (P060106) on MS Windows XP.
>
> My Emacs files are opened by D:\Program
> Files\Emacs_P060106\EmacsW32\bin\gnuclientw.exe -sqf "%1" if I press
Enter
> (I guess).
>
> I have (setq gnuserv-frame (selected-frame)) in my .emacs, its value is
> #<frame  *Minibuf-1* - Emacs 0x1409c00>
> after a fresh start. (It doesn't help if I modify it to e.g.
> #<frame .emacs - Emacs 0x1409c00>, neither if I comment this out in my
> .emacs.)
>
> special-display-buffer-names is nil
> special-display-regexps is nil
> same-window-buffer-names is ("*shell*" "*mail*" "*inferior-lisp*"
"*ielm*"
> "*scheme*")
> same-window-regexps is ("\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)"
> "\\*telnet-.*\\*\\(\\|<[0-9]+>\\)" "^\\*rlogin-.*\\*\\(\\|<[0-9]+>\\)"
> "\\*info\\*\\(\\|<[0-9]+>\\)" "\\*gud-.*\\*\\(\\|<[0-9]+>\\)"
> "\\`\\*Customiz.*\\*\\'")
>
> gnuserv-reuseframe is gnuserv-find-files-frame
>
> What to check/modify?
>
> Thanks,
> P

Are you sure that you are not opening another instance of emacs? This is
even more resource exhausting that a new frame for every file. That's what
happened here when I associated a file extension with emacs. (Using
22.0.50.1 on msw 98.) Why not have emacs look for the file instead of
versa vice?

Ed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]