oantolin

joined 2 years ago
[–] oantolin@discuss.online 1 points 2 years ago* (last edited 2 years 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 1 points 2 years ago* (last edited 2 years ago) (2 children)

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.

[–] oantolin@discuss.online 2 points 2 years ago* (last edited 2 years 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.

[–] oantolin@discuss.online 2 points 2 years ago

I get that EXWM is not the minimalist experience Howard is going for here, but I do wonder if he's tried it.

[–] oantolin@discuss.online 1 points 2 years ago

Does that ioctl error in my sibling comment sound like GPG is expecting me to type the password at a tty instead of Emacs or something like that?

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

Does this help? With debug on error I get two hidden buffers:

*epg* contains:

Process epg exited abnormally with code 2
[GNUPG:] NEED_PASSPHRASE_SYM 9 3 2
[GNUPG:] PINENTRY_LAUNCHED 10719 curses 1.1.0 - dumb :0
[GNUPG:] ERROR get_passphrase 32870
[GNUPG:] CANCELED_BY_USER
[GNUPG:] FAILURE symencrypt 33554531

And *epg-error* contains:

gpg: problem with the agent: Inappropriate ioctl for device
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of '[stdin]' failed: Operation cancelled
[–] oantolin@discuss.online 2 points 2 years ago

It's a little weird that the default theme is technically not a theme. Maybe Emacs should just ditch the code that goes into setting up the default "theme" and use these actual themes instead.

[–] oantolin@discuss.online 2 points 2 years ago (9 children)

Well, I keeping getting an error message that says: plstore--insert-buffer: GPG error: "Encrypt failed", "Exit".

Do I need to install a GPG executable or a GPG library? What is it even trying to Encrypt, can I turn that off? Why doesn't mastodon.el give me the same error?

[–] oantolin@discuss.online 3 points 2 years ago (11 children)

I couldn't quickly get this to work, but I'll try harder later. I love mastodon.el by the same person.

[–] oantolin@discuss.online 3 points 2 years ago

It would be nice if the README had a comparison with the Emacs gist packages, of which I think there are at least a couple.

view more: ‹ prev next ›