From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4808: 23.1.50; calc-quit move point to another window Date: Mon, 26 Oct 2009 21:30:57 -0500 Message-ID: <87iqe17ela.fsf@gmail.com> References: Reply-To: jay.p.belanger@gmail.com, 4808@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256611668 5635 80.91.229.12 (27 Oct 2009 02:47:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2009 02:47:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 4808@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 03:47:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N2c5y-0007oV-I9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2009 03:47:38 +0100 Original-Received: from localhost ([127.0.0.1]:59217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2c5y-0004Ww-2V for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Oct 2009 22:47:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2c5k-0004P1-S4 for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2009 22:47:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2c5e-0004Kv-Lu for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2009 22:47:23 -0400 Original-Received: from [199.232.76.173] (port=39676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2c5e-0004Kk-ED for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2009 22:47:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48194) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N2c5d-0004pb-9o for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2009 22:47:18 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9R2lDJr020810; Mon, 26 Oct 2009 19:47:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9R2e67n019253; Mon, 26 Oct 2009 19:40:06 -0700 Resent-Date: Mon, 26 Oct 2009 19:40:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jay Belanger Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 27 Oct 2009 02:40:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4808 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125661067418047 (code B ref -1); Tue, 27 Oct 2009 02:40:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 27 Oct 2009 02:31:14 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9R2VCbn018044 for ; Mon, 26 Oct 2009 19:31:14 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:41834) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N2bq4-0005A5-7K for emacs-pretest-bug@gnu.org; Mon, 26 Oct 2009 22:31:12 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N2bq2-0002KD-E2 for emacs-pretest-bug@gnu.org; Mon, 26 Oct 2009 22:31:12 -0400 Original-Received: from s7.cableone.net ([24.116.0.233]:38817) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2bq1-0002Jv-Vv for emacs-pretest-bug@gnu.org; Mon, 26 Oct 2009 22:31:10 -0400 Original-Received: from belanger (unverified [24.116.73.151]) by s7.cableone.net (CableOne SMTP Service s7) with ESMTP id 25379025-1872270 for multiple; Mon, 26 Oct 2009 19:30:59 -0700 In-Reply-To: (Leo's message of "Mon, 26 Oct 2009 13:56:10 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 1, First 487, in=296, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 26 Oct 2009 22:47:23 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32246 gmane.emacs.pretest.bugs:25143 Archived-At: Leo writes: ... > Lately I have been using a three-window setup for writing in LaTeX and I > have found that calc move point to another window, which I am not sure > is desirable. > > My frame setup is as follows with point in window 1. > > +------------------+----------+ > | | | > | | 2 | > | | | > | | | > | 1 +----------+ > | | | > | | 3 | > | | | > | | | > +------------------+----------+ > > Now `M-x calc' and then quit it with 'q'. You will see point moved to > window 2. This is reproducible with Emacs -q. I'm not sure this is a Calc problem; `calc-quit' will (aside from some bookkeeping) delete the calc window and bury the buffer. If, in the above configuration, you split window 1 +------------------+----------+ | | | | | 2 | | 1 | | | | | |------------------+----------+ | | | | 4 | 3 | | | | | | | +------------------+----------+ (and have 4 a different buffer, of course), move the cursor from window 1 to window 4, then delete window 4, the cursor will end up in window 2. This seems more like a quirk of deleting windows than anything else. Calc could make efforts to avoid this particular situation, but relying on standard Emacs behavior seems like the best choice. Jay