Comments (10)
Thanks for reporting this. Strange. url-http
should be provided by the url-http
package that tern.el
requires at the top of the file (and which is supposed to be included in the Emacs distribution). If you do M-x apropos url-http
, does it find anything (that actually starts with those words)?
from tern.
For some reason I don't have the normal url-http function installed, just url-https
url-https
Function: (not documented)
url-https-expand-file-name
Function: (not documented)
url-https-file-attributes
Function: (not documented)
url-https-file-exists-p
Function: (not documented)
url-https-file-readable-p
Function: (not documented)
from tern.
What happens when you evaluate (require 'url-http)
in the *scratch*
buffer? And is the url
package shown as built-in when you browse to it under M-x package-list-packages
?
from tern.
The first step works fine, in scratch
(require 'url-http)
M-x eval-buffer
And no errors
And the url package is the built in one, from what I can tell,
url built-in Uniform Resource Locator retrieval tool
from tern.
Well, that's getting more and more odd. Did you install emacs in some funky way, or is it a standard package? If so, where does it come from?
Does a file like /usr/share/emacs/24.1/lisp/url/url-http.elc
exist on your system?
Did you try restarting emacs?
from tern.
I am using the emacs-snapshot package on debian.
Package: emacs-snapshot
New: yes
State: installed
Automatically installed: no
Version: 2:20130207-1
Priority: optional
Section: editors
Maintainer: Julien Danjou [email protected]
Architecture: amd64
Uncompressed Size: 14.7 M
Depends: emacs-snapshot-bin-common (= 2:20130207-1), libasound2 (>= 1.0.16), libc6 (>= 2.11), libcairo2 (>= 1.2.4),
libdbus-1-3 (>= 1.5.12), libfontconfig1 (>= 2.9.0), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0),
libgif4 (>= 4.1.4), libglib2.0-0 (>= 2.26.0), libgnutls26 (>= 2.12.17-0), libgpm2 (>= 1.20.4), libgtk-3-0
(>= 3.2.1), libice6 (>= 1:1.0.0), libjpeg8 (>= 8c), libm17n-0 (>= 1.6.1), libmagickcore5 (>= 8:6.7.7.10),
libmagickwand5 (>= 8:6.7.7.10), libotf0 (>= 0.9.11), libpango1.0-0 (>= 1.18.0), libpng12-0 (>= 1.2.13-4),
librsvg2-2 (>= 2.14.4), libselinux1 (>= 1.32), libsm6, libtiff4 (> 3.9.5-3~), libtinfo5, libx11-6, libxft2
(> 2.1.1), libxml2 (>= 2.7.4), libxpm4, libxrender1
PreDepends: dpkg (>= 1.15.6)
Conflicts: emacs-snapshot-gtk (<= 1:20070824-1), emacs-snapshot-gtk (<= 1:20070824-1), emacs-snapshot
Provides: editor, emacsen, info-browser, mail-reader, news-reader
Provided by: emacs-snapshot-lucid, emacs-snapshot-nox
Description: The GNU Emacs editor (development snapshot)
GNU Emacs is the extensible self-documenting text editor.
Homepage: http://www.gnu.org/software/emacs/
And I have two copies of that file on my system, because I have two copies of emacs installed.
/usr/share/emacs/23.4/lisp/url/url-http.elc
/usr/share/emacs/24.3.50/lisp/url/url-http.elc
Maybe I should uninstall both and compile from source?
from tern.
Having multiple Emacsen installed should usually work without trouble, and if you're using the snapshot package, I would hope that that is not a messed up version.
I must say I'm clueless what could be causing this. I don't have a deep grasp of emacs internals, but it seems that if the file is present, and the require
call succeeds, there's something deeply wrong when that doesn't cause the actual function defined in that file to be defined.
from tern.
:(. Oh well maybe I will look into it more and see if I can fix it.
Thanks for taking a look at this.
from tern.
@marijnh tern.el doesn't seem to require url-http
from tern.
Indeed. I assumed this was implicit in requiring 'url
. Maybe not. I've added it.
from tern.
Related Issues (20)
- Website still features "looking for maintainers" spiel HOT 1
- [Bug] The autocompletion for prototype HOT 3
- [BUG] defining the type for the argument of a function HOT 4
- how can i make any use of the !url tag?
- Tern plugin not avaliable in Jenkins
- require.js + defs
- es6 class arrow function method TypeError
- Function information tooltip
- No autocomplete on my objects HOT 2
- Failed to launch development process with webpack after installing tern@latest npm package HOT 2
- Bug fixed. Wrong filename for jump to definition
- acorn-lose error with tern 0.23.3 or up HOT 2
- Simple text search for tern HOT 4
- Is there any way to analyzed code in runtime?
- mix type definitions
- Using `es_modules` and `node` plugin together breaks jump to definition in some cases
- Jump to definition doesn't work from `export` es6 syntax
- Is Tern.js library in active development/support? HOT 9
- Tern not identifying js property references in the given case
- Avoid duplicate name definition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern.