Article View: gnu.emacs.bug
Article #87213[19.27] cursor position lost in server-window
From: Michael Hohmuth
Date: Tue, 04 Oct 1994 13:18
Date: Tue, 04 Oct 1994 13:18
20 lines
1382 bytes
1382 bytes
In GNU Emacs 19.27.1 (mips-dec-ultrix4, X toolkit) of Mon Sep 19 1994
on ite101.inf.tu-dresden.de:
I am using the following server-visit-hook:
(add-hook 'server-visit-hook
(lambda ()
(setq server-window (new-frame '((minibuffer . t))))))
This assignes a newly created frame to server-window whenever visiting
a file for the emacs server.
The problem is that the cursor position passed to emacsclient with the
+ option (e.g., "emacsclient +20 foo") is lost: The new buffer is put
into the new frame, but the cursor is placed at line 1 in that buffer.
Michael
--
Email: hohmuth@inf.tu-dresden.de
WWW: http://www.inf.tu-dresden.de/~mh1/
Technical Details
Message-ID:
<199410041310.AA06606@irs.inf.tu-dresden.de>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!inf.tu-dresden.DE!hohmuthShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,41825101eefe7d5,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-10-04 06:36:41 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!inf.tu-dresden.DE!hohmuth From: hohmuth@inf.tu-dresden.DE (Michael Hohmuth) Newsgroups: gnu.emacs.bug Subject: [19.27] cursor position lost in server-window Date: 4 Oct 1994 09:18:10 -0400 Organization: GNUs Not Usenet Lines: 20 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <199410041310.AA06606@irs.inf.tu-dresden.de>