Skip to main content

Questions tagged [backslash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
658 views

How can I insert the backslash character ( \ ) before quotation marks (" ") in Emacs?

I am running Emacs and writing on the scratch-buffer. This is my config file. After executing describe-mode, this is the list of minor modes running: Enabled minor modes: Auto-Composition Auto-...
Pedro Delfino's user avatar
1 vote
1 answer
72 views

flush-lines fails in script but works when called otherwise

I'm very new to programming in Elisp so maybe the mistake is there but I'm completely stuck right now. I wanted to make a small, simple Elisp function to remove the AUTOs from my Verilog files so I ...
Rice's user avatar
  • 13
0 votes
1 answer
521 views

split-string: splitting on backslash character

I intend to apply the split-string function to the following string "\ghjky\dfsgi\45fdj\854f" using the character "\" as a separator in order to get the list ("ghjky" "dfsgi" "45fdj" "854f"). I ...
Acciaierie Stahlberg's user avatar
0 votes
2 answers
2k views

How to type a backslash in emacs "\"

I'm on Prelude, and there is no way I can type a \. I was thinking maybe I should create a keybinding but I don't know how to create it to output a character such as \. Any help welcome! Thank you!
Emmanuel Goldstein's user avatar
2 votes
1 answer
543 views

Different backslash behaviour between interactive regexps and code regexps

We usually use \| to depict OR in Regex. Using a\|b as input to Regexp I-search and Occur both gave the desired result. But re-search-forward seems unable to recognize this notation. abcdcba (re-...
Sati's user avatar
  • 815
3 votes
1 answer
626 views

Yasnippet including backslash

I would like to use Yasnippet to insert the template for a latex inline equation: \( \) The snippet is defined: # -*- Mode: snippet -*- # name: inline equation # key: ineq # -- \( \) But ...
Snelephant's user avatar