From: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Remove elements from speedbar-supported-extension-expressions
Date: Tue, 03 Dec 2024 16:43:44 +0000 [thread overview]
Message-ID: <xWG67HpdphOX-sUCUoHlCxI1TnBXlT63pny7-TXq2fcEarCblXuq3SRsw9x8foBp2ujY5PWicFVyRlzseByQVMsw5hEnCp03Rj7vI7EdnCg=@protonmail.com> (raw)
I want to have a function to remove elements from speedbar-supported-extension-expressions
What is a robust way to do it?
If I do
C-h v speedbar-supported-extension-expressions
and pick up the entry in the way it is printed, would it be remaved if
one just copies the entry?
Suppose the printed value is
(".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el"
".emacs" ".l" ".lsp" ".p" ".java" ".js" ".f\\(90\\|77\\|or\\)?"
".ad[abs]" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g" ".s?html"
".ma?k" "[Mm]akefile\\(\\.in\\)?")
and match using
".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?"
to remove that entry.
Or is- it more robust to remove the entry by its position in the list?
reply other threads:[~2024-12-03 16:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='xWG67HpdphOX-sUCUoHlCxI1TnBXlT63pny7-TXq2fcEarCblXuq3SRsw9x8foBp2ujY5PWicFVyRlzseByQVMsw5hEnCp03Rj7vI7EdnCg=@protonmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=heimeborgia@protonmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).