From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69993: Wrap window buffers while cycling Date: Wed, 3 Apr 2024 10:24:18 +0200 Message-ID: <8a131d8b-1330-4d82-92f6-309f499e9c15@gmx.at> References: <86h6gug41x.fsf@mail.linkov.net> <3419df35-1b96-4a64-8ed7-722a05c58742@gmx.at> <86le66ckhj.fsf@mail.linkov.net> <86h6gs2lk7.fsf@mail.linkov.net> <5c71ea64-0f97-4b90-af61-1156fe33f1ea@gmx.at> <86cyreu78w.fsf@mail.linkov.net> <463c9242-56ef-4c99-9fe6-4b70be2071b2@gmx.at> <86sf0abeg3.fsf@mail.linkov.net> <86v855ggkv.fsf@mail.linkov.net> <91327e7b-d0a5-4f3a-a1f8-218d118608d6@gmx.at> <86sf07bnl4.fsf@mail.linkov.net> <86v850jmmo.fsf@mail.linkov.net> <0d2fdebf-2149-4f92-89b8-45a8b6a7d272@gmx.at> <86plv8hz2v.fsf@mail.linkov.net> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11261"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69993@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 03 10:25:21 2024 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 1rrvvt-0002eF-5Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Apr 2024 10:25:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrvvX-00034B-Sx; Wed, 03 Apr 2024 04:24:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrvvW-00033n-4F for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:24:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrvvV-0007ye-Sg for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:24:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrvvZ-0006Hc-Rx for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2024 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69993 X-GNU-PR-Package: emacs Original-Received: via spool by 69993-submit@debbugs.gnu.org id=B69993.171213267523954 (code B ref 69993); Wed, 03 Apr 2024 08:25:01 +0000 Original-Received: (at 69993) by debbugs.gnu.org; 3 Apr 2024 08:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:56983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrvv7-0006E8-Qp for submit@debbugs.gnu.org; Wed, 03 Apr 2024 04:24:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrvv4-0006DB-HV for 69993@debbugs.gnu.org; Wed, 03 Apr 2024 04:24:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1712132659; x=1712737459; i=rudalics@gmx.at; bh=fp6C3aZd4Bgo8BirBhXVDPpHHJa4w52mrQSdlshe8B0=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=dxvbd3ZRT4KY5R8q/EhEBfYfErKAUJaErYdjSY1SiCyiDtDmZl1AkWiDh1VA0Cyc 5l8M9fchLGDiJyA+XglRQcqvh4ceIf6z8brsQG7qUsgseO7XNY47jmb04fJ5h4EeI smvV4MPIEtObEQPK3CMJf8lNM0qLpwGsjanpg/POyLi3pCwYQtYo7ZMfjaHCuCp0j zRpziKOnRTUMgBFBiBG4ZbSHkOri+L1XcH/43cAFDhL/p57D2hgYsQZz7nQMM7Mq4 5IdPqthqD7mZr91T14K/wvKQTXcCB3Fyt5fIQj5Yed2+kNWJcurAgoOLKtbHxeIz1 Gk8qPgIB4NYqwhnnug== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.97]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MCKFu-1s1JZJ1s5S-009NTH; Wed, 03 Apr 2024 10:24:19 +0200 Content-Language: en-US In-Reply-To: <86plv8hz2v.fsf@mail.linkov.net> X-Provags-ID: V03:K1:PQYPsxCsT20oBenC1P/4J5gRSHid31mEkzFOEOLr80bWEUMhsKj JkRStk5c8EDHngy02qpHeg1DgJydQ7gLjt32jFu+8MsxrWSEH0zGsd/sO5sNkRKPltXe4ZY pP2PGqX133vM5F0ddYFt3F9jZxt/TXq2VzkFgonf6tasxjWHX4ewBkajI2eeV2M/0rcq9At BCle1hn4mI85GcKuz9RCA== UI-OutboundReport: notjunk:1;M01:P0:V5sY5FCzews=;5nRMBNUI6qJHH4HJm1l1StD43dv fSBhcTBnHHalJrPJG4OhQLaIqCsAb1BsaunxYdnijO/akNhE7NDTTeovoJ1TGJ0dLgtppw4jt ajFu3MZCTxwNzr+0EruOYJRWbNnSCY6ivZMypqHyNgxIDqZ2yeAp7awGHFrPX8cNQSl6+ArBk ElwchJ3Z84aICT3fGtrAUyUOFspz1e3TG4iesflHcCyPJbbq5qvIL1DfcjNvlhXFh0OrY9u5m 9ZszwCmVDj97F12/oojccBOhgk5zzCBKdWsuqcKzArMjA4vkX19R8663/hEyP1DzHGcSsnA+T 7vNkGHkxKARtUqwYk5dYTJBVwSSlmRwNZOTdLMlvrQ/rJ1QiKh47dJb2dhrBmh+dFOy7MkU4x /VFqyk3Yj3M+SMvdieqijeODCQqwgDu/Yb76aGuEeqbSP2bQZ6x/gJU2+V81L7IXQJKyjq6um oyjNoHRQZv5SWD91iujMCFIMU/Qujw0dzIMALEA87N6Iw+rHyjL/R6XiIeusTdR4ON/XL+0oh f/S8HIV1xL/9RMJuk7w5OEU06qD96sjyvz5Uq7oi3HS3JuNn4wQHcBBN4Dfdaif5PsFqEdy+N vEJ1MzSsvhbr0a2v+CVMVfhxpOshSpGsLlQH9HypzpAHf3oQsrERm5MOoGWaa+PRu1Is4MDAg CwoIjVLcaq6urYNqJzfztdibD6FwDsFOZcPdqaGFOOuNe+c2zcrXAyEcTcdK/VVDI39VBKsvF mQP62oVq66G3krxTXGDACRxkvugc9lzyH+I0VzGLl4NkwZhQ6M+qjrbqzZke8IcyVpncRn8w 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282562 Archived-At: > Thanks, so the patch below ignores 'switch-to-prev-buffer-wrap' in > 'switch-to-prev-buffer' when its argument BURY-OR-KILL is non-nil. If I correctly caught your intentions, I'd rather write (defcustom switch-to-prev-buffer-wrap nil "Non-nil means switching to previous or next buffers behaves specially. If this is non-nil, the commands `switch-to-prev-buffer' and `switch-to-next-buffer' restrict their lists of candidate buffers to those that were previously visible in the window specified by their WINDOW argument. Buffers never shown in that window are ignored. If this is t, candidate buffers form a ring and these commands will always show another buffer, provided there are at least two candidates. If this is the symbol 'stop', these commands will stop to show another buffer when reaching the first or last candidate buffer. If this option is nil or the argument BURY-OR-KILL of `switch-to-prev-buffer' or `switch-to-next-buffer' is non-nil, these commands may choose a buffer never shown in that window before." But I still think that the '-wrap' postfix creates a misnomer. The primary intention of this option is to restrict the set of candidate buffers ... martin