GNU bug report logs - #48917
28.0.50; allow user to choose what function is used when windmove create a window

Previous Next

Package: emacs;

Reported by: pillule <pillule <at> riseup.net>

Date: Tue, 8 Jun 2021 11:00:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: pillule <pillule <at> riseup.net>
Cc: 48917 <at> debbugs.gnu.org
Subject: bug#48917: 28.0.50; allow user to choose what function is used when windmove create a window
Date: Tue, 08 Jun 2021 14:49:59 +0300
> From: pillule <pillule <at> riseup.net>
> Date: Tue, 08 Jun 2021 12:31:58 +0200
> 
>  (defcustom windmove-create-window nil
> -  "Whether movement off the edge of the frame creates a new window.
> +  "Whether movement off the edge of the frame creates a new window or
> +trigger a custom function.

The first line of a doc string should be a single complete sentence.
(The reason for this is that some Emacs commands, like "M-x apropos",
show only the first line of the doc string.)

>  If this variable is set to t, moving left from the leftmost window in
>  a frame will create a new window on the left, and similarly for the other
>  directions."
> -  :type 'boolean
> +  :type '(choice (const :tag "Don't create new windows" nil)
> +          (const :tag "Create new windows" t)
> +          (function :tag "Provide a function"))
>    :group 'windmove
>    :version "27.1")

The :version tag should be updated, because the defcustom was changed.




This bug report was last modified 4 years and 35 days ago.

Previous Next


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