Didier Verna <didier(a)xemacs.org> writes:
Are all these cases for the dir filename really needed ?
They're
introducing several inconsistencies in info.el, but before fixing them (and
numerous other bugs), I'd like to be sure we need them.
,----
| ;; Try several variants of specified name.
| ;; Try upcasing, appending `.info', or both.
| [...]
| (progn (setq file (expand-file-name "dir" truename))
| (file-attributes file))
| (progn (setq file (expand-file-name "DIR" truename))
| (file-attributes file))
| (progn (setq file (expand-file-name "dir.info" truename))
| (file-attributes file))
| (progn (setq file (expand-file-name "DIR.INFO" truename))
| (file-attributes file))
| (progn (setq file (expand-file-name "localdir" truename))
| (file-attributes file))
`-----
I don't think DIR, dir.info and DIR.info are necessary.
Judging from the source code, standalone info reader
searches dir, dir.[gz|bz2|z|Z|Y] and localdir.
--
Yoshiki Hayashi