unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).