From: Peter Tury <tury.peter@gmail.com>
Subject: Re: basic question: reusing frame when opening Emacs file
Date: Thu, 02 Mar 2006 08:47:35 GMT [thread overview]
Message-ID: <1mcbb5vggbkj6.h92h93q1wna1$.dlg@40tude.net> (raw)
In-Reply-To: kNqNf.6020$5M6.362@newsread2.news.atl.earthlink.net
On Thu, 02 Mar 2006 00:14:08 GMT, B. T. Raven wrote:
> Are you sure that you are not opening another instance of emacs?
Thanks for the idea, but yes, I am sure: I see all the buffers in both
frames, and if I close one frame, I still have the "newly visited" file in
a buffer in the other frame.
Some more info: it seems that initial-frame-alist is not used for the new
frame, but some default values.
I tried some other things: if I try to visit a file what is already opened
then I get a new frame for it if it wasn't in "the upmost" (the "active"?)
buffer in any frames (but the file is not opened again, in a new buffer:
just the existing buffer is "activated" in a new frame); but if the buffer
is "active" in a frame, then just that frame is "activated".
Should I check some hook running at file opening? What? How?
> Why not have emacs look for the file instead of versa vice?
Sometimes this way is easier: e.g. when I am at the file in TotalCommander
already, it is easier to press enter than switching (by hand) to emacs and
locate the same file...
Thanks,
P
next prev parent reply other threads:[~2006-03-02 8:47 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 [this message]
2006-03-02 15:50 ` Peter Tury
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='1mcbb5vggbkj6.h92h93q1wna1$.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).