this post was submitted on 31 Jul 2023
1 points (66.7% liked)

Emacs

311 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] blawsybogsy@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (8 children)

interesting. mastodon.el also uses plstore, so if it works (saving your credentials) your machine's encryption should be working. but the auth process for the two services is totally different, so I had to write the lem.el auth code from scratch. I can take a look at it v soon, I'm keen to have any auth issues sorted out asap.

it'd help if you cd describe when the error message appears, or what exactly you do that causes it.

actually a backtrace would be most useful to track down the error.

you cd also try opening the plstore file in your .Emacs.d folder and encrypting / decrypting it.

thanks!

[–] oantolin@discuss.online 2 points 1 year ago* (last edited 1 year ago) (5 children)

I can see posts in lem! I guessed correctly that issue with GPG was that it really, really wanted a tty, so I tried logging in from emacs -nw and that worked. Once the credentials are stored I can use lem from GUI Emacs! Apparently I need to install some markdown executable... I faked it with ln -s /bin/cat ~/bin/markdown and everything is hideous but useable! 😛

I tried posting this comment from lem and it seemed to work but I can't seem to see it here, so I'm posting again from the browser. I'm getting closer and closer to lem working and am very excited.

EDIT: spoke too soon, now I get DEcryption errors even in emacs -nw. Maybe I'm out of my depth here.

[–] blawsybogsy@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (4 children)

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 1 points 1 year ago* (last edited 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.

load more comments (3 replies)
load more comments (3 replies)
load more comments (5 replies)