MacOS – Gnu-info page exists, but is visible from neither emacs nor terminal

emacshomebrewmacosopen sourceterminal

After installing gnuplot on Lion using 'brew gnuplot', the gnuplot info page appears at /usr/local/Cellar/gnuplot/4.4.3/share/info/gnuplot.info

But in the info index page (M-x info) in emacs, I see no gnuplot entry.

How can one point the "info system" (for emacs especially) to the newly installed gnuplot info page? If I missed something during brewing that would have connected the gnuplot info to the master info page, please point it out. If there is a direct way of reading the gnuplot page (again, through emacs) without going through the master index, please also mention it.

Best Answer

Is the info file symlinked in /usr/local/share/info? If not, a simple

ln -s /usr/local/Cellar/gnuplot/4.4.3/share/info/gnuplot.info /usr/local/share/info/

should solve the problem.

If not, look at the value of Info-directory-list in Emacs (C-h v). If "/usr/local/share/info" isn't included there, you can add it with

(push "/usr/local/share/info" Info-directory-list)

in the *scratch* buffer (and in .emacs of course).