From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rahul Martim Juliato Newsgroups: gmane.emacs.bugs Subject: bug#73545: 30.0.91; Strange behaviour on switch-to-next-buffer Date: Sun, 29 Sep 2024 01:25:21 -0300 Message-ID: <20240929042521.cgiwkts2ot6ms2tx@debian> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mxslp2qb2piylxop" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22156"; mail-complaints-to="usenet@ciao.gmane.io" To: 73545@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 29 06:26:58 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 1sulWL-0005bK-JP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Sep 2024 06:26:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sulVz-0002Zi-1F; Sun, 29 Sep 2024 00:26:35 -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 1sulVx-0002ZT-Lc for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 00:26:33 -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 1sulVx-0002qs-C4 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 00:26:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=itNe5g4vX7BHBlP6ihQIZ42NzZNpfHeRmZpNOutX0MY=; b=lMDN2Dh+C8ijeKOM2ucJfyvPwf3BENCrsi6GdHnI75qaM4L7YA+bmVRjmr4Ib3FmykIZWcnvQFmPtPccP9EOoqVieerOPzOvQF7I3/h2AOL+J3LDusjfoyYC+gm24rw5ZcwKCDiLYjaur8/YWIPoS5YmPSe0GufIPpgVblwQtgMIC4TJ+UD0CUGr2RkCg5fOhQ7wbBIqJuIgBtBwgT16cwOK2SZC+DtwAr4tPru62MoRz10thPf0l489DAncDt37vz03hQ9ryaGKVmCTbSSVeGCCkR6aBjT+3OgH0Ot5qeuXDwZGAIzMKh9bTHtXfnmUmsTsUGUsw3NXT/aF8rDPlA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sulWQ-0001xG-Jy for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 00:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rahul Martim Juliato Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2024 04:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73545 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17275839657224 (code B ref -1); Sun, 29 Sep 2024 04:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2024 04:26:05 +0000 Original-Received: from localhost ([127.0.0.1]:58921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sulVV-0001sR-6q for submit@debbugs.gnu.org; Sun, 29 Sep 2024 00:26:05 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sulVS-0001sJ-RI for submit@debbugs.gnu.org; Sun, 29 Sep 2024 00:26:03 -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 1sulUx-0002Ur-AW for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 00:25:31 -0400 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sulUv-0002n8-LR for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 00:25:31 -0400 Original-Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-20b7463dd89so2234735ad.2 for ; Sat, 28 Sep 2024 21:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727583927; x=1728188727; darn=gnu.org; h=content-disposition:mime-version:message-id:subject:to:date:from :from:to:cc:subject:date:message-id:reply-to; bh=itNe5g4vX7BHBlP6ihQIZ42NzZNpfHeRmZpNOutX0MY=; b=l1BboYtcNmtcIKR6GYqBHe3yYhfYeOj2B2JzNcKvYs3Q8mvEcyzscxZEtpULIyy47l MlaRMC1uQmIoVBEiKxfb73Itrsvs44rO7q1kN4Jch0ueDLPbHF7jFx2uvpK7COJjCYvx iHLD1doITkIfYQSPWdKjBeZ1gqVK4DsTifruJj/8Ty8ERYl/jLYjsX+uIyg+ZpBRAUZ1 KJTcTlTejEvuoqTFoMIviwRXktNYjCNAwYZndj/q0csz6sSOWrDxZafzA1YM+MpvvRFk 2p4tWh73qmVUmUamm3vQc/CsCw/rPV143c1G3proRLdqfvjbhXUWruYOKD9jxFF3nubD voAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727583927; x=1728188727; h=content-disposition:mime-version:message-id:subject:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=itNe5g4vX7BHBlP6ihQIZ42NzZNpfHeRmZpNOutX0MY=; b=uXAqAaiiFPR+QEFQ+gcclmeDVoDwWdB2h75g9PntcXnwKnMrh/X8YE6JdV/W+p2gGW 9YZQqVP8rngQCRGAp90t6KgzruwX6xmeFq9HGkXZchk8+/9BiTaymxTrvnQk0nKipiYz nav7n/o99WSY+JJiqYjDLBVyW3pnx7S8BJQn0ryI/vO3VQUAtvgxvsHfUIa2/Tl7C3UC SQgye8lANSP8/Q+zgUk/RifLdtvYCXo/PoWMEdPYtEX9yrEs3z41OgVNUg+XSlUP+7V2 98b7Onk/aV/v3MbtTijyOnp8C8stCvxKHbT+2zec0PMUwoSlspwooFqrvgG1tGFoxQxe vA2w== X-Gm-Message-State: AOJu0Yyog4hslIhd423J1hDRvWaO6ay4j4sbnJNqkg9wG1Sk6WAhfs1t ZdQW0Ki+oMp5MvpVn04luUv1Gdu2zwcnwpxM+owdR5FrTjqqB5Osi2EpiXS7 X-Google-Smtp-Source: AGHT+IGljcCcujYXx+OBESU3ltwcVgMQ+e6Jffx/f9mWYvHDrX0PVNImWCnrPWy726VjK7aJM7aWUg== X-Received: by 2002:a17:902:d2cf:b0:205:73e5:4d7a with SMTP id d9443c01a7336-20b36cdccd9mr125589045ad.10.1727583927251; Sat, 28 Sep 2024 21:25:27 -0700 (PDT) Original-Received: from debian ([2804:7f0:9182:7899:e9d0:4d27:b321:e053]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b264b7de1sm3928063b3a.54.2024.09.28.21.25.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Sep 2024 21:25:25 -0700 (PDT) X-Google-Original-From: Rahul Martim Juliato X-PGP-Key: https://www.rahuljuliato.com/rahul_pub_key.asc Content-Disposition: inline Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=rahuljuliato@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:292612 Archived-At: --mxslp2qb2piylxop Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello there! I just wanted to report something I found a bit strange. I would like some keybindings to jump to the next/previous *non-special* buffer. With these settings: (setq switch-to-prev-buffer-skip-regexp "\*[^*]+\*") (setq switch-to-next-buffer-skip-regexp "\*[^*]+\*") I have the init.el file open, along with the Messages and scratch buffers. When I run (switch-to-next-buffer) or (switch-to-previous-buffer), I get a special buffer. If I run it again, I return to the file, and running it once more takes me to another special buffer. If I open another file, like .bashrc, it works as I initially expected. Now, (switch-to-next-buffer) switches to init.el, and running it again returns me to init.el back and forth, without switching to any more special buffers. It seems that I need to have at least two non-special buffers open. With only one, the switch function probably (I haven't checked) reaches the end of the buffer list without finding a match and returns the last buffer. Should it work this way? If there are no matches, shouldn't it stay on the current buffer and/or display a message like "no next/prev buffer" in the echo area? Thanks! --=20 Rahul Martim Juliato https://www.rahuljuliato.com PGP Fingerprint: 6B68 4353 84E2 2C7E 5A26 B79A C666 FC94 BD7E A483 PGP Public Key : https://www.rahuljuliato.com/rahul_pub_key.asc --mxslp2qb2piylxop Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEa2hDU4TiLH5aJreaxmb8lL1+pIMFAmb41rEACgkQxmb8lL1+ pIPmqQ//YY/vAa/hKZaxMl9n8R2Yd6wg/PMAz5EUvXCoNafheVDxd4d+9xIfQMt3 AcF9oSd9fECmBoqaqwNMDedr5YO6RMo91733V96gfJbB5SJYzyYhRiQaBPgKlkK+ KJbmtJsC7t9WkDvggupPorZCHmiRzbKILmUS7E/T5eBsdZpR+avH/7nM5iXFLyiS OynMd0DuD5zXNWPt++ZaVppkalJ5Y4YRBEUJKXwQM3dxq5y3pRKD9NvqpqvZKyXp rX/3tLUC5CSu7SBglzkTgcfIWX0lmSz8XmIME10OTZQzr2YHydw3eh/apiEyEzWh GLi5s4ie81akXFfgcNMfRxd6WIvFRgiD2sFskNSEEwrXCZLwwp3amnoiAWD8WCEC ikEuh1glmMgXQoilEgMo22iykPYj1Dd6UwcPjm70Rvwq8+4KQvx1m2fTOhnFSDpT MbMUK7TC8J5BXJK0CLvsMwK6iFlBax/WLJHOiYOO2kzgUN5NlTF5UBA0MnPGzP/d ajzigWbDCtgqoKQ0xsTuX2/YYZjE2ADy/pU4n3Ln44Pov2V2f1vBVSwT+ry+muNI ekXXJT/3U7qh0Fy2nBoNpeaaJ7bVeHJhFYfvTH5xsCJcAHZLgETaS+jvcoJBH/A9 5AAdtb5TQ8waPwpfuVPwy+NyueZg1t5zTyBpxyRiRyg/ljZhnAc= =EBCZ -----END PGP SIGNATURE----- --mxslp2qb2piylxop--