From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83a6o0fue0.fsf@gnu.org> References: <875yyozkpj.fsf@riseup.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1064"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48917@debbugs.gnu.org To: pillule Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 13:51:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqaGW-000AbO-Gw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 13:51:28 +0200 Original-Received: from localhost ([::1]:55544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqaGV-00026j-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 07:51:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqaG6-0001MH-Ph for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 07:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqaG6-0007j4-Hr for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 07:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqaG6-0004Xu-G7 for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jun 2021 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48917 X-GNU-PR-Package: emacs Original-Received: via spool by 48917-submit@debbugs.gnu.org id=B48917.162315302317423 (code B ref 48917); Tue, 08 Jun 2021 11:51:02 +0000 Original-Received: (at 48917) by debbugs.gnu.org; 8 Jun 2021 11:50:23 +0000 Original-Received: from localhost ([127.0.0.1]:57580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqaFT-0004Ww-3i for submit@debbugs.gnu.org; Tue, 08 Jun 2021 07:50:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqaFR-0004Wk-9X for 48917@debbugs.gnu.org; Tue, 08 Jun 2021 07:50:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59018) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqaFM-00077X-17; Tue, 08 Jun 2021 07:50:16 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4452 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqaFL-00057W-Kd; Tue, 08 Jun 2021 07:50:15 -0400 In-Reply-To: <875yyozkpj.fsf@riseup.net> (message from pillule on Tue, 08 Jun 2021 12:31:58 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208225 Archived-At: > From: pillule > 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.