PythonNut / quark-emacs

:rocket: An incredible wonderland of code
MIT License
137 stars 6 forks source link

Silence mc-lists loading #31

Closed PythonNut closed 7 years ago

PythonNut commented 7 years ago

I don't want to see

Loading /home/pythonnut/.emacs.d/data/.mc-lists.el (source)...done

Every single time I load my Emacs.

raxod502 commented 7 years ago

This doesn't fix the case where multiple-cursors is loaded manually, though, right?

PythonNut commented 7 years ago

No, and I can't think of a better way to do it, other than some kind of with-eval-before-load system. multiple-cursors seems determined to make this difficult for me.

If you have any better ideas, I'm all ears.

raxod502 commented 7 years ago

I would have thought that you could just add an advice to the appropriate function that loads .mc-lists.el, and the advice would take effect once the function is loaded. I might misunderstand how advices work on not-yet-loaded functions, though.

PythonNut commented 7 years ago

@raxod502

The problem here is that the file is not loaded by a function; it's a toplevel call.

raxod502 commented 7 years ago

Well, shoot. I hate top-level calls. You have no idea how much grief I have getting Org-mode to shut up about "can't figure out what version this is" when running it straight from the repository.

So I guess the only real solution is https://github.com/magnars/multiple-cursors.el/pull/290.

PythonNut commented 7 years ago

@raxod502

You have no idea how much grief I have getting Org-mode to shut up about "can't figure out what version this is" when running it straight from the repository.

I see what you did there.

raxod502 commented 7 years ago

Indeed. Running packages in an unconventional way seems to have a habit of revealing bugs. For example I had to make a pull request to Magit to deal properly with loading files through symlinks.