Emacs and pylookup

Hi,
I've been trying to install pylookup from here: https://github.com/tsgates/pylookup , using README and this http://pygments.org/demo/4772/ sample.
pylookup commands are available, but always 'No matches for "os"' or anything else.
I tried building a base from either python-docs package material
$ ./pylookup.py -u /usr/share/doc/python/html/
or online documentation
$ ./pylookup.py -u http://docs.python.org
but no use. pylookup.db remains empty as it probably should not.
I tried to change the Python version in the makefile (2 to 3 and back)
VER := $(shell python --version 2>&1 | grep -o "[0-9].[0-9].[0-9]")
ZIP := python-${VER}-docs-html.zip
URL := http://docs.python.org/archives/${ZIP}
download:
    @if [ ! -e $(ZIP) ] ; then     \
        echo "Downloading ${URL}"; \
        wget ${URL};               \
        unzip ${ZIP};              \
    fi
    ./pylookup.py -u $(ZIP:.zip=)
.PHONY: download
but it did not make any difference. I can't understand, BTW, where the makefile file comes into play. Neither do I see how the thing should know about my browser.
This is the relevant part of my .emacs:
;; Pylookup
(setq pylookup-dir "~/src/emacs-repos/pylookup")
(add-to-list 'load-path pylookup-dir)
(eval-when-compile (require 'pylookup))
(setq pylookup-program
(concat pylookup-dir "/pylookup.py"))
(setq pylookup-db-file
(concat pylookup-dir "/pylookup.db"))
(autoload 'pylookup-lookup "pylookup"
"Lookup SEARCH-TERM in the Python HTML indexes." t)
(autoload 'pylookup-update "pylookup"
"Run pylookup-update and create the database at 'pylookup-db-file'." t)
;; bind a key for quick lookups
(global-set-key "\C-ch" 'pylookup-lookup)
UPD:
It occured to me to run make, but it ends up with errors:
$ make
Downloading http://docs.python.org/archives/python-3.2.2-docs-html.zip
--2012-01-08 13:31:06-- http://docs.python.org/archives/python-3.2.2-docs-html.zip
Resolving docs.python.org... 82.94.164.162, 2001:888:2000:d::a2
Connecting to docs.python.org|82.94.164.162|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-01-08 13:31:07 ERROR 404: Not Found.
unzip: cannot find or open python-3.2.2-docs-html.zip, python-3.2.2-docs-html.zip.zip or python-3.2.2-docs-html.zip.ZIP.
make: *** [download] Error 9
The whole make thing seems optional, though. Or does it?
Last edited by Llama (2012-01-08 09:40:59)

I tried to run pylookup.py in pdb, on  the local doc source:
./pylookup.py -u /usr/share/doc/python/html/
It ran fine until this statement:  parser.feed(index), line 227. No exceptions raised (at least I didn't catch any); looks like it silently refused to dump the index into pylookup.db.
I suspect Python 3 incompatibility (at least Python 2.7 examples from my crash course in debugging took some toll, and it wasn't always syntax). Unfortunately, my expertise stops at line 227 .
pylookup.py, exactly as debugged:
#!/usr/bin/env python
Pylookup is to lookup entries from python documentation, especially within
emacs. Pylookup adopts most of ideas from haddoc, lovely toolkit by Martin
Blais.
(usage)
./pylookup.py -l ljust
./pylookup.py -u http://docs.python.org
from __future__ import with_statement
import os
import sys
import re
import pdb
try:
import cPickle as pickle
except:
import pickle
import formatter
from os.path import join, dirname, exists, abspath, expanduser
from contextlib import closing
if sys.version_info[0] == 3:
import html.parser as htmllib
import urllib.parse as urlparse
import urllib.request as urllib
else:
import htmllib, urllib, urlparse
VERBOSE = False
FORMATS = {
"Emacs" : "{entry}\t({desc})\t[{book}];{url}",
"Terminal" : "{entry}\t({desc})\t[{book}]\n{url}"
def build_book(s, num):
Build book identifier from `s`, with `num` links.
for matcher, replacement in (("library", "lib"),
("c-api", "api"),
("reference", "ref"),
("", "etc")):
if matcher in s:
return replacement if num == 1 else "%s/%d" % (replacement, num)
def trim(s):
Add any globle filtering rules here
s = s.replace( "Python Enhancement Proposals!", "")
s = s.replace( "PEP ", "PEP-")
return s
class Element(object):
def __init__(self, entry, desc, book, url):
self.book = book
self.url = url
self.desc = desc
self.entry = entry
def __format__(self, format_spec):
return format_spec.format(entry=self.entry, desc=self.desc,
book=self.book, url=self.url)
def match_insensitive(self, key):
Match key case insensitive against entry and desc.
`key` : Lowercase string.
return key in self.entry.lower() or key in self.desc.lower()
def match_sensitive(self, key):
Match key case sensitive against entry and desc.
`key` : Lowercase string.
return key in self.entry or key in self.desc
def match_in_entry_insensitive(self, key):
Match key case insensitive against entry.
`key` : Lowercase string.
return key in self.entry.lower()
def match_in_entry_sensitive(self, key):
Match key case sensitive against entry.
`key` : Lowercase string.
return key in self.entry
def get_matcher(insensitive=True, desc=True):
Get `Element.match_*` function.
>>> get_matcher(0, 0)
<unbound method Element.match_in_entry_sensitive>
>>> get_matcher(1, 0)
<unbound method Element.match_in_entry_insensitive>
>>> get_matcher(0, 1)
<unbound method Element.match_sensitive>
>>> get_matcher(1, 1)
<unbound method Element.match_insensitive>
_sensitive = "_insensitive" if insensitive else "_sensitive"
_in_entry = "" if desc else "_in_entry"
return getattr(Element, "match{0}{1}".format(_in_entry, _sensitive))
class IndexProcessor( htmllib.HTMLParser ):
Extract the index links from a Python HTML documentation index.
def __init__( self, writer, dirn):
htmllib.HTMLParser.__init__( self, formatter.NullFormatter() )
self.writer = writer
self.dirn = dirn
self.entry = ""
self.desc = ""
self.list_entry = False
self.do_entry = False
self.one_entry = False
self.num_of_a = 0
self.desc_cnt = 0
def start_dd( self, att ):
self.list_entry = True
def end_dd( self ):
self.list_entry = False
def start_dt( self, att ):
self.one_entry = True
self.num_of_a = 0
def end_dt( self ):
self.do_entry = False
def start_a( self, att ):
if self.one_entry:
self.url = join( self.dirn, dict( att )[ 'href' ] )
self.save_bgn()
def end_a( self ):
global VERBOSE
if self.one_entry:
if self.num_of_a == 0 :
self.desc = self.save_end()
if VERBOSE:
self.desc_cnt += 1
if self.desc_cnt % 100 == 0:
sys.stdout.write("%04d %s\r" \
% (self.desc_cnt, self.desc.ljust(80)))
# extract fist element
# ex) __and__() (in module operator)
if not self.list_entry :
self.entry = re.sub( "\([^)]+\)", "", self.desc )
# clean up PEP
self.entry = trim(self.entry)
match = re.search( "\([^)]+\)", self.desc )
if match :
self.desc = match.group(0)
self.desc = trim(re.sub( "[()]", "", self.desc ))
self.num_of_a += 1
book = build_book(self.url, self.num_of_a)
e = Element(self.entry, self.desc, book, self.url)
self.writer(e)
def update(db, urls, append=False):
"""Update database with entries from urls.
`db` : filename to database
`urls` : list of URL
`append` : append to db
mode = "ab" if append else "wb"
with open(db, mode) as f:
writer = lambda e: pickle.dump(e, f)
for url in urls:
# detech 'file' or 'url' schemes
parsed = urlparse.urlparse(url)
if not parsed.scheme or parsed.scheme == "file":
dst = abspath(expanduser(parsed.path))
if not os.path.exists(dst):
print("Error: %s doesn't exist" % dst)
exit(1)
url = "file://%s" % dst
else:
url = parsed.geturl()
# direct to genindex-all.html
if not url.endswith('.html'):
url = url.rstrip("/") + "/genindex-all.html"
print("Wait for a few seconds ..\nFetching htmls from '%s'" % url)
try:
index = urllib.urlopen(url).read()
if not issubclass(type(index), str):
index = index.decode()
parser = IndexProcessor(writer, dirname(url))
with closing(parser):
parser.feed(index)
except IOError:
print("Error: fetching file from the web: '%s'" % sys.exc_info())
def lookup(db, key, format_spec, out=sys.stdout, insensitive=True, desc=True):
"""Lookup key from database and print to out.
`db` : filename to database
`key` : key to lookup
`out` : file-like to write to
`insensitive` : lookup key case insensitive
matcher = get_matcher(insensitive, desc)
if insensitive:
key = key.lower()
with open(db, "rb") as f:
try:
while True:
e = pickle.load(f)
if matcher(e, key):
out.write('%s\n' % format(e, format_spec))
except EOFError:
pass
def cache(db, out=sys.stdout):
"""Print unique entries from db to out.
`db` : filename to database
`out` : file-like to write to
with open(db, "rb") as f:
keys = set()
try:
while True:
e = pickle.load(f)
k = e.entry
k = re.sub( "\([^)]*\)", "", k )
k = re.sub( "\[[^]]*\]", "", k )
keys.add(k)
except EOFError:
pass
for k in keys:
out.write('%s\n' % k)
if __name__ == "__main__":
pdb.set_trace()
import optparse
parser = optparse.OptionParser( __doc__.strip() )
parser.add_option( "-d", "--db",
help="database name",
dest="db", default="pylookup.db" )
parser.add_option( "-l", "--lookup",
help="keyword to search",
dest="key" )
parser.add_option( "-u", "--update",
help="update url or path",
action="append", type="str", dest="url" )
parser.add_option( "-c", "--cache" ,
help="extract keywords, internally used",
action="store_true", default=False, dest="cache")
parser.add_option( "-a", "--append",
help="append to the db from multiple sources",
action="store_true", default=False, dest="append")
parser.add_option( "-f", "--format",
help="type of output formatting, valid: Emacs, Terminal",
choices=["Emacs", "Terminal"],
default="Terminal", dest="format")
parser.add_option( "-i", "--insensitive", default=1, choices=['0', '1'],
help="SEARCH OPTION: insensitive search "
"(valid: 0, 1; default: %default)")
parser.add_option( "-s", "--desc", default=1, choices=['0', '1'],
help="SEARCH OPTION: include description field "
"(valid: 0, 1; default: %default)")
parser.add_option("-v", "--verbose",
help="verbose", action="store_true",
dest="verbose", default=False)
( opts, args ) = parser.parse_args()
VERBOSE = opts.verbose
if opts.url:
update(opts.db, opts.url, opts.append)
if opts.cache:
cache(opts.db)
if opts.key:
lookup(opts.db, opts.key, FORMATS[opts.format],
insensitive=int(opts.insensitive), desc=int(opts.desc))

Similar Messages

  • I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:  Cannot complete i Tunes Store request. A required iTunes com

    I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. I amrunning iTunes 8.2.1 (6) and not able to upgrade iTunes on this computer. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:
    Cannot complete  iTunes Store request. A required iTunes component is not installed (-42404)
    Please help.

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • Emac and external hard drive

    I have an emac and an Acomdata external hard drivve, that has bee working for the past year, no problems, but now the emac won't read the hard drive. I went into to disk utilities and the hard drive is there it's just not mounted, any ideas on how to remount it?
    Chris

    I had a similar problem, with my SmartDisk 80, have you tried journaling the drive; with the Disc Utility.
    Google Search: journaling hard drive os/x
    I have an emac and an Acomdata external hard drivve,
    that has bee working for the past year, no problems,
    but now the emac won't read the hard drive. I went
    into to disk utilities and the hard drive is there
    it's just not mounted, any ideas on how to remount
    it?
    Chris
    eMac G4 ●1 Ghz ●1 Gb Ram ●Barracuda ST360015A 7200 60Gb Hard Drive Mac OS X (10.3.9) ●SmartDisk 7200 80Gb HD

  • 2003 eMac and 23inches new Apple display compatible?

    I just got a new display (23in Apple) and I would like to plug it in my eMac
    which only seems to have a VGA oulet,
    Does anyone know of an adaptor that could do the trick?
    Couldn't see any on the Mac online store.
    Thanks a million for any suggestion.
    Francis

    There are VGA to DVI converters, but they run about $300.00 US (you can find one such here). And your eMac doesn't support extended desktop, only mirroring, so unless you install a firmware hack (which you use strictly at your own risk), you would get the same picture at the same resolution as on your eMac's screen. Even with the hack, I'm not sure if the eMac would support the 23" LCD's resolution.
    So it's up to you whether or not it's worth it. You could probably sell your eMac and combine that with the cost of the converter and buy a new Mac mini which would support that monitor directly.

  • Are the eMac and the G4 Mac Mini similar enough to...

    use the eMac's tiger upgrade to upgrade my mini to Tiger? I know the other versions of tiger upgrades are specific to the hardware, i.e. powerbook, ibook, imac, ect. But seems to me eMac and the G4 mini are very similar. Possible?
    thanks
    ~bill

    " Are the eMac and the G4 Mac Mini similar enough to use the eMac's tiger upgrade to upgrade my mini to Tiger? "
    No.
    "I know the other versions of tiger upgrades are specific to the hardware"
    And so are the eMac's upgrade discs.

  • Networking eMac and MacBook

    Hi,
    I have a eMac, MacBook, HP Printer *** Scanner *** Photocopier and a External Hard Drive and want to set up a network with Airport Extreme. The purpose being to be able to access my eMac HD from my MacBook and vice versa. Similarly I want to use the Pinter *** Scanner for both my eMac and MacBook and also use the external HDD for both my eMac and MacBook. I also am using wi-fi to connect to the net.
    1. Is it possible to create a network?
    2. If possible, how difficult is it?
    3. What are the other software and hardware that is required to create this network?
    Thanks and Regards,
    Senthil

    1. Is it possible to create a network?
    The AirPort Extreme base station (AEBS) is a router so using an AEBS creates a network.
    The USB port on the AEBS does NOT support scanning. The USB port supports printing and hard drives ONLY.
    3. What are the other software and hardware that is required to create this network?
    Connect a router like the AEBS. That is all you need.

  • I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features l

    I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features like? I need to use mirror feature and high quality printing and it will not work.

    jdanek
    It is an eMac. I have a corrupted font book. How can I fix/re-install/or download a new font book app? Most fonts that were in it work, some do not, but I cannot open it nor can I install fonts into it.  This happened after the eMac OS was upgraded from 10.3.9 to 10.4.11 and AI was upgraded to CS2
    Kind regards,
    Steve Mosher
    Village Graphics LLC
    438 Troy Loop
    The Villages,  FL  32162
    352-409-6853
    [email protected]

  • Approving applications for emacs and intelimacs through WGM in Leopard

    We are in the process of approving applications in Workgroup Manager with Leopard 10.5.2 across the board on emacs and intelimacs. We are having a problem with approving applications to work on both types of computers. For example, if we approve Firefox in Workgroup Manager, on an intelimac the applications as a user will not work on the emacs. On the other hand, if we approved the application on an emac, it will not work as a user on the intelimac. We have had success on most of the applications but not all. What are we missing? Thanks.

    Hey People,
    Just in case anyone is having the kind of problem I was facing a few days ago, the solution is that the client machines must be Mac os x 10.6.4 and above.  After upgrading the client machines to 10.6.4, I could apply the policies, specify the kind of applications I wanted users and computers to run using WGM.
    I'm not saying this is an expert solution, but it sure did work for me. 
    Cheers.

  • Emacs AND emacs-nox

    I'd like to use on the same machine both emacs and emacs-nox. But they are mutually exclusive. A proximate cause is that they both give
    the same name, 'emacs', to the resulting executable. I presume there are no fundamental conflicts between the X and the no-X versions
    of Emacs, and I'd be perfectly happy to run emacs-nox under a different name. How can I get it my way?
    The reason I want emacs-nox is that I need a just-in-time, disposable, mini-emacs, to be evoked for a brief moment in, say, the 'root' permission terminal that I keep constantly open to run a root-authority commands or touch up a system file. I used to use zile for that, but it is not 100% compatible with emacs, lacks many of the most common commands, and doesn't handle well Ctrl, Alt, Bcksp, and friends.
    When looking for a small-footprint version of emacs for the Raspberry Pi, I realized that emacs-nox has a much smaller footprint not only than emacs, but also than emacs -nw, and in fact is not much bigger than zile itself. So, why use a crippled app if one can use the real thing at very
    little extra cost?
    What do you think? Thanks

    rugantino wrote:The reason I want emacs-nox is that I need a just-in-time, disposable, mini-emacs, to be evoked for a brief moment in, say, the 'root' permission terminal that I keep constantly open to run a root-authority commands or touch up a system file. I used to use zile for that, but it is not 100% compatible with emacs, lacks many of the most common commands, and doesn't handle well Ctrl, Alt, Bcksp, and friends.
    Use TRAMP to edit files via sudo within Emacs. No need to start up a new instance.
    Alternatively, use ABS to recompile it and add the --program-{prefix,suffix} option to change the name of the binary to emacs-nox or whatever.
    Last edited by jakobcreutzfeldt (2013-06-01 10:20:04)

  • EMac and Sony MiniDV

    Hi there,
    Can anyone tell me why my eMac won't find the firewire connected (either port) Sony MiniDV Handycam?
    I connect it all as described (MiniDV set to playback - connected through firewire cable to eMac) and nothing...
    The screen on the Handycam blinks every 3 seconds and shows the DV in signal (I actually want DV out) - but nothing else.
    It all works fine if I connect it to my IBM Notebook via another cable. Am I missing a setting? Or could my cable / firewire ports be cactus?
    Cheers

    Do you have any other Firewire devices? To confirm the impression I got from your post, you're attempting to connect directly to the eMac, and not through a Firewire hub, right?
    With nothing attached to the Firewire ports, open System Profiler (in Applications/ Utilities) and check that the Firewire bus itself shows up. If it doesn't, reset the eMac's Firewire bus triple fuses (they can be tripped and latched by momentary power glitches) by removing all peripherals other than the Apple USB keyboard and mouse, then removing the power cord from the side of the eMac (to remove the trickle current drawn by modern electronics even when nominally off) and waiting 15+ minutes. Then reattach the power cord only and start up the Mac. Check System Profiler again and confirm that the Firewire bus is recognized. Reattach peripherals (the MiniDV camera) one at a time, checking System Profiler after each to confirm the addition is recognized.
    Let's not overlook the too-obvious either; check the Finder's preferences and make sure the "show these items on the desktop" boxes are checked.

  • Older Emac and Final Cut Express 3.5

    I have a lab full of 8 older eMacs (768 MB of RAM, running 10.4.2, 700mHz, 32 MB of VRAM with a GeForce 2 MX graphics card) and want to update to FCE 3.5. Does anyone know of potential problems that I might have? I checked the tech specs and my graphic card is compatible with Quartz Extreme so theoretically it should be OK but I wonder if I will have issues...Thanks for any words of advice!
    eMac   Mac OS X (10.4.2)  

    Hi Timothy,
    Your eMacs should be fine; rendering time & RT effects are the places where you would see the main differences between your 700MHz eMacs and faster ones.
    My observations would be 1) 768MB is a little thin, imho, and if you could justify upgrading to 1GB RAM you will find things running better, and 2) for DV your eMacs are fine however for HDV, the FCE spec says minimum 1GHz processor and minimum 1GB RAM.

  • I have a eMac and i was wondering if its possible to upgrade the processor?

    I have an eMac and it is very slow so I was looking at upgrading some of the parts. I know I can fit in new RAM but is it possible to get and install a new faster processor?

    I vaguely remember there may have been one model that could be, but most are not upgradable, which exact eMac is it?
    So we know more about it...
    At the Apple Icon at top left>About this Mac, report the version of OSX from that window, then click on More Info, then click on Hardware> and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: eMac
    Model Identifier: PowerMac6,4
    Processor Name: PowerPC G4 (1.2)
    Processor Speed: 1.42 GHz
    Number Of CPUs: 1
    L2 Cache (per CPU): 512 KB
    Memory: 2 GB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.9.2f1

  • Problem with Internet connection sharing between eMac and Powerbook G3

    Hi,
    I seem to be having a slight problem with internet connection sharing.
    My eMac is the main machine with the internet connection, and its running 10.4.6, the Powerbook G3 is running 10.2.8.
    I can connect them all up and get online with both, but I the problem I am having is when I turn the Firewall on on the eMac, the powerbook can't connect.
    Is there anyway I can keep the Firewall enabled and still use internet connection sharing?

    How do I know which ports the Powerbook is using?
    Also I had web sharing enabled on the eMac and it made no difference at all.
    Plus I don't know if this means anything to you, trying to decipher it myself, all I can make out myself on there is port 80.
    May 31 21:26:30 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49743 67.15.24.40:80 in via en1
    May 31 21:26:34 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49531
    May 31 21:26:34 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49532
    May 31 21:26:39 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49533
    May 31 21:26:39 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49534
    May 31 21:26:42 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49743 67.15.24.40:80 in via en1
    May 31 21:26:44 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49535
    May 31 21:26:44 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49536
    May 31 21:29:12 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49746 17.254.0.91:80 in via en1
    May 31 21:29:15 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49746 17.254.0.91:80 in via en1

  • Emacs and imacs noise?

    How do you compare the noise emacs and imacs make?
    The only thing I don't want for my eMac is the noisy fan. And maybe I'll switch for an iMac.
    Thank you

    eMacs are noise pollution city.
    I registered the constant noise from a old eMac 800 mhz at being 73db.
    It drives you batty.
    The iMac's are virtually silent, only making a slight kechunk sound when eatting and spitting cd's. You'll love it. They are quieter than most PowerMac G5's.
    Problem right now is the new iMac's are intel processor based core duals, they are fast, but not a whole lot of software is ready for them natively yet, but will run at reduced performance using PPC based software under emulation (rosetta). Some games might not work either.
    If you depend on Photoshop performance, Adobe might not have a native Intel version ready for another 14 months.
    Coming from a eMac, the iMactel with Core Duo proccessors will seem very fast to you.
    http://appleintelfaq.com/

  • Emacs and emacs -nw with solarized look different

    Hey,
    I installed solarized for emacs and in my .Xdefaults (https://github.com/solarized/xresources/blob/master/solarized from here).
    Emacs looks fine, but everything in my urxvt looks slightly off, compared to emacs.
    Here is a screen shot between emacs -nw and emacs side by side:
    http://p67.img-up.net/screenshot8025.png
    The colors are kind of switched. Is there something wrong with the color scheme in my xresources?
    Or do I have to to something additional to get the solarized look right in emacs -nw and urxvt?
    Thanks!
    EDIT:
    setting:URxvt*termName: rxvt-unicode-256color
    change the look of emacs -nw, but now it looks even more wrong.
    Other console programms look better now.
    Last edited by schlicht (2013-08-27 15:09:27)

    Ok I've installed everything and put the following into the .emacs file:
    (require 'org-install)
    ;; The following lines are always needed. Choose your own keys.
    (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
    (global-set-key "\C-cl" 'org-store-link)
    (global-set-key "\C-ca" 'org-agenda)
    (global-set-key "\C-cb" 'org-iswitchb)
    (global-font-lock-mode 1)
    ; for all buffers
    ;;;orgbabel;;;;
    (org-babel-do-load-languages
    'org-babel-load-languages
    '((R . t)
    The last part being the bit about babel - the business end for R. Now I don't need to install anything else? Or any other lisp's for babel? But! The .emacs file is not producing any errors now when I start emacs up.
    [EDIT] Everything work's now I've installed an external - more up to date distribution of Org!
    Last edited by Ben9250 (2010-10-26 19:53:54)

Maybe you are looking for

  • I need some major help fast please

    I am not sure if anyone will help me here but this is important to me. I paly game alot @ games.com this is a java ran site. there are some people there that out of pure evil will whisper to someone and delete there screen name. there is a java code

  • ID CS3 Transparency weirdness with text/special effects

    Okay, I was putting together a brochure for my job today and noticed this oddity. I placed a text box w/text over a stock photo and printed it out - everything was fine. Then I added a drop shadow to the text and all of a sudden the photo became rath

  • Error Message:msvcp110.dll

    I have Elements 11 - I cannot open editor as there is an error message "MSVCP110.dll" is missing from your computer.  This happened yesterday.  Someone said it might be something to do with NIK plugin.  The only thing I had was a trial version of the

  • Black and random album

    ok so on my ipod 2nd generation i will tilt the ipod to look at my albums. I will scroll through them and some will either go black with no album art or some will have album art but will be black until you scroll to it. (it is there but only until yo

  • DVD-A Mac ?

    I'd like to listen to a DVD Audio with my HiFi, which is in my office. All the DVD stuff is in my living room, without HiFi. I can't carry my DVD player around every time I'd like to listen to a hi def recording like this. Is there a way to get the D