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
  2024-12-22 12:02 ` Joel Reicher
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2024-12-22 12:02 UTC | newest]

Thread overview: 2+ messages (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
2024-12-22 12:02 ` Joel Reicher

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