From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#27243: closed (Re: bug#27243: dired-auto-revert-buffer jumps point to beginning of buffer) Date: Mon, 17 Jul 2017 11:28:59 +0200 Message-ID: <87y3rnv2ck.fsf@rosalinde> References: <83d1ac6yih.fsf@gnu.org> <87shjf48se.fsf@epsilon> <87r2yizu66.fsf@beta> <87bmpm20zt.fsf@rosalinde> <5969C609.4040803@gmx.at> <87wp7arlz5.fsf@rosalinde> <596A1FAB.8060808@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500283820 31120 195.159.176.226 (17 Jul 2017 09:30:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 09:30:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27243@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 17 11:30:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2M4-0007pu-CI for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jul 2017 11:30:16 +0200 Original-Received: from localhost ([::1]:48986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX2MA-0001ve-0t for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jul 2017 05:30:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX2Lv-0001n5-Qj for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 05:30:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX2Lq-00043x-V7 for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 05:30:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX2Lq-00043q-RQ for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 05:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dX2Lq-0005Fh-Ko for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2017 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27243 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27243-submit@debbugs.gnu.org id=B27243.150028374820101 (code B ref 27243); Mon, 17 Jul 2017 09:30:02 +0000 Original-Received: (at 27243) by debbugs.gnu.org; 17 Jul 2017 09:29:08 +0000 Original-Received: from localhost ([127.0.0.1]:43223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2Kx-0005E9-MI for submit@debbugs.gnu.org; Mon, 17 Jul 2017 05:29:07 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2Kw-0005DZ-Rs for 27243@debbugs.gnu.org; Mon, 17 Jul 2017 05:29:07 -0400 Original-Received: from rosalinde ([83.135.12.56]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MUoma-1d7s4u2bCG-00YChN; Mon, 17 Jul 2017 11:29:00 +0200 In-Reply-To: <596A1FAB.8060808@gmx.at> (martin rudalics's message of "Sat, 15 Jul 2017 15:59:07 +0200") X-Provags-ID: V03:K0:eu+FLa9j8tVpKMcuSP308hvaIIetDnVNbuwC7q9ZcimmY7iJnTi Kl2rC6NAYVX1w80Aclcn9JIlSft4fmCiNrC4dnlwl4zNydSnGvEZUUnxUHKk+sPZRxmSm+/ 273OOmpFgFwg+pW9kZ2gOYiboXIhWu02ZlB21KLrDnh9J9BFrdXrexLYiLWpixgBrP6piGs 6nGw1LXN6qq+9y2lTRBzw== X-UI-Out-Filterresults: notjunk:1;V01:K0:O8RUZtRqfaY=:H9uS5J7HUwBmzFcqgIZt+p xJQfGLi8H3gKh+cq2cDC043SjaHnKTW9xNGEbMPi7H7OAOQn9teGiaKD4lgAgtD+o5CVaFCw+ 22Imdd66HL/iOWG2x/hSqtZEKBgEJ/rUivzjKswuFMz8IiZqDEWVfkjHGL3+VS3elz791BbXW J8VTQbELKGifKYy6eOeInhpabADfNA7XhR4KA4vuYrmhIxfCe33okJpPlGSbxSb8GWUU5/mgl fAuF7aKCQ9opjvKRakPxbACGqe8dyih7vVi50FdLA7V8QzoLy/o9dD8LTKRunrcBiHVru9MK7 cVD+0M+IDEPqYK6kjGoipKjtzQpGnPm6rRHZnylV6k4yxChNtssn5ZKlv8q/TiY6tUfg3mbki MgDTLlbvQS+/V8u/OghkZJPr2DnS7dkP/eGmyMwfZUCg/EEeY2wub5Fxndzm+YH/d/n/j1WFo x1HfuREOnN1iBoLpmI5J9OHn/UoZy5qlE90i5MOuYkS/fkaMT9tTROpBpXehKH/id3ukUAp46 8wYc8r81qckCoK3CZl/rdVGiq7OdE5SMOMHgGIEo49+/9ZB9D+sudqj1Y4fvzYlVPUrH4XVCL 3GKks/yltg+EORPVCbcyf89lzasnLiCGJ4QCSgUNN24mbfGcyrpGqWDPmsD/P66WLtARa975Q YKoqZv0MKkkrD7JZHoTtagvplW+Lg+aSU8jyyQC9b0VLvedU4BmvRXAaIhBB699wh06WVu6tb kKu7WdxBcmYi6xO+dbdy8H22vtVVNT0Pqz3EQRXC+8R54zdEGhWtp17wm7vHU+lu1Q2618kW X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134656 Archived-At: On Sat, 15 Jul 2017 15:59:07 +0200 martin rudalics wrote: >> Wow, that's disastrous! And frightening: I use the "(set-window-buffer >> (selected-window) (set-buffer ...))" idiom a lot in todo-mode.el; I just >> checked two commands using `C-h f' followed by the command invocation: >> one worked fine but the other caused the same disaster. So now I have >> to check all uses :(. Is there a general guideline for when to use >> set-window-buffer and when to use pop-to-buffer-same-window? > > Always try =E2=80=98pop-to-buffer-same-window=E2=80=99 or =E2=80=98displa= y-buffer-same-window=E2=80=99 > first. If they fail, try to find out why. Maybe that can be fixed. Thanks for the advice. Steve Berman