[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .info files
From: |
Stefan Monnier |
Subject: |
Re: .info files |
Date: |
Thu, 12 Apr 2012 14:30:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> True that, what about the following:
> (add-to-list 'auto-mode-alist
> '("\\.info\\'" . (lambda () (interactive)
> (require 'info)
> (info-setup (buffer-file-name)
> (current-buffer)))))
Looks better, indeed. Still sounds a bit risky since it throws away the
current content of the buffer, so it probably won't work right in things
like archive-members.
Stefan
PS: Reminds me that I don't like the way our Info files (and some other
project's as well) don't have a .info extension.
PPS: And of course, the question remains of what to do when visiting
foo-N.info.
- .info files, Alfred M. Szmidt, 2012/04/12
- Re: .info files, Stefan Monnier, 2012/04/12
- Re: .info files, Glenn Morris, 2012/04/13
- Re: .info files, Eli Zaretskii, 2012/04/13
- Re: .info files, Glenn Morris, 2012/04/13
- Re: .info files, Eli Zaretskii, 2012/04/14
- Re: .info files, Chong Yidong, 2012/04/14
- Re: .info files, Eli Zaretskii, 2012/04/14