unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how do I get tern working with emacs using company
@ 2017-03-08 12:02 Krishnakant
  2017-03-08 12:17 ` tomas
  2017-03-08 12:39 ` Dmitry Gutov
  0 siblings, 2 replies; 5+ messages in thread
From: Krishnakant @ 2017-03-08 12:02 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Dear all,

I am trying to get term to work with emacs on Ubuntu 16.04.

But when I go in turn-mode and then do M-x company-mode I get this error.

"searching for program, no such file or directory tern".

I am using ubuntu 16.04 and did not find a package that supports 
tern-mode in emacs.

Can any one help?

Happy hacking.

Krishnakant.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how do I get tern working with emacs using company
  2017-03-08 12:02 how do I get tern working with emacs using company Krishnakant
@ 2017-03-08 12:17 ` tomas
  2017-03-08 12:21   ` Krishnakant
  2017-03-08 12:39 ` Dmitry Gutov
  1 sibling, 1 reply; 5+ messages in thread
From: tomas @ 2017-03-08 12:17 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 08, 2017 at 05:32:10PM +0530, Krishnakant wrote:
> Dear all,
> 
> I am trying to get term to work with emacs on Ubuntu 16.04.

I guess "term" is a typo and you meant "tern" (at least the second
form is more frequent).

But what *is* tern? My web search comes up with lots of stuff, the
most plausible is a javascript thingie.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAli/9koACgkQBcgs9XrR2kZU7QCeLc+3OQiZ3ooNQ5H9BaGyaAA8
BeYAn10QnOLpZ02xf8aHhYroDFlpwMlV
=Nx7T
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how do I get tern working with emacs using company
  2017-03-08 12:17 ` tomas
@ 2017-03-08 12:21   ` Krishnakant
  2017-03-08 12:25     ` tomas
  0 siblings, 1 reply; 5+ messages in thread
From: Krishnakant @ 2017-03-08 12:21 UTC (permalink / raw)
  To: tomas, help-gnu-emacs



On Wednesday 08 March 2017 05:47 PM, tomas@tuxteam.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Mar 08, 2017 at 05:32:10PM +0530, Krishnakant wrote:
>> Dear all,
>>
>> I am trying to get term to work with emacs on Ubuntu 16.04.
> I guess "term" is a typo and you meant "tern" (at least the second
> form is more frequent).
>
> But what *is* tern? My web search comes up with lots of stuff, the
> most plausible is a javascript thingie.
>
Yes it is a javascript engine which frontends like company can use.
Happy hacking.
Krishnakant.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how do I get tern working with emacs using company
  2017-03-08 12:21   ` Krishnakant
@ 2017-03-08 12:25     ` tomas
  0 siblings, 0 replies; 5+ messages in thread
From: tomas @ 2017-03-08 12:25 UTC (permalink / raw)
  To: Krishnakant; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 08, 2017 at 05:51:59PM +0530, Krishnakant wrote:
> 
> 
> On Wednesday 08 March 2017 05:47 PM, tomas@tuxteam.de wrote:

[...]

> >But what *is* tern? [...]

> Yes it is a javascript engine which frontends like company can use.

Aha, thanks :)

Alas, that's too far away from my comfort zone for me to be of any
use...

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAli/+DIACgkQBcgs9XrR2kazYQCeOVwlUqaElW7TlKlvF2W9SFRl
vVQAnA9RQZa6MfA0mKpkwV38IIbjCgUQ
=xk9O
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how do I get tern working with emacs using company
  2017-03-08 12:02 how do I get tern working with emacs using company Krishnakant
  2017-03-08 12:17 ` tomas
@ 2017-03-08 12:39 ` Dmitry Gutov
  1 sibling, 0 replies; 5+ messages in thread
From: Dmitry Gutov @ 2017-03-08 12:39 UTC (permalink / raw)
  To: Krishnakant, help-gnu-emacs@gnu.org

On 08.03.2017 14:02, Krishnakant wrote:

> I am trying to get term to work with emacs on Ubuntu 16.04.
> 
> But when I go in turn-mode and then do M-x company-mode I get this error.
> 
> "searching for program, no such file or directory tern".

company-tern uses tern-command, defined in tern.el.

This is not a company question, it's a tern question. It has its own 
website, GitHub repo, and probably some relevant answers on Reddit, 
emacs.stackexchange.com, etc.

Offhand, you probably need to

npm install -g tern



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-08 12:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 12:02 how do I get tern working with emacs using company Krishnakant
2017-03-08 12:17 ` tomas
2017-03-08 12:21   ` Krishnakant
2017-03-08 12:25     ` tomas
2017-03-08 12:39 ` Dmitry Gutov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).