From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: basic question: reusing frame when opening Emacs file Date: Wed, 1 Mar 2006 23:49:59 +0100 Organization: T-Online Internet Hungary Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141401154 25852 80.91.229.2 (3 Mar 2006 15:52:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 15:52:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 16:52:33 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFCZR-0001sl-JQ for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 16:51:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFCZS-0001FA-6K for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 10:51:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news1.dtag.de!news.t-online.hu!newsfeed.matavnet.hu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: dsl5400f27f.pool.t-online.hu Original-X-Trace: namru.matavnet.hu 1141253398 16990 84.0.242.127 (1 Mar 2006 22:49:58 GMT) Original-X-Complaints-To: newsmaster@matavnet.hu Original-NNTP-Posting-Date: Wed, 1 Mar 2006 22:49:58 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.15.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:137852 Original-To: help-gnu-emacs@gnu.org 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:33480 Archived-At: 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 # after a fresh start. (It doesn't help if I modify it to e.g. #, 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