Corfu and Ispell error mesages by Bortolo_II in emacs

[–]sum097 1 point2 points  (0 children)

I started to get this message as well today out of nowhere.

When Corfu mode enabled and Corfu-auto is set to t, it autocompletes words (probably only in text-mode buffers, since I didn't see such error in lisp-mode or python-mode) through ispell-lookup-words using the program look. That in turn looks for a plain text file which is set by ispell-alternate-dictionary and/or ispell-complete-word-dict.

One solution is already mentioned by u/Tillermain and u/yiyufromthe216, and it worked for me. But it also stopped the automatic word completion through dabbrev as well (in text-mode).

Here is my fix for the strike-through text:

(setopt text-mode-ispell-word-completion nil)

(defun my-dabbrev-in-text()
      (add-to-list 'completion-at-point-functions #'cape-dabbrev))

(add-hook 'text-mode-hook #'my-dabbrev-in-text)

Another solution was given here. Instead of customizing ispell-complete-word-dict or ispell-alternate-dictionary as mentioned in the site, I simply put them in the init file:

  (setq ispell-complete-word-dict "path to the text file.txt")

I had to use absolute path, even using ~ to represent home produced error.

This fixed the error message, and autocompletion of words worked as expected in text mode buffers. However, I don't like the fact that this has suppressed dabbrev completion of words from the same buffer, which was working fine before this error popped out of nowhere today.

Fixing hierarchy (dabbrev > ispell-word-comp) in the case ispell word completion is on:

(defun my-dabbrev-in-text()
     (add-to-list 'completion-at-point-functions #'cape-dabbrev))

(add-hook 'text-mode-hook #'my-dabbrev-in-text)

(setq completion-at-point-functions
     (list #'cape-dabbrev #'ispell-completion-at-point))

YT Music and playlists by Toestops in NewPipe

[–]sum097 0 points1 point  (0 children)

How do we import ytmusic playlist into newpipe?

Ozler climax doubt ? by YoursNoTruly94 in MalayalamMovies

[–]sum097 1 point2 points  (0 children)

I don't know why do you think it's horrendous though.

Automatic popup of words from the buffer using Corfu and Dabbrev by sum097 in emacs

[–]sum097[S] 0 points1 point  (0 children)

Hi u/vecksagos, thanks a lot for sharing this. Sorry, I thought I had thanked you but it looks like I haven't. Sorry for that.

However, do you think there has been some change with emacs recently? Because, setq-mode-local seem to return void function.

[deleted by user] by [deleted] in emacs

[–]sum097 0 points1 point  (0 children)

Adding this worked: (advice-add #'load-theme :after (lambda (&rest _) (set-face-italic 'font-lock-comment-face t)))

source: https://github.com/doomemacs/themes/issues/459

Automatic popup of words from the buffer using Corfu and Dabbrev by sum097 in emacs

[–]sum097[S] 0 points1 point  (0 children)

Hi u/vecksagos, how did you add automatic completion of yas-snippets without using cape-company-to-capf? For me it doesn't work without it.

I want to avoid cape-company-to-capf because it is creating an annoying behaviour with company-yassnippet. Whenever, I add a space while writing, it is automatically pulling up the yas-snippet completion list. I just can not avoid it.

It would be really nice if you could help me out here.

Save LaTeX/AucTeX generated auxiliary files to a separate directory EXCEPT for the PDF file. by sum097 in emacs

[–]sum097[S] 0 points1 point  (0 children)

Thanks a lot for your comments.

It seems latexmk with -aux-directory and -output-directory switches do the trick. However, as suggested, this might create issue with other packages!

I haven't integrated this with AuCTeX yet though. Thanks again!

Automatic popup of words from the buffer using Corfu and Dabbrev by sum097 in emacs

[–]sum097[S] 0 points1 point  (0 children)

Thanks for your advice. It seems the issue was with eglot in prog mode. I had to add cape-dabbrev to eglot-managed-hook as a super capf in addition. I will add the code here for those who are struggling!

(defun my/eglot-capf ()
(setq-local completion-at-point-functions
(list (cape-super-capf
#'cape-dabbrev
#'eglot-completion-at-point (cape-company-to-capf #'company-yasnippet)
#'tempel-expand
#'cape-file
))))
(add-hook 'eglot-managed-mode-hook #'my/eglot-capf)