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#14829: (no subject) Date: Thu, 25 Jul 2013 12:05:09 +0200 Message-ID: <51F0F855.30305@gmx.at> References: <20130708170808.555814cb@limelight.wooz.org> <20130711153743.1858db0d@anarchist> <51ED6DC3.6040501@gmx.at> <51EE2C61.8080900@gmx.at> <20130723093825.19f4a2ee@anarchist> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374746776 31523 80.91.229.3 (25 Jul 2013 10:06:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2013 10:06:16 +0000 (UTC) Cc: 14829@debbugs.gnu.org To: Barry Warsaw Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 12:06:15 2013 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 1V2IR4-0006JA-4T for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 12:06:14 +0200 Original-Received: from localhost ([::1]:40168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2IR3-0000Sa-CF for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 06:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2IQy-0000LG-Tp for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 06:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2IQt-0007y4-Is for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 06:06:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2IQt-0007y0-GG for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 06:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2IQt-0007jA-80 for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 06:06:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2013 10:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14829-submit@debbugs.gnu.org id=B14829.137474672129400 (code B ref 14829); Thu, 25 Jul 2013 10:06:03 +0000 Original-Received: (at 14829) by debbugs.gnu.org; 25 Jul 2013 10:05:21 +0000 Original-Received: from localhost ([127.0.0.1]:48656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2IQB-0007e1-U9 for submit@debbugs.gnu.org; Thu, 25 Jul 2013 06:05:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:49163) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2IQ9-0007dD-6w for 14829@debbugs.gnu.org; Thu, 25 Jul 2013 06:05:17 -0400 Original-Received: from [62.47.40.73] ([62.47.40.73]) by mail.gmx.com (mrgmx001) with ESMTPA (Nemesis) id 0MTSKd-1Udj841UKV-00SLbt for <14829@debbugs.gnu.org>; Thu, 25 Jul 2013 12:05:11 +0200 In-Reply-To: <20130723093825.19f4a2ee@anarchist> X-Provags-ID: V03:K0:W3FUJCDhRXVU1rUZXeQt4tUH54ye23IBNJa3QMwNo7Kywc23s+r 4Dl8wjtaBoqsXODqECpRWgEHXtZLXFP7t4/N3MGRCAyQX4/eRbFhxYDGZ+W7khWzarAcPZ3 0JOtUjFnP5xVr5j5K+AXxd0iLLdREfkvinsY0vDvRT4RnlLCUSc2jVeHMizqdUnNgIvezfn kYzH+QNG/bVm3UKf4VdHg== 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:76644 Archived-At: > I'm happy to test out a patch if it can be applied to 24.3. It's trivial, try the one below. Thanks, martin --- lisp/window.el 2013-07-06 14:24:54 +0000 +++ lisp/window.el 2013-07-25 09:32:11 +0000 @@ -5470,6 +5470,9 @@ (let ((buffer (if (bufferp buffer-or-name) buffer-or-name (get-buffer buffer-or-name))) + ;; Make sure that when we split windows the old window keeps + ;; point, bug#14829. + (split-window-keep-point t) ;; Handle the old form of the first argument. (inhibit-same-window (and action (not (listp action))))) (unless (listp action) (setq action nil))