unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* winmgr and howm
@ 2009-01-13 11:30 Sven Utcke
  2009-01-14  9:28 ` Competing RegExp in auto-mode-alist (was: winmgr and howm) Sven Utcke
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Utcke @ 2009-01-13 11:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I use howm-mode <http://howm.sourceforge.jp/> to note down random
snippets of information.  By default, those files are named
<year>-<month>-<day>-<number>.howm.

So far, so well.  But unfortunately this is matched by winmgr's
default RegExp "\\.[A-Za-z]*wm$".  And, even worse, winmgr-mode can
only be switched on, but not off.  Any clever idea how to handle that
situation, short of using something like
"\\.[A-Za-gi-z]*[A-Za-np-z]*wm$"?

TIA

Sven
-- 
  ___ _  _____ ___   Dr.-Ing. Sven Utcke                    ___  ___ _____   __
 / __| |/ / __| __|  phone: +49 40 899-8-5317              |   \| __/ __\ \ / /
| (_ | ' <\__ \__ \  fax  : +49 40 899-4-5317              | |) | _|\__ \\ V / 
 \___|_|\_\___|___/  http://www.desy.de/~utcke    (to come)|___/|___|___/ |_|


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

* Competing RegExp in auto-mode-alist (was: winmgr and howm)
  2009-01-13 11:30 winmgr and howm Sven Utcke
@ 2009-01-14  9:28 ` Sven Utcke
  2009-01-14 20:20   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Utcke @ 2009-01-14  9:28 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I realised that my original subject was somewhat misleading, so I
rephrased it.  The question, however, remains:

I use howm-mode <http://howm.sourceforge.jp/> to note down random
snippets of information.  By default, those files are named
<year>-<month>-<day>-<number>.howm.

So far, so well.  But unfortunately this is matched by winmgr's
default RegExp "\\.[A-Za-z]*wm$".  And, even worse, winmgr-mode can
only be switched on, but not off.  Any clever idea how to handle that
situation, short of using something like
"\\.[A-Za-gi-z]*[A-Za-np-z]*wm$"?

So what's the best way to set up auto-mode-alist?  Complicated
RegExps? Simply change the order of the RegExps?  Any other ideas?

Thanks

Sven
-- 
  ___ _  _____ ___   Dr.-Ing. Sven Utcke                    ___  ___ _____   __
 / __| |/ / __| __|  phone: +49 40 899-8-5317              |   \| __/ __\ \ / /
| (_ | ' <\__ \__ \  fax  : +49 40 899-4-5317              | |) | _|\__ \\ V / 
 \___|_|\_\___|___/  http://www.desy.de/~utcke    (to come)|___/|___|___/ |_|


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

* Re: Competing RegExp in auto-mode-alist (was: winmgr and howm)
  2009-01-14  9:28 ` Competing RegExp in auto-mode-alist (was: winmgr and howm) Sven Utcke
@ 2009-01-14 20:20   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2009-01-14 20:20 UTC (permalink / raw)
  To: Sven Utcke; +Cc: help-gnu-emacs

On Wed, Jan 14, 2009 at 10:28 AM, Sven Utcke
<utcke+news@informatik.uni-hamburg.de> wrote:
> Hi,
>
> I realised that my original subject was somewhat misleading, so I
> rephrased it.  The question, however, remains:
>
> I use howm-mode <http://howm.sourceforge.jp/> to note down random
> snippets of information.  By default, those files are named
> <year>-<month>-<day>-<number>.howm.
>
> So far, so well.  But unfortunately this is matched by winmgr's
> default RegExp "\\.[A-Za-z]*wm$".  And, even worse, winmgr-mode can
> only be switched on, but not off.  Any clever idea how to handle that
> situation, short of using something like
> "\\.[A-Za-gi-z]*[A-Za-np-z]*wm$"?
>
> So what's the best way to set up auto-mode-alist?  Complicated
> RegExps? Simply change the order of the RegExps?  Any other ideas?

In nXhtml there is a general package majmodpri.el for this kind of
problems. It allows you to have auto-mode-alist and relatives sorted
to your taste.




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

end of thread, other threads:[~2009-01-14 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 11:30 winmgr and howm Sven Utcke
2009-01-14  9:28 ` Competing RegExp in auto-mode-alist (was: winmgr and howm) Sven Utcke
2009-01-14 20:20   ` Lennart Borgman

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).