Closed Toxaris closed 9 years ago
On it.
:+1: It seems very good, so merging. I have just two minor problems:
- visit UU.lpts, the mode should load, nothing should break, you should get syntax highlighting.
No, at that point pts-mode
doesn't even exist. I need to reexecute the Emacs snippet in .emacs (or in a separate file). But I am not sure your code is at fault here.
- Visit UU/T/cps.lpts and press C-c C-l. This time, emacs should guess the project directory from the module statement and only ask you for the instance.
That doesn't work if you visit Uu/T/cps.lpts
(if you manage to get Emacs not to fix the case) — I think that's a minor issue, but since we use both case-insensitive OSes, I thought I could mention it. (Why did I even try in the first place? Not sure).
I fixed the first problem, so I'm all set. This was the error I got:
Loading /Users/pgiarrusso/.emacs.d/pts.el (source)...
Loading PTS returned an invalid path: /bin/bash: pts: command not found
Loading /Users/pgiarrusso/.emacs.d/pts.el (source)...done
see commit if you want gory details.
I need to reexecute the Emacs snippet in .emacs (or in a separate file). But I am not sure your code is at fault here.
Sounds like you skipped the "restart emacs" step.
Ahh no, thats because of your path situation, now I get it.
Ahh no, thats because of your path situation, now I get it.
:+1:
On my desktop@work I forgot to update pts. The result was funny:
Loading /Users/pgiarrusso/.emacs.d/pts.el (source)...
Tramp: Opening connection for pts using scp...
Tramp: Sending command `exec ssh -e none pts'
Tramp: Waiting for prompts from remote shell
Tramp: Sending command `exec ssh -e none pts'
Tramp: Opening connection for pts using scp...done
Updating pts
fixed the problem, but this failure mode looks still "interesting". Whatever.
Related to #13?
Yeahish... Googling "Emacs pts" mentions /dev/pts/
, which is the Linux name for virtual terminal paths :-).
Can you test whether this works on your machine, Paolo?
Stuff that should work: