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: Thu, 4 Apr 2024 10:03:28 +0200 Message-ID: <1e50bd70-8cbb-46f9-9078-dd0e6226da63@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> <8a131d8b-1330-4d82-92f6-309f499e9c15@gmx.at> <86h6gi49zw.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="24751"; 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 Thu Apr 04 10:04:17 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 1rsI52-0006Ca-Cl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Apr 2024 10:04:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsI4k-0005zB-ME; Thu, 04 Apr 2024 04:03:58 -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 1rsI4j-0005yZ-Gt for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 04:03:57 -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 1rsI4j-00068D-6S for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 04:03:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rsI4n-0006Ur-N6 for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 04:04: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: Thu, 04 Apr 2024 08:04: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.171221782524931 (code B ref 69993); Thu, 04 Apr 2024 08:04:01 +0000 Original-Received: (at 69993) by debbugs.gnu.org; 4 Apr 2024 08:03:45 +0000 Original-Received: from localhost ([127.0.0.1]:60446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsI4V-0006Tv-SY for submit@debbugs.gnu.org; Thu, 04 Apr 2024 04:03:44 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:52843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsI4S-0006T5-Oe for 69993@debbugs.gnu.org; Thu, 04 Apr 2024 04:03:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1712217809; x=1712822609; i=rudalics@gmx.at; bh=Zk0fUsFLWzHndrK1TZPCiDiAznCyv2gLDL5tOygfrVE=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=kXQWQe+iyEkRG8oGmGpSvBevMbCv6ewXTo8TePXllzPzm6ofSLeqFzOGHcrQ6MVf qKam6NgFdnXkL5ZieFeGbHTF3EatKvMcCmmArghnvplT2wIudvgsiW+KVnpXjVOQV P74guajBaeaziBedY2piVDJfe4ZmBVRGOhq5IUiEct9l6CMgWOhW0/MJdhhZNyluy 6U5u6VMGxnIwfGrmqRSsggU1gmI5oLVmkRhi0O28XG35PjumiHrlWHYt3glbku1tA iT+GGwSAulFIJGCUk0qaBbC4RfiGWyuMXea0ZNfgBedVVzliqtI+GeeGPw+cnlAjN vbVEQVog94KSYIr+Iw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.97]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7R1T-1stKov3r5B-017mDo; Thu, 04 Apr 2024 10:03:29 +0200 Content-Language: en-US In-Reply-To: <86h6gi49zw.fsf@mail.linkov.net> X-Provags-ID: V03:K1:mjIBH7mtl1+VcJrdFKf713ATeTu5TgCng6lLA38VVOQCiJD2qLB U6eKmuiJKBvxWMi+LWvdL8R463pi3vRRK4RQXiz6tW5jMYB8xL3awPC8YD/lNajRQkza0W+ rFvxcR2cp9UR1UWJ/yRJNJ176MkLpxAx2mlNmeEoE9e99Hf2PX5zMW8BWrlOSuxLG8IcCSG iV1by8xdsNQzGDTAr+hMg== UI-OutboundReport: notjunk:1;M01:P0:hI03BgbqqV4=;jSECduhzxqyFh6dlBR0iJHf7z/Z 0xxN2LjL8mdG2jfjPXscPm8pFyYcyylnEAp5sH75KWMeo3u9CoRbPf9NosHDs78PKeWWupHBQ 4rGlgMD/bUR3axZYuqPQjykKfaPN9XrjKrWsN2CcAISVVmirG86tCqehTvLNvIlO+5/LP4zzf xmt8Gmkxeg9OAVyfTYKrSPoc6ThR07iZRi3KaaFxp0QYWP9IyEc63BVLpsnC7PuSxCJp+zd+n JQev3hGy0iFTeeoW/KNWPMn+xzfU34ajkaenxe27Z85vbAGPjrgfm5tW7aKCY4fs6YmVhjt/P bHvaeZDAiOkipFU/ZrSZWo+9/IqxgxNfHy7HjZfz4Eh7f/vrA7V0SO7f4Eqp9ojX2zZ0W6zLp 3J9AKROkF31dQpQJHQvuL5Jz9qG7b8mlOz44uwkl43GYED6u6nKsg6gNT12ET0lbEfTGuNuiR FvzU5wFbJ3B4J9Qk3N0+qURb5E0ao59LYH1r83CbwcteYwUhYt5x6iYfdV8W9NXNWOB3di67I cV4M+1mdp8Yhmw6wkCIBgm7MFM4blUFU9wk5JKoojVCTx0DhvGKnvEib6JMT6zOHZvyJSQ8dd Sx9Tl2lKoGoHeNWv6MqeW5ATOf3CnkosYFqve4+g6uH2dsyhpk5IUO/GOV3TOWO3fRuaamVLF 5r0ogQx5yZVjxw48pXq35dMcCH0eNq4ZgrWTmIY212To/bKxWCJGkze7YW4w+x7z7x3sO4TXr GSECIv+IyH8ItGIwKWSGFl+oeK1NZwgg4nxJOTJo0xrG3w46cUdJg+kko+jzuBVQ7fbhsGmj 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:282624 Archived-At: >> (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." > > The only problem is that this doesn't mention wrapping. Isn't the paragraph starting with "If this is t, ..." enough? >> 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 ... > > The real misnomer is 'tab-line-switch-cycling'. > It should be renamed 'tab-line-switch-wrap'. For me "cycling" and "wrapping" stand for the same effect. The major difference is that when the above option is made non-nil, the set of candidate buffers changes. OTOH, when it's nil, Emacs wraps/cycles while when it's 'stop' it doesn't. That's confusing. martin