oantolin

joined 1 year ago
[–] [email protected] 2 points 10 months ago

Wow, just running GUI Emacs is so much easier.

[–] [email protected] 2 points 10 months ago (1 children)

Did you mean counsel-compile?

[–] [email protected] 1 points 1 year ago

I should try that!

[–] [email protected] 1 points 1 year ago

I use it in all buffers whose major mode is derived from text-mode.

[–] [email protected] 1 points 1 year ago

By default undo does work in the scratch buffer so it is something in your configuration that is keeping this from working. As a quick way to check, try running emacs -q, which skips loading your configuration, and see if you have undo in the scratch buffer there; if so, it's definitely something you have in you configuration.

You can bisect your configuration to figure out how you are deactivating undo. You can do this manually or with the help of the bug-hunter package.

[–] [email protected] 1 points 1 year ago (2 children)

What's with all the occurrences of \n?

[–] [email protected] 7 points 1 year ago (1 children)

Acme doesn't stand for some generic editor! It's the famous acme text editor by Rob Pike. It's an interesting editor, very different from Emacs or Vim, and yes, very mousey. In this video Russ Cox gives a great overview: https://youtu.be/dP1xVpMPn8M

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I tried logging into codeberg to create some issues, but apparently I don't know my password anymore and codeberg's "Forgot password?" link is broken (it says it sent me an email but those are lies). So instead I'll just mention the issues I've found here (sorry to monopolize this thread so much), for @[email protected]:

  1. It seems like my GPG troubles were all solved by (setq epg-pinentry-mode 'loopback), maybe this should be mentioned in the documentation.

  2. I don't think lem.el needs to depend on an external program to render markdown. Instead I suggest just using markdown-mode's fontification, which is a dependency anyway!

  3. I'm not too fond of the emojify dependency either. I have a font with very nice emojis, why do I also need emojfiy downloading tons of images of emojis? Just use the unicode emoji characters directly.

  4. So many useful lem commands are unbound! There isn't even a keybinding to reply to post or comments! It seems like all the commands I would want exist, they just aren't bound in lem-mode-map.

  5. With the code I first cloned from codeberg, the command lem-ui-jump-to-subscribed showed all my communities as options, then I updated and now it seems that if several communities have the same name (I'm subscribed to emacs both on communick.news and on lemmy.ml, for example), only one gets shown as an option.

I think that's it. All in all I'm really enjoying the package, these are really minor complaints.

[–] [email protected] 3 points 1 year ago

I looked at the macro expansion of the form you wrote and it looks like gibberish, so I don't think the :hook keyword allows expressions to be used as hooks, you need to define a function and use the function name:

(use-package pascal ; presumably
  :init
  (defun remove-pascal-completions ()
    (remove-hook 'completion-at-point-functions
                 'pascal-completions-at-point t))
  :hook (pascal-mode . remove-pascal-completions))

Also, the weird single quote character you used probably doesn't work in Emacs (but maybe you have normal single quotes in your file and it's just lemmy's markdown messing things up).

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Oh, found a new bug: if you are subscribed to communities with the same name on different lemmy instances, lem-ui-jump-to-subscribed will only show you one of them. It used to show all of them before I pulled the latest changes today. (I'm subscribed to communities named emacs on communick.news and on lemmy.ml)

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year 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.

view more: next ›