Hi Michael,
I did include my settings "Aliases and PATH" in .profile but had no luck.

Here is an example:

I use gid in emacs to find tags. I have this in my .emacs file:
(global-set-key [f4]           'gid)      

(defvar gid-command "gid" "The command run by the gid function.")
(defun gid (args)
  (interactive (list (word-around-point)))
  ;; Dynamically set the compilation-start-hook to setup gid highlighting
  (let* ((compilation-start-hook '(my-gid-highlight-setup))
         (compilation-buffer-name-function (lambda (mode) "*gid*"))
         ;; Assuming the token to be searched is at the end of args
         (search-token (car (last (split-string args))))
         )
    ;; Set the regexp used to highlight the token (use in "my-highlight-regexp")
    (setq my-current-id-regexp (format ":[0-9]+:.*\\(%s\\)" search-token))
    ;; Start gid
    (compilation-start (concat gid-command " " args)))
  )

I included both, an alias to gid's path and the PATH itself like so:

alias gid='/import/freetools/exe/gid'
PATH= /import/freetools/exe/gid:PATH; export PATH;

I tried to comment one and keep the other each time.

But still, whenever I try gid, this what I see:

gid  someterm
/bin/sh: gid: not found


What is missing in my setup?


_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to