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


Message #11 received at 14829 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Barry Warsaw <barry <at> python.org>
Cc: 14829 <at> debbugs.gnu.org
Subject: Re: bug#14829: 24.3;
 split-window-keep-point breaks shell tab completion
Date: Fri, 12 Jul 2013 10:20:22 +0200
> With `(setq split-window-keep-point t)` you will see the window split,
> with the top window scrolled to leave point just after the `a` in the
> middle of the window.  The bottom window will have the completions for
> aa.txt and ab.txt
>
> With `(setq split-window-keep-point nil)` you will not get any window
> split, but point will jump someplace higher up in the window (e.g. for
> me it jumps to just after the gg.txt line).

`split-window-below' here does

    (setq new-window (split-window nil size))
    (unless split-window-keep-point

so I don't understand how setting `split-window-keep-point' can affect
the decisison whether to split the window.

Does anyone know where this behavior comes from?

martin




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.