From: Rahul Martim Juliato <rahuljuliato@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 73545@debbugs.gnu.org
Subject: bug#73545: 30.0.91; Strange behaviour on switch-to-next-buffer
Date: Sun, 29 Sep 2024 09:29:56 -0300 [thread overview]
Message-ID: <20240929122956.y5hptf3yolu4jmpy@debian> (raw)
In-Reply-To: <86y13b3too.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
On Sun, Sep 29, 2024 at 08:39:03AM +0300, Eli Zaretskii wrote:
> > From: Rahul Martim Juliato <rahuljuliato@gmail.com>
> > Date: Sun, 29 Sep 2024 01:25:21 -0300
> >
> > 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.
>
> Did you forget to double the backslashes?
Yep, I forgot it. Strange thing is, it worked without it :/
Let me correct it, what I now have is:
(setq switch-to-prev-buffer-skip-regexp "\\*[^*]+\\*")
And I wrongly added a switch-to-next-buffer-skip-regexp, which does not
exist, the switch-to-prev-buffer-skip-regexp variable does it for both
prev/next functions.
That said, the behaviour is the same as I first described.
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-09-29 12:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-29 4:25 bug#73545: 30.0.91; Strange behaviour on switch-to-next-buffer Rahul Martim Juliato
2024-09-29 5:39 ` Eli Zaretskii
2024-09-29 12:29 ` Rahul Martim Juliato [this message]
2024-09-29 12:51 ` Eli Zaretskii
2024-09-29 14:17 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <d5a2e607-d1c7-4f8d-b7e0-cde2c3d5009b@gmx.at>
2024-10-03 21:19 ` Rahul Martim Juliato
2024-10-04 8:07 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-05 10:31 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240929122956.y5hptf3yolu4jmpy@debian \
--to=rahuljuliato@gmail.com \
--cc=73545@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.