LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2011, 02:17 PM   #1
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: slackware, centos, scientificlinux
Posts: 124

Rep: Reputation: 25
slackbuilds and emacs info mode


When using C-h i, emacs shows a menu with info about various programs.

I get the impression that when using slackbuilds, emacs does not become `aware' of the new programs' info even though info works on the cli.

For example: I installed gnuplot by ./config; make; make install because there is no slackbuild and a gnuplot entry shows up in the menu in emacs. Same for some other programs installed this way. Note that INFOPATH is still empty.

But then I installed gsl using the slackbuild and no entry shows up in emacs.

Does anyone know why this happens? Obviously I would like emacs to become aware of my slackbuild additions...
 
Old 05-29-2011, 07:48 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,808
Blog Entries: 58

Rep: Reputation: Disabled
Try this, as root:
Code:
install-info --info-file=/usr/info/gsl-ref.info --dir-file=/usr/info/dir
 
Old 05-29-2011, 07:55 AM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
It may be that most info files present in Slackware are not dealt with.
Ideally this should be done like this
The texinfo Slackware package ships with a custom "dir" file that contains most of the entries for info files included in Slackware, but AFAICT not all.
I guess this is also one of the disadvantages of not having dependency resolution. There is no guarantee that texinfo is installed before installing the package that holds the info files, so you cant be sure install-info exists, so that the dir file can be updated. So Pat ships a custom dir file, thats currently last updated 2,5 years ago.
I suppose dealing with info files could largely be improved in Slackware. But from what i can tell, most people dont like info files much.
 
1 members found this post helpful.
Old 05-30-2011, 03:05 AM   #4
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: slackware, centos, scientificlinux
Posts: 124

Original Poster
Rep: Reputation: 25
Thanks for the explanation, so I'll update the dir file by hand, it's a small job since I don't have that many slackbuilds.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs in terminal-mode constrains output to 80 columns (emacs bug, or watch bug?) jgombos Linux - Software 1 06-17-2011 10:49 PM
emacs: minor mode font-mode-lock not on by default?! hewsonism Linux - Newbie 2 06-10-2010 02:32 PM
Automatic hs-minor-mode in Emacs for PHP mode? CoderMan Programming 1 06-12-2009 10:38 AM
emacs and info and rpm in text mode pleinair Mandriva 0 08-03-2004 07:43 PM
emacs info pages and custumization nakkaya Linux - Software 1 04-23-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration