Artur Malabarba

Results 175 comments of Artur Malabarba

Hmm. Here's an idea . Try changing the `let` in line 311 from this: ``` (let ((display-buffer-overriding-action (list (lambda (_x _y) t)))) ``` to this: ``` (let ((display-buffer-overriding-action (list (lambda...

That's very strange. Here's a few things to try: 1. M-x toggle-debug-on-error. Then try reproducing the error, see if that gives you a backtrace at any point. 2. M-x toggle-debug-on-quit,...

The bug-hunter can't catch invalid-syntax errors. Thas's because it starts operation by reading your entire init file into a list of expressions. So if there's some invalid syntax, the error...

You can avoid indenting in that situation with the `dont-indent-if` variable. Try the following: ``` (let ((line (thing-at-point 'line))) (and (stringp line) (string-match "\\bif *([^)]*$" line))) ```

This should do what you're trying to achieve. ``` (add-to-list 'aggressive-indent-dont-indent-if '(let ((line (line-number-at-pos))) (if (eq line my-last-line-num) t (progn (setq my-last-line-num line) nil))))) ```

It can't be made async because it has the side-effect of editing the buffer. Emacs-async runs on an entirely separate process, so that's not viable. OTOH, it really shouldn't freeze...

That's a performance report, not a stacktrace. Indeed, aggressive-indent does a lot of work , but it does so inside a `while-no-input` block, which should prevent input blocking. Try the...

Hi Brian, did you have time to produce a stack trace?

Also, see my comment here, it might fix your problem: https://github.com/Malabarba/aggressive-indent-mode/issues/73#issuecomment-253313534

What if you keep the after change function but remove the post command hook instead? Does that also fix it?