Hi TRAMP community,

I'm trying to set connection local profile work.
I connect to a remote directory through SSH using bookmark.
But when I check the variables, none have changed and
connection-local-criteria is set to nil (indicating that no profile has
been set ?).
Can someone help me understand what's going on ?

Best regards,

Config:
(after! tramp
  (setq connection-local-criteria-alist nil)
  (setq connection-local-profile-alist nil)
  (connection-local-set-profile-variables
   'remote-bird
   '((detached-shell-program . "~/bin/dtach")
     (detached-session-directory . "~/tmp")
     (detached-dtach-program . "dtach")
     (shell-file-name . "/usr/bin/bash")
     (shell-command-switch . "-c")
     (conda-anaconda-home . "/CONDAS/users/schevolleau/anaconda3")
     (conda--executable-path . 
"/CONDAS/users/schevolleau/anaconda3/condabin/conda")
     (shell-interactive-switch . "-i")))

  (connection-local-set-profiles
   '(:application tramp :protocol "ssh") 'remote-bird)
  )

Here are my versions:
GNU Emacs     v29.1            nil
Doom core     v3.0.0-pre       HEAD -> master f0ad1616 2024-02-17 07:13:39 -0500
Doom modules  v24.02.0-pre     HEAD -> master f0ad1616 2024-02-17 07:13:39 -0500
tramp                          2.6.2.2        available    gnu      Transparent 
Remote Access, Multiple Protocol


--
Simon CHEVOLLEAU
Bioinformatic PhD student in human peri-implantation development
CRTI - INSERM UMR 1064 - Equipe 2
30 Bd Jean Monnet, 44093 Nantes Cedex 01
Tel +33 (0)6 64 61 89 46
Nantes, France

Reply via email to