all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Auto-mode-alist, issue with regexp
@ 2009-05-22 16:32 Saptarshi
  2009-05-22 16:43 ` Teemu Likonen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Saptarshi @ 2009-05-22 16:32 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,
I would like to open all files whose name starts with
"mail.google.com" in org-mode.
I tried,
1) -->  (add-to-list 'auto-mode-alist '("^mail\\.google\\.com" . org-
mode))

and this doesn't work. Thinking something wrong with my regexp, i
tried to open all files whose name starts with "mail" in org mode,
2) -->  (add-to-list 'auto-mode-alist '("^mail" . org-mode))

which also didn't work.

How do I get (1) to work?

Thank you in advance
Saptarshi


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-22 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 16:32 Auto-mode-alist, issue with regexp Saptarshi
2009-05-22 16:43 ` Teemu Likonen
2009-05-22 16:53   ` Saptarshi
2009-05-22 17:08 ` Peter Dyballa
2009-05-22 17:14 ` Nikolaj Schumacher
2009-05-22 17:19   ` Saptarshi Guha

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.