all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#5658: 23.1; Viewing .info files in Emacs' info-viewer
Date: Wed, 03 Mar 2010 21:30:37 +0200	[thread overview]
Message-ID: <87iq9drzzi.fsf@mail.jurta.org> (raw)
In-Reply-To: <hmku7a$1jg$1@dough.gmane.org> (Kevin Rodgers's message of "Tue,  02 Mar 2010 23:05:37 -0700")

>> 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))

This doesn't work too.  It seems `Info-on-current-buffer' was created
exactly for the purpose to be associated with .info in auto-mode-alist.
It is not used anywhere else.

-- 
Juri Linkov
http://www.jurta.org/emacs/







  reply	other threads:[~2010-03-03 19:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28 19:28 bug#5658: 23.1; Viewing .info files in Emacs' info-viewer usr.gentoo
2010-03-02 21:11 ` Juri Linkov
2010-03-03  6:05 ` Kevin Rodgers
2010-03-03 19:30   ` Juri Linkov [this message]
2010-03-04  2:45     ` Stefan Monnier
2010-03-06 17:55       ` Juri Linkov
2010-03-04  7:10     ` Kevin Rodgers
2010-03-04 21:18       ` Juri Linkov
2010-03-05  5:29         ` Kevin Rodgers
2010-03-05 20:23       ` Stefan Monnier
2012-12-08  3:37 ` Chong Yidong
2012-12-08  9:07   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iq9drzzi.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.