unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Remove elements from speedbar-supported-extension-expressions
@ 2024-12-03 16:43 Heime via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-12-03 16:43 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


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?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-03 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 16:43 Remove elements from speedbar-supported-extension-expressions Heime via Users list for the GNU Emacs text editor

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).