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
- How can I make 'emacsclient' open in native fullscreen every time I launch it from the terminal in macOS?
- emacsclient does not connect inside ubuntu container
- Emacs use .emacs by default instead .emacs.d/init.el
- Setting up Macaulay 2 on emacs
- org-mime add caption to exported images
- Use the same export attribute for all src-blocks
- Tags Development Tools
- Emacs 29.2 unable to find theme file
- How to automatically allow the execution of code action from HLS in emacs?
- Org-babel remote inline images with TRAMP not exporting in org export
- find and replace regex like that can deal with nested brackets
- Inheriting from variadic types messes up template member function indentation in Emacs
- Invoking org-store-link interactively, errors on calling org-man-store-link
- Disable session save in doom emacs
- How do you connect to a remote emacs server using Microsoft dev tunnels
Related Questions in SILVERSTRIPE
- How to make the header section Sticky of a Silverstripe GridField in the CMS
- In SilverStripe/GraphQL 4 how do I get the bulkLoader auto generated schemas to allow has_many and many_many updates?
- Filter Files that the current user has permissions to view
- Silverstripe FulltextSearchable use Operators
- Save a field for every SiteTree item
- SilverStripe 4.12 Email->addAttachment() from input file form
- Silverstripe GraphQL error after injecting the Member class and adding a custom Member class
- Changing / setting CSS from a CMS value in Silverstripe 5
- Adding and removing Actions from Silverstripe BulkManager
- Silverstripe 404 Error - for public and admin
- Silverstripe 4.11 queuedjobs send emails in Chunks timeperiode
- Silverstripe 4.11 access dev/tasks with cronjob on localhost
- Permissions Errors when running dev/build
- Sliverstripe CMS populate dropdown with enum values
- Silverstripe throwing sendmail error on ForgotPassword form and member password change
Related Questions in HTML-MODE
- How to switch copy mode between text and html with React
- Browser Based Application on IE a spying issue on blue prism. Element gets off screen and bp can't highlight
- Wrap html tag around next word with one key in emacs
- Filenames completion in html-mode
- Close HTML tags as soon as one opens them
- How can I stop Emacs from starting a browser when I save a file in HTML mode?
- Aquamacs web-mode
- How do I set the colour of a custom tag in html-mode
- Silverstripe template, html-mode
- cant tab what ever i want in emacs indentation 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 # Hahtags
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_