[Nottingham] EMacs

Martin martin at ml1.co.uk
Wed Jan 26 00:03:00 GMT 2005


Jey Davis wrote:
[...]
> 
> (setq file-name-buffer-file-type-alist '(("\\.txt$" . nil) (".*" . t)))
> 
> The first list is a regular expression that says to emacs to allow 
> translation of the file to windows line-endings.
> The second list says everything else should be opened as binary.

Phew. 10/10 for geekieness!

Even after a few beers I can see that there are two lists. I'll just 
have to say "yes?" to the rest...

I'll admit to long ago being forced over from emacs onto vim (:-P)

Regards,
Martin

ps: The ":-P" is not a list (;-))


-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list