[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Auto-mode-alist, issue with regexp
From: |
Saptarshi |
Subject: |
Auto-mode-alist, issue with regexp |
Date: |
Fri, 22 May 2009 09:32:59 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- Auto-mode-alist, issue with regexp,
Saptarshi <=