🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87760

exit-calendar leaves me with point in an odd place.

#87760
From: Edward Welbourne, Genetics
Date: Tue, 30 Aug 1994 16:03
19 lines
1778 bytes
When I'm in my Calendar and type q (exit-calendar), the window which
ends up current gets its point zapped to start-of-buffer, regardless of
where it was before.  I imagine this arises in some way from the
window-configuration commands, which I don't claim to follow; as far as
I can make out, calendar-window-configuration gets set to the
configuration of my windows (in my principal frame) at the point where I
first invoke the calendar -- which is at startup, when the other window
(which takes up the portion of the frame that's not taken up by
calendar) is positioned at its top (because it's just been created).

Is there any way to get current-window-configuration to return an answer
which, when passed to set-window-configuration, will only affect the
positions of point and mark in the calendar/diary/holiday windows ?
Alternatively, is it really necessary to reset the window configuration
when exiting the calendar ?  Wouldn't it suffice to perform the given
actions on the calendar/diary/holiday windows and leave everything else
alone ?

	Eddy.
Technical Details
Message-ID: <9408301526.AA24425@hmg1.gen.cam.ac.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!gen.CAm.ac.UK!eddy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7b12aeb3eb2b8c64,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-30 09:19:41 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!gen.CAm.ac.UK!eddy
From: eddy@gen.CAm.ac.UK (Edward Welbourne, Genetics)
Newsgroups: gnu.emacs.bug
Subject: exit-calendar leaves me with point in an odd place.
Date: 30 Aug 1994 12:03:16 -0400
Organization: GNUs Not Usenet
Lines: 19
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408301526.AA24425@hmg1.gen.cam.ac.uk>