From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9006: 24.0.50; Abort in unshow_buffer/kill-buffer Date: Sun, 10 Jul 2011 10:59:26 +0200 Message-ID: <4E1969EE.7040201@gmx.at> References: <877h7wxqjv.fsf@escher.fritz.box> <4E1429F3.1010305@gmx.at> <87oc17xlmu.fsf@escher.fritz.box> <4E156D17.8020804@gmx.at> <871uy2qvv6.fsf@escher.fritz.box> <4E15D520.4030809@gmx.at> <87mxgobcj6.fsf@escher.fritz.box> <4E1814F7.4060002@gmx.at> <87r55zekei.fsf@escher.fritz.box> <4E18510F.7070506@gmx.at> <87wrfrmnbv.fsf@escher.fritz.box> <87sjqfmm2n.fsf@escher.fritz.box> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310288598 21687 80.91.229.12 (10 Jul 2011 09:03:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 09:03:18 +0000 (UTC) Cc: 9006@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 11:03:14 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfpuz-0003BT-CE for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 11:03:13 +0200 Original-Received: from localhost ([::1]:37517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfpuy-0002sh-GN for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 05:03:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfps1-0002N8-Bm for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 05:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfprz-00015G-D5 for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 05:00:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfprz-00014D-1B for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 05:00:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qfprx-0003rc-Em; Sun, 10 Jul 2011 05:00:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2011 09:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9006 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9006-submit@debbugs.gnu.org id=B9006.131028837914778 (code B ref 9006); Sun, 10 Jul 2011 09:00:05 +0000 Original-Received: (at 9006) by debbugs.gnu.org; 10 Jul 2011 08:59:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfprX-0003qI-3f for submit@debbugs.gnu.org; Sun, 10 Jul 2011 04:59:39 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QfprV-0003q4-4w for 9006@debbugs.gnu.org; Sun, 10 Jul 2011 04:59:37 -0400 Original-Received: (qmail invoked by alias); 10 Jul 2011 08:59:30 -0000 Original-Received: from 62-47-38-163.adsl.highway.telekom.at (EHLO [62.47.38.163]) [62.47.38.163] by mail.gmx.net (mp056) with SMTP; 10 Jul 2011 10:59:30 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/zo2Qk+cfzQ7CikO4BA5HL7XCRzkV8P383iS8drS kSmhZYCX0E91pB User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87sjqfmm2n.fsf@escher.fritz.box> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 10 Jul 2011 05:00:05 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48451 Archived-At: > I just encountered a bad effect that I assume is caused by this change, > since it didn't happen before: Before means before the change that sets w->pointm? Are you sure it's not related to upgrading to the new window code? > when I type `h' > (gnus-summary-select-article-buffer) in the Gnus Summary buffer, this > splits the window and selects the Article buffer as it's supposed to, > but in the Summary buffer point simultaneously moves to point-min; it's > supposed to stay put. The same thing happens when I have split windows > with the Summary and Article buffer and in the former type C-x o > (other-window). I haven't been able to reproduce this with other > buffers, but only with Gnus Summary. Still no abort, but this effect > means the fix -- if it is one -- at least needs further tuning. Just to make sure: This does not happen with the w->pointm hack? If so, that is if it does not happen with the w->pointm hack, then it's obviously what I mentioned in the last post: We set window-point to 1 for the temporary buffer but we don't reset it back to the old buffer's position upon exiting `vertical-motion'. Rather _you_ did set the old buffer's window point to 1 and it stays put there when you set w->buffer to old_buffer upon exiting `vertical-motion'. (Note that `vertical-motion' gets called by `split-window-above-each-other'.) martin