From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display current-buffer. Date: Fri, 13 Jun 2014 12:38:55 +0300 Message-ID: <83zjhhw3m8.fsf@gnu.org> References: <87ioo5cn1m.fsf@tanger.home> <8338f9xldz.fsf@gnu.org> <8738f9cgta.fsf@tanger.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1402652428 13772 80.91.229.3 (13 Jun 2014 09:40:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 09:40:28 +0000 (UTC) Cc: 17769@debbugs.gnu.org To: Daimrod Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 11:40:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvNy6-0001fH-RN for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 11:40:18 +0200 Original-Received: from localhost ([::1]:57746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvNy6-0001fu-1H for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 05:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvNxx-0001dj-BF for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 05:40:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvNxr-0003Io-Eq for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 05:40:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvNxr-0003IB-BX for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 05:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvNxq-00010t-OV for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jun 2014 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17769 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 17769-submit@debbugs.gnu.org id=B17769.14026523563802 (code B ref 17769); Fri, 13 Jun 2014 09:40:02 +0000 Original-Received: (at 17769) by debbugs.gnu.org; 13 Jun 2014 09:39:16 +0000 Original-Received: from localhost ([127.0.0.1]:46200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvNx6-0000zF-0E for submit@debbugs.gnu.org; Fri, 13 Jun 2014 05:39:16 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:63500) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvNx3-0000yz-Ly for 17769@debbugs.gnu.org; Fri, 13 Jun 2014 05:39:15 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N7300700PA1Z700@a-mtaout23.012.net.il> for 17769@debbugs.gnu.org; Fri, 13 Jun 2014 12:39:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N73007S9PH6V780@a-mtaout23.012.net.il>; Fri, 13 Jun 2014 12:39:06 +0300 (IDT) In-reply-to: <8738f9cgta.fsf@tanger.home> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:90315 Archived-At: > From: Daimrod > Cc: 17769@debbugs.gnu.org > Date: Fri, 13 Jun 2014 18:14:09 +0900 > > > This doesn't sound like the right fix to me. Instead, the code should > > momentarily switch to the right window, and call recenter there. > > That's surely what the author of this code intended, AFAIU. > > But the buffer might not be displayed in any window. Then with-current-buffer is your friend, I think.