GNU bug report logs - #14829
24.3; split-window-keep-point breaks shell tab completion

Previous Next

Package: emacs;

Reported by: Barry Warsaw <barry <at> python.org>

Date: Mon, 8 Jul 2013 21:19:02 UTC

Severity: normal

Found in version 24.3

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Barry Warsaw <barry <at> python.org>
Cc: 14829 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#14829: (no subject)
Date: Thu, 25 Jul 2013 12:05:09 +0200
> 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))







This bug report was last modified 11 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.