Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Terrorforge
Dec 22, 2013

More of a furnace, really
So I just got on this bandwagon a few days ago, and I'm having trouble with packages. I wanted to install LaTeX Preview Pane (http://www.emacswiki.org/emacs/LaTeXPreviewPane), and the wiki instructed me to just add the MELPA repository and package-install the thing, but as far as I can tell Emacs just won't contact the repository. Even that's conjecture, though, because I don't even know how to check if it's properly connected. I'm using Emacs 24.5.1 on windows 7 and the relevant parts of my .emacs currently looks like this:

code:
(require 'package)
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/"))
(when (< emacs-major-version 24)
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize)
I've tried different versions of this code, adding/removing the 's' in 'https', even tried to "manually" download package-filter.el the way MELPA's "Getting Started" page suggests just to see if it would help but it wouldn't even connect then either.

Adbot
ADBOT LOVES YOU

Terrorforge
Dec 22, 2013

More of a furnace, really
Sometimes you gotta ask the stupid questions. I forgot to turn things off and on again more than I care to admit. No, I am not behind a proxy.

I got it to work, though. I found the Marmalade instructions, and for some reason M-: (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) succeeded where typing the exact same thing into .emacs failed.

e: Actually I think I might be having trouble with .emnacs itself because now it's not registering the settings I added for LaTeX Preview Pane

e2: Oh, goddammit. I was fiddling with a completely useless .emacs I put in the install directory for some reason, not the actual init file that's buried somewhere in AppData. I think I've got this now.

Terrorforge fucked around with this message at 19:32 on Jan 21, 2016

  • Locked thread