Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package on MELPA #3

Open
Remillard opened this issue Oct 3, 2024 · 3 comments
Open

Package on MELPA #3

Remillard opened this issue Oct 3, 2024 · 3 comments

Comments

@Remillard
Copy link

I think there might be a problem with how the MATLAB mode package is setup for MELPA. I honestly don't remember how I installed it, because list-packages is no longer working with matlab-mode however it's currently present in ~/.emacs.d/elpa/matlab-mode-202405221.1748.

If I go to list-packages it shows matlab-mode 20240521.1748 dependency Major mode for MATLAB(R) dot-m files. So far so good.

However hitting enter on that line to bring up the package details produces the following error:

Opening input file: No such file or directory, c:/Users/<myname>/.emacs.d/elpa/matlab-mode-20240521.1748/matlab-mode.el

It's clearly expecting a file named after the package and not finding it. It would be nice if this package played nicely with MELPA's package requirements (one of which certainly seems to be an *.el file named after the mode itself.)

Not wildly critical. I'm considering removing it from the ELPA directory and putting it in site-lisp downloaded from the repo, but figured it ought to be reported that it's got a problem with the automatic way of installing it.

@ouboub
Copy link
Collaborator

ouboub commented Oct 3, 2024 via email

@Remillard
Copy link
Author

Actually I wasn't sure to be honest. The source history of the Emacs MATLAB mode while searching is a little murky. There was a Mathworks post about a decade ago about how to get it started, and then I started looking for more information about 2-3 weeks ago as my MATLAB usage spiked for work so I have been trying to check a few things. It all crystallized when I was trying to unbind M-s (on Windows, unfortunately, we no longer have console MATLAB, curses Mathworks!) and I used that for something else. So, using use-package and unbinding that way was causing the error that it couldn't find it, then I poked at list-package and that very much highlighted the error, and figured I'd pass it along.

Anyhow, very glad it's being taken care of. I think it's a valuable mode. Just wish I had better options for integration under Windows (and no, WSL isn't an option at this time, though I've explored that a bit to see if I could get our MATLAB installation to work there).

As far as ELPA/MELPA -- honestly I have no opinion. I have both setup as package repos and from my user perspective, it's kind of academic where it ends up as long as I can get to it, so I have no advice there.

Thanks for doing the hard work of maintaining!

@ouboub
Copy link
Collaborator

ouboub commented Oct 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants