• blawsybogsy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    that’s interesting and also pretty frustrating. i didn’t think i’d encounter such issues using plstore. are you able to provide a backtrace for the error? it’ll show what is calling the encryption functions, and there could be an error before the one displayed. also try manually opening the .plstore file in your .emacs.d directory and encrypt and decrypt it while open. maybe you do just have some plstore problems. / btw, lemmy and lem.el require markdown, so best to install it. the latter requires markdown-mode too.

    • oantolin@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I think the entire problem is that I had epg-pinentry-mode set to nil, I changed it to 'loopback and now things seem to be working properly. I don’t understand why lem.el uses a passphrase with GPG while it seems like mastodon.el doesn’t. Let’s see if posting this via lem.el works!

      EDIT: Yep, it worked and editing comments works too! By the way, tons of unbound commands like lem-ui-edit-comment deserve key bindings.

    • oantolin@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I’ll post a back trace later. I understand the dependence on markdown-mode, but why also an external markdown executable? You could just let markdown-mode fontify the text and people can hide the markup symbols if they like. I use markdown-mode a lot and it never once occurred to me that I needed a markdown converter.

      EDIT: Things seem to be working now that I have epg-pinentry-mode set to 'loopback, so I won’t post the backtrace after all.

      • blawsybogsy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        glad you got going!

        thanks for opening issues in the repo.

        bindings are just work to do. development moving v fast, mainly I’m just still trying to add basic features. eg posting is only 4 days old.

        I’m not sure about the markdown issue, I just require markdown-mode. mayb I use a fn in the mode that requires the binary.

        Lemmy uses markdown, so to render post content I take the markdown data, render it using markdown-mode, then render the HTML output.

        not sure how else to do that, nor how to not rely on markdown mode.

        I shd look into it more, but mainly I had to just find my own way, as Lemmy is hardly documented at all.

        feel free to make more requests, its easier than fumbling along alone.