[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-mode-alist doesn't match VC files file.c.~version~
From: |
Andreas Schwab |
Subject: |
Re: auto-mode-alist doesn't match VC files file.c.~version~ |
Date: |
Wed, 10 Oct 2007 23:12:25 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
"Chris Moore" <address@hidden> writes:
> If I then visit the file in Emacs, the mode isn't set correctly,
> unless 'version' is entirely numeric, and even then it only works by
> accident, since Emacs' file-name-sans-versions strips off .~[0-9]+~
> endings before auto-mode-alist gets to work on the filename.
This has already been fixed for the next release.
file-name-sans-versions has been extended to handle non-numeric backup
versions.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."