Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to open *.info file in emacs in info mode?

Tags:

emacs

C-x C-f blah.info opens the file in fundametal mode. I used apropos and found Info-mode which I thought might change from fundamental mode into Info mode, but that throws a lisp error.

How can I open a external/thirdparty *.info file in emacs so that I get the same bells and whistles as when I'm looking at M-x info (n for next, u for up, hyperlinks, etc..)? I'm sure this is obvious, but I can't figure it out.

like image 857
Upgradingdave Avatar asked Dec 17 '09 11:12

Upgradingdave


People also ask

How do you open a file in Emacs?

You can open a file by specifying the filename when you start Emacs (as we did earlier) or by typing C-x C-f (the long command name for this is find-file). C-x C-f creates a new buffer that has the same name as the file. Emacs prompts you for a filename; respond by typing the filename, followed by RETURN.

What is the command to open a file from within Emacs example?

Use Ctrl-x f to open a file from within Emacs.

How do I insert files into Emacs?

If you want to insert the contents of another file into the current buffer, place the cursor at the desired insertion point, and type Control-X-I. Emacs will ask you for the name of the file you wish to insert. You may also insert text by cutting it from one place, and pasting it at the insertion point.


1 Answers

Try C-u C-h i (i.e., the usual info invocation with a prefix argument).

like image 141
huaiyuan Avatar answered Oct 13 '22 02:10

huaiyuan