unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Tury <tury.peter@gmail.com>
Subject: Re: basic question: reusing frame when opening Emacs file
Date: Thu, 02 Mar 2006 15:50:21 GMT	[thread overview]
Message-ID: <91c05b05y829$.cd2z1zo7oxz2$.dlg@40tude.net> (raw)
In-Reply-To: jbdkui9mi4lz$.1lmnhcqbred0b.dlg@40tude.net

On Wed, 1 Mar 2006 23:49:59 +0100, Peter Tury wrote:

> 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.
> 
> gnuserv-reuseframe is gnuserv-find-files-frame

Finally I identified the problem: gnuserv-reuseframe works in another way
as I expected. Now I modified it for myself: I changed its last line from
use-frame))
to
 (if (eq use-frame nil) (selected-frame)
      use-frame)))

Now it seems to work as I wanted. Maybe this kind of operation could be
added as a new alternative besides the existing ones?

Br,
P

      parent reply	other threads:[~2006-03-02 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 22:49 basic question: reusing frame when opening Emacs file Peter Tury
2006-03-02  0:14 ` B. T. Raven
2006-03-02  8:47   ` Peter Tury
2006-03-02 15:50 ` Peter Tury [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='91c05b05y829$.cd2z1zo7oxz2$.dlg@40tude.net' \
    --to=tury.peter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).