all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Backslash - Generic Mode / Regular Expressions
@ 2005-11-16  7:52 Frank-René Schäfer
  0 siblings, 0 replies; only message in thread
From: Frank-René Schäfer @ 2005-11-16  7:52 UTC (permalink / raw)


I am having trouble to match against a backslash in a generic mode
definition.
>From the response of (regexp-quote "\end")  --> "\\\\end" I would
assume that
"\\\\end" could be used as shown in the example below. However, it does
not
work that way. Is there anything special to consider?

(define-generic-mode 'my-mode
                     (list (cons "/~" "~/") (cons "$$" "$$"))
                     (list  ... "\\\\end") 
....
)

Thanks

Frank

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-16  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16  7:52 Backslash - Generic Mode / Regular Expressions Frank-René Schäfer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.