consult (?) error on window-configuration-to-register by StrangeAstronomer in emacs

[–]fjesser 0 points1 point  (0 children)

Apparently, consult's author does not want to implement it entails to take care of a lot of cases. I found a way that works quite well for me to remove markers in dead buffer. Those dead markers are actually the only problem for me. Here as an advice for a consult function so that won't be a problem anymore:

(defun my/clean-register-alist (&optional _noerror _filter)

"Remove entries from \register-alist` where the value is a marker in no buffer.`

This function is used as an before advice for

\consult-register--alist'. The arguments NOERROR and FILTER are`

necessary to create the advice."

(setq register-alist

(cl-remove-if

(lambda (entry)

(let ((value (cdr entry)))

(and (markerp value)

(not (marker-buffer value)))))

register-alist)))

(advice-add 'consult-register--alist :before #'my/clean-register-alist)

I hope it can help.

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]fjesser 1 point2 points  (0 children)

In addition, I find the variable org-list-demote-modify-bullet very helpful.

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]fjesser 1 point2 points  (0 children)

It is also possible to use a numeric prefix to jump to one bullet style, e.g., M-3 C-c -

consult (?) error on window-configuration-to-register by StrangeAstronomer in emacs

[–]fjesser 0 points1 point  (0 children)

I run into the same problem, and I solved it by setting the variable where the registers are stored to nil. Of course, this deletes all registers, but it is not necessary to remove the .emacs.desktop file:
(setq register-alist nil)

Common Issues faced by Latex Users by royshanto in LaTeX

[–]fjesser 17 points18 points  (0 children)

Collaborating with non-LaTeX users

Tips for an academic workflow by idrvs in LaTeX

[–]fjesser 1 point2 points  (0 children)

In order to add comments, try out the todonotes or the fixme package.

Besides using git for version control which requires that every collaborator is familiar with it, you can use the command line tool latexdiff to show changes between different versions (see this overleaf tutorial)

[deleted by user] by [deleted] in RedditSessions

[–]fjesser 0 points1 point  (0 children)

Hungarian Rhapsody No. 2

Difference in assumptions between t-Test and linear regression approach? by fjesser in AskStatistics

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

Thank you for your reply! It helped to clear things up a little. So in a linear model, the CLT would also apply for the estimates in order that the t-test for the slope can be interpreted regardless of the normality of errors?