Article View: gnu.emacs.bug
Article #98384find-file-other-window bug
From: Michael Tague
Date: Wed, 24 Jul 1991 07:03
Date: Wed, 24 Jul 1991 07:03
24 lines
1719 bytes
1719 bytes
I noticed the following improper behavior in find-file-other-window:
When I defined a function bound to a key in my startup with these two
lines in it:
(split-window-vertically)
(find-file-other-window "~/note")
When I invoke emacs with a file name argument, i.e., emacs foo, and
then within emacs hit the key bound to the function containing the
above lines the effect is that the window is split twice. Presumably
once for split-window-vertically, and a second time for
find-file-other-window.
When I invoke emacs without arguments and then a file and hit the key
bound to the function above, it behaves as it should: it splits the
window only once.
The bug: in some cases find-file-other-window detects that there is
another window and uses it, in others it doesn't and creates one of
its own.
-------------------------------------------------------------------------
Michael Tague tague@witchcraft.com (415) 752-2477, FAX 752-8971
Computer Witchcraft, Inc., 2921 Anza Street, San Francisco, CA 94121-3134
Technical Details
Message-ID:
<1135@witch.witchcraft.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!witchcraft.COM!tagueShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,2619ecc00675f10d,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-07-24 23:13:17 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!witchcraft.COM!tague From: tague@witchcraft.COM (Michael Tague) Newsgroups: gnu.emacs.bug Subject: find-file-other-window bug Keywords: find-file-other-window Message-ID: <1135@witch.witchcraft.com> Date: 24 Jul 91 07:03:12 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Computer Witchcraft, Inc. Lines: 24 Approved: bug-gnu-emacs@prep.ai.mit.edu