Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.emacs.help > #60788

Help required with regexp in auto-mode-alist

From "Loris Bennett" <loris.bennett@fu-berlin.de>
Newsgroups gnu.emacs.help
Subject Help required with regexp in auto-mode-alist
Date 2023-08-14 10:57 +0200
Organization ZEDAT, Freie Universität Berlin
Message-ID <87ttt2uhl3.fsf@zedat.fu-berlin.de> (permalink)

Show all headers | View raw


Hi,

I edit pages of a wiki (FOSWiki), which, when opened in Emacs via the
Firefox extension "Edit with Emacs", end up in buffers with names like
the following:

  wiki.zedat.fu-berlin.de/bin/edit/SCS/ScsProtokoll20230816?t=1692000848;nowysiwyg=1

I would like to associate these with a specific mode and therefore have

  (add-to-list 'auto-mode-alist '("wiki\\.zedat\\.fu-berlin\\.de/bin/edit/SCS/.*" . erin-mode))

in my setup.  However, the mode is not selected.  What is wrong with my
regexp?

Cheers,

Loris

-- 
-- 
This signature is currently under constuction.

Back to gnu.emacs.help | Previous | NextNext in thread | Find similar


Thread

Help required with regexp in auto-mode-alist "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-14 10:57 +0200
  Re: Help required with regexp in auto-mode-alist steve <sgonedes1977@gmail.com> - 2024-04-19 17:57 -0400

csiph-web