Malabarba / aggressive-indent-mode

Emacs minor mode that keeps your code always indented. More reliable than electric-indent-mode.
850 stars 36 forks source link

aggressive-indent-mode prints "Indenting region...done" all the time #146

Open KaratasFurkan opened 3 years ago

KaratasFurkan commented 3 years ago

Hello, as far as I see, there is a part of the code that tries to suppress messages from indent-region function. But it does not work since I moved to Emacs28.

Is there anyone who knows how to fix this part? (it doesn't suppress messages):

(cl-letf (((symbol-function 'message) #'ignore))
    ...)
siraben commented 3 years ago

I also have been experiencing since using Emacs 28.

oscarfv commented 1 year ago

That's probably caused by native compilation. I think that code in native-compiled libraries (.eln) are not affected by defalias and similar mechanisms.