Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. If I really want to shave a GNU Emacs yak, I could try sorting out TRAMP, which is a complete mess because I use a non-standard shell and shell environment.

If I really want to shave a GNU Emacs yak, I could try sorting out TRAMP, which is a complete mess because I use a non-standard shell and shell environment.

Scheduled Pinned Locked Moved Uncategorized
19 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cks@mastodon.socialC cks@mastodon.social

    @rk TRAMP probably works great on all of the systems I don't care enough about to have gone to the bother of setting up rc and I'm just using bash as a login shell. Unfortunately those are also the systems where I normally don't have anything I want to edit.

    cks@mastodon.socialC This user is from outside of this forum
    cks@mastodon.socialC This user is from outside of this forum
    cks@mastodon.social
    wrote last edited by
    #6

    @rk When TRAMP actually works it can do some spooky impressive things. I just TRAMP'd off to my FreeBSD test machine, started magit, pulled an update to a program¹, started a (Go) LSP server, and compiled the program, all remotely. Of course it probably would have been faster to SSH to the machine to do 'git pull; go build', but whatever. It's not that the bear dances beautifully, it's that it dances.

    ¹ https://github.com/siebenmann/call

    1 Reply Last reply
    0
    • cks@mastodon.socialC cks@mastodon.social

      If I really want to shave a GNU Emacs yak, I could try sorting out TRAMP, which is a complete mess because I use a non-standard shell and shell environment. But, you know, I don't need remote editing that much.

      It's not that yak has too much hair. It's that its extremely tough, entangled hair. With thorns.

      cks@mastodon.socialC This user is from outside of this forum
      cks@mastodon.socialC This user is from outside of this forum
      cks@mastodon.social
      wrote last edited by
      #7

      One of my GNU Emacs TRAMP issues turns out to be that not only do I have a non-standard shell, it has a non-standard prompt that TRAMP doesn't recognize.

      This is my face about wrestling with GNU Emacs regular expressions.

      cks@mastodon.socialC 1 Reply Last reply
      0
      • cks@mastodon.socialC cks@mastodon.social

        One of my GNU Emacs TRAMP issues turns out to be that not only do I have a non-standard shell, it has a non-standard prompt that TRAMP doesn't recognize.

        This is my face about wrestling with GNU Emacs regular expressions.

        cks@mastodon.socialC This user is from outside of this forum
        cks@mastodon.socialC This user is from outside of this forum
        cks@mastodon.social
        wrote last edited by
        #8

        This is my face when TRAMP absolutely requires your normal remote shell to accept backslash quoting of '#' and '$'. This fails spectacularly on my shell, of course.

        cks@mastodon.socialC jdebp@tty0.socialJ 2 Replies Last reply
        0
        • cks@mastodon.socialC cks@mastodon.social

          This is my face when TRAMP absolutely requires your normal remote shell to accept backslash quoting of '#' and '$'. This fails spectacularly on my shell, of course.

          cks@mastodon.socialC This user is from outside of this forum
          cks@mastodon.socialC This user is from outside of this forum
          cks@mastodon.social
          wrote last edited by
          #9

          On the positive side, writing GNU Emacs regular expressions with rx is quite pleasant and thankfully TRAMP was already using rx for the regexp I had to change (augment). Not that augmenting it to recognize my shell's prompt was useful by itself, because of that whole backslash quoting thing.

          cks@mastodon.socialC 1 Reply Last reply
          0
          • cks@mastodon.socialC cks@mastodon.social

            On the positive side, writing GNU Emacs regular expressions with rx is quite pleasant and thankfully TRAMP was already using rx for the regexp I had to change (augment). Not that augmenting it to recognize my shell's prompt was useful by itself, because of that whole backslash quoting thing.

            cks@mastodon.socialC This user is from outside of this forum
            cks@mastodon.socialC This user is from outside of this forum
            cks@mastodon.social
            wrote last edited by
            #10

            This is my face when setting tramp-remote-path appears to do exactly nothing to change how Eglot doesn't find 'gopls' anywhere. And it's not using my local $PATH, either. TRAMP and/or Eglot search some apparently hard coded list of things and give up, since said list includes nothing in $HOME.

            cks@mastodon.socialC 1 Reply Last reply
            0
            • cks@mastodon.socialC cks@mastodon.social

              This is my face when setting tramp-remote-path appears to do exactly nothing to change how Eglot doesn't find 'gopls' anywhere. And it's not using my local $PATH, either. TRAMP and/or Eglot search some apparently hard coded list of things and give up, since said list includes nothing in $HOME.

              cks@mastodon.socialC This user is from outside of this forum
              cks@mastodon.socialC This user is from outside of this forum
              cks@mastodon.social
              wrote last edited by
              #11

              And now tramp-remote-path appears to work for me. No, I don't get what's going on, but I'll take it.

              Also, it would be nice if I could make '(use-package tramp ...)' work and let me automatically apply hooks and changes when TRAMP first activates, but not so far, so I'll have to remember to run a magic customization command when I care.

              Do I really understand what I'm doing with GNU Emacs? Not always.

              cks@mastodon.socialC 1 Reply Last reply
              0
              • cks@mastodon.socialC cks@mastodon.social

                And now tramp-remote-path appears to work for me. No, I don't get what's going on, but I'll take it.

                Also, it would be nice if I could make '(use-package tramp ...)' work and let me automatically apply hooks and changes when TRAMP first activates, but not so far, so I'll have to remember to run a magic customization command when I care.

                Do I really understand what I'm doing with GNU Emacs? Not always.

                cks@mastodon.socialC This user is from outside of this forum
                cks@mastodon.socialC This user is from outside of this forum
                cks@mastodon.social
                wrote last edited by
                #12

                Actually tramp-remote-path appears to work some of the time and not work some of the time and do I know why? No, no I do not.

                cks@mastodon.socialC 1 Reply Last reply
                0
                • cks@mastodon.socialC cks@mastodon.social

                  Actually tramp-remote-path appears to work some of the time and not work some of the time and do I know why? No, no I do not.

                  cks@mastodon.socialC This user is from outside of this forum
                  cks@mastodon.socialC This user is from outside of this forum
                  cks@mastodon.social
                  wrote last edited by
                  #13

                  Current status: I would like to set some combination of TRAMP and GNU Emacs ELisp on fire with the power of my mind because something that by all rights ought to be working is absolutely not working (ie, tramp-remote-path). Does TRAMP provide any *useful* debugging information for this failure? Lol no, of course not, it silently does something but even on verbosity 9, that something is opaque.

                  And people ask why I don't appreciate the wonders of TRAMP. This. This is why.

                  davecb@hachyderm.ioD cks@mastodon.socialC 2 Replies Last reply
                  0
                  • cks@mastodon.socialC cks@mastodon.social

                    Current status: I would like to set some combination of TRAMP and GNU Emacs ELisp on fire with the power of my mind because something that by all rights ought to be working is absolutely not working (ie, tramp-remote-path). Does TRAMP provide any *useful* debugging information for this failure? Lol no, of course not, it silently does something but even on verbosity 9, that something is opaque.

                    And people ask why I don't appreciate the wonders of TRAMP. This. This is why.

                    davecb@hachyderm.ioD This user is from outside of this forum
                    davecb@hachyderm.ioD This user is from outside of this forum
                    davecb@hachyderm.io
                    wrote last edited by
                    #14

                    @cks Combinatorial explosion

                    1 Reply Last reply
                    0
                    • cks@mastodon.socialC cks@mastodon.social

                      This is my face when TRAMP absolutely requires your normal remote shell to accept backslash quoting of '#' and '$'. This fails spectacularly on my shell, of course.

                      jdebp@tty0.socialJ This user is from outside of this forum
                      jdebp@tty0.socialJ This user is from outside of this forum
                      jdebp@tty0.social
                      wrote last edited by
                      #15

                      @cks

                      Which shell is that?

                      #UnixShells

                      cks@mastodon.socialC 1 Reply Last reply
                      0
                      • jdebp@tty0.socialJ jdebp@tty0.social

                        @cks

                        Which shell is that?

                        #UnixShells

                        cks@mastodon.socialC This user is from outside of this forum
                        cks@mastodon.socialC This user is from outside of this forum
                        cks@mastodon.social
                        wrote last edited by
                        #16

                        @JdeBP A version of the Plan 9 rc, which has much, much simpler quoting that is decisively different.

                        (' ... ' quotes everything, '' inside is a single '.)

                        jdebp@tty0.socialJ 1 Reply Last reply
                        0
                        • cks@mastodon.socialC cks@mastodon.social

                          @JdeBP A version of the Plan 9 rc, which has much, much simpler quoting that is decisively different.

                          (' ... ' quotes everything, '' inside is a single '.)

                          jdebp@tty0.socialJ This user is from outside of this forum
                          jdebp@tty0.socialJ This user is from outside of this forum
                          jdebp@tty0.social
                          wrote last edited by
                          #17

                          @cks

                          I wondered whether it would be that. I couldn't think of much else as a possibility. Even the Thompson shell unescapes \$ .

                          1 Reply Last reply
                          0
                          • cks@mastodon.socialC cks@mastodon.social

                            Current status: I would like to set some combination of TRAMP and GNU Emacs ELisp on fire with the power of my mind because something that by all rights ought to be working is absolutely not working (ie, tramp-remote-path). Does TRAMP provide any *useful* debugging information for this failure? Lol no, of course not, it silently does something but even on verbosity 9, that something is opaque.

                            And people ask why I don't appreciate the wonders of TRAMP. This. This is why.

                            cks@mastodon.socialC This user is from outside of this forum
                            cks@mastodon.socialC This user is from outside of this forum
                            cks@mastodon.social
                            wrote last edited by
                            #18

                            On the positive side, I think I have my GNU Emacs TRAMP issues figured out, although not necessarily solved. I'm going to have to write a techblog entry about this (which will inevitably improve my understanding and illuminate dark corners, and which may be hysterically wrong in parts because I'm using an irritated chainsaw here).

                            I should not really have to read tramp.el to figure things out.

                            oclsc@mstdn.caO 1 Reply Last reply
                            0
                            • cks@mastodon.socialC cks@mastodon.social

                              On the positive side, I think I have my GNU Emacs TRAMP issues figured out, although not necessarily solved. I'm going to have to write a techblog entry about this (which will inevitably improve my understanding and illuminate dark corners, and which may be hysterically wrong in parts because I'm using an irritated chainsaw here).

                              I should not really have to read tramp.el to figure things out.

                              oclsc@mstdn.caO This user is from outside of this forum
                              oclsc@mstdn.caO This user is from outside of this forum
                              oclsc@mstdn.ca
                              wrote last edited by
                              #19

                              @cks So you've tramp.elled it into submission?

                              1 Reply Last reply
                              1
                              0
                              • R relay@relay.mycrowd.ca shared this topic
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups