[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: default info browser



>>>>> Alex Malinovich <demonbane@the-love-shack.net> writes:

> So after 4 years of stubbornly refusing to accept info pages and
> sticking to plain old 'man' I've decided that it's time to embrace info
> and give it a shot for a while. However, I don't much care for the
> text-mode info browser that's used by default. What I'd like to do is
> force emacs to be my info browser, so that 'info foo', for example, will
> start up emacs, load up info, and open the 'foo' info page. Any ideas?

You could do something in a script with emacsclient,

emacsclient --eval "(info \"(Emacs)Top\")"

goes to the emacs info page in emacs info mode, for example, so
something like

emacsclient --eval "(info \"(${1})Top\")"

ought to work

-- 
Jim Ottaway



Reply to: