From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: eric5931@gmail.com Newsgroups: gmane.emacs.help Subject: Re: RE: How to get to info mode Date: Thu, 22 Oct 2009 18:46:29 +0000 Message-ID: <0016e64cba026f618004768a832c@google.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64cba026f616b04768a8329 X-Trace: ger.gmane.org 1256237257 15138 80.91.229.12 (22 Oct 2009 18:47:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2009 18:47:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams , eric5931 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 20:47:26 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N12h2-0005Yo-TW for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Oct 2009 20:47:25 +0200 Original-Received: from localhost ([127.0.0.1]:41774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N12h2-0000T6-A4 for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Oct 2009 14:47:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N12gK-00007h-IA for help-gnu-emacs@gnu.org; Thu, 22 Oct 2009 14:46:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N12gF-0008R9-DA for help-gnu-emacs@gnu.org; Thu, 22 Oct 2009 14:46:39 -0400 Original-Received: from [199.232.76.173] (port=38542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N12gF-0008Qo-3K for help-gnu-emacs@gnu.org; Thu, 22 Oct 2009 14:46:35 -0400 Original-Received: from mail-pz0-f236.google.com ([209.85.222.236]:44261) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N12gE-0006Wo-Tp for help-gnu-emacs@gnu.org; Thu, 22 Oct 2009 14:46:35 -0400 Original-Received: by pzk25 with SMTP id 25so641213pzk.2 for ; Thu, 22 Oct 2009 11:46:29 -0700 (PDT) In-Reply-To: Original-Received: by 10.115.38.27 with SMTP id q27mr1544223waj.12.1256237189519; Thu, 22 Oct 2009 11:46:29 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69161 Archived-At: --0016e64cba026f616b04768a8329 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Drew, Thanks very much. Eric On Oct 21, 2009 1:06pm, Drew Adams wrote: > > > If that is a major mode, check the value of > > > `auto-mode-alist' - perhaps some > > > code you load adds a mapping for `*.info' files to `text-fly-mode'. > > > > Thanks. I added a auto-mode-alist line for the file "dir". But it > > didn't help. I did a grep to see anything change the mode. It all > > looks allright to me. > No, don't fiddle with `auto-mode-alist' unless it is already mapping > `.info' to > the wrong mode. > > I jump to info mode with saved bookmarks. I have tried Ch i. It works > > for my own info file. But everytime I jump to /usr/share/info/dir, it > > showed the correct file, but in "Text Fly" mode and is in a normal > > buffer, not *info* buffer. When I repeat this to go to teh Emacs info > > file, it is in the correct mode though. > If `Ch i' works for your own file, but not for some others, then they are > not > listed in the `dir' that you are using. It sounds like you need to do what > Pascal suggested: > > You can also add directories to the variable Info-directory-list > Or better yet, customize option `Info-additional-directory-list', which is > intended for user modification. --0016e64cba026f616b04768a8329 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Drew,

Thanks very much.

Eric

On Oct 21, 20= 09 1:06pm, Drew Adams <drew.adams@oracle.com> wrote:
> > &= gt; If that is a major mode, check the value of
>
> > &= gt; `auto-mode-alist' - perhaps some
>
> > > cod= e you load adds a mapping for `*.info' files to `text-fly-mode'.>
> >
>
> > Thanks. I added a auto-mo= de-alist line for the file "dir". But it
>
> >= ; didn't help. I did a grep to see anything change the mode. It all
>
> > looks allright to me.
>
>
>= ;
> No, don't fiddle with `auto-mode-alist' unless it is a= lready mapping `.info' to
>
> the wrong mode.
>= ;
>
>
> > I jump to info mode with saved book= marks. I have tried C-h i. It works
>
> > for my own in= fo file. But everytime I jump to /usr/share/info/dir, it
>
&g= t; > showed the correct file, but in "Text Fly" mode and is in= a normal
>
> > buffer, not *info* buffer. When I repea= t this to go to teh Emacs info
>
> > file, it is in the= correct mode though.
>
>
>
> If `C-h i&= #39; works for your own file, but not for some others, then they are not>
> listed in the `dir' that you are using. It sounds li= ke you need to do what
>
> Pascal suggested:
> >
>
> =A0> You can also add directories to the v= ariable Info-directory-list
>
>
>
> Or b= etter yet, customize option `Info-additional-directory-list', which is<= br />>
> intended for user modification.
>
> <= br />>
>
> --0016e64cba026f616b04768a8329--