Trying to get a mode to work with silverstipe templates, but <% end_control %> breaks the indentation, but <% nd_control %> does not. It must be the "<% end", but I'm stuck on how to fix it.
Silverstripe template, html-mode
223 Views Asked by Mario Michelli At
1
There are 1 best solutions below
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in SILVERSTRIPE
- SilverStripe - Multilingual Custom Form Template
- SilverStripe TInyMCE configuration requires a refresh to take effect
- Extend RequiredFields class and call it in another class in SilverStripe
- Automatically switch to a read-only database when the master database is unavailable
- How to use GridList of one page into home page in shortcode in SilverStripe
- SilverStripe 3: Loop greatgrandchildren pages WITH OUT grouping by parent
- How to sort and filter children in Silverstripe
- SilverStripe 'None of these templates can be found in theme 'default'
- rewrite url and redirect to extended page in silverstripe
- Silverstripe PaginatedList - How to display record numbers on current page?
- Can I override a composer.json dependency to remove it?
- SilverStripe 3: UserForms integrate with MailChimp?
- How to find /mysite/ folder - SilverStripe CMS
- SilverStripe Swipestripe - swipestripe-gallery module error
- Only allow access to a file if logged in to the CMS [SilverStripe]
Related Questions in HTML-MODE
- Wrap html tag around next word with one key in emacs
- Close HTML tags as soon as one opens them
- cant tab what ever i want in emacs indentation mode
- Filenames completion in html-mode
- Browser Based Application on IE a spying issue on blue prism. Element gets off screen and bp can't highlight
- How do I set the colour of a custom tag in html-mode
- Silverstripe template, html-mode
- How to switch copy mode between text and html with React
- Aquamacs web-mode
- How can I stop Emacs from starting a browser when I save a file in HTML mode?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm guessing this will be the part tripping it up end_[a-zA-Z1-9_.]*
I'm no lisp or regex expert. But I would suspect end_[:alpha:]+ should work. After taking a look at the emacs regex docs http://www.emacswiki.org/emacs/RegularExpression
You should be able to do without _ or . If you wanted to include the fullstop in the match I think you'll need double backslash \. But I can't think of an example when SS uses this in a closing template statement. And the underscore should already be matched with end_