GNU bug report logs - #5658
23.1; Viewing .info files in Emacs' info-viewer

Previous Next

Package: emacs;

Reported by: usr.gentoo <at> googlemail.com

Date: Sun, 28 Feb 2010 20:09:01 UTC

Severity: minor

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5658: 23.1; Viewing .info files in Emacs' info-viewer
Date: Tue, 02 Mar 2010 23:05:37 -0700
usr.gentoo <at> googlemail.com wrote:

> when visiting .info files in Emacs via find-file Emacs opens the file in the
> default major-mode instead of Emacs' info-mode. I suggest therefore to add the
> following default-association:
> 
>  (add-to-list 'auto-mode-alist '("\\.info\\'" . info))

The value of major-mode in an Info buffer is Info-mode:

(add-to-list 'auto-mode-alist '("\\.info\\'" . Info-mode))

-- 
Kevin Rodgers
Denver, Colorado, USA






This bug report was last modified 12 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.