tuhdo/semantic-refactor

srefactor-refactor-at-point Error when creating menu.

hhirsch opened this issue · 13 comments

When I call srefactor-refactor-at-point I only get: Error when creating menu.

tuhdo commented

Thanks for the report. Could you tell me how to reproduce the bug? And what's your Emacs version?

My srefactor is the one that came with emacs 20150717.1039 and my emacs version is 24.4.50.2 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2014-08-29

tuhdo commented

Do you have a code sample and where should i move point on that sample?

tuhdo commented

I fixed this problem. The issue is there's a check whether evil-mode is active but without checking evil-mode exists at first.

Thanks again.

Cool. Will the updated version in melpa any time soon?

tuhdo commented

Yes. You just need to wait for it to update the list. It should be about an hour.

Thank you for fixing. I can confirm that everything works fine now.

Need to reopen. Fresh install on Mac OS X. Installed it via use-package. Same error message.

I'm not using evil mode, so I'm not sure I understand why the same issue crops up at several points.

@appetrosyan Sounds like your srefactor version is outdated, you can get the newest one from melpa.

Did just that, latest version on melpa is 20180703.1810, which looks to be outdated. I'll try installing from GitHub and see if that fixes the issue.

A Version from 2018 should have the fix. I am confused. @tuhdo Any idea?

I installed the latest version, the fix doesn't work. My opinion is that something else prevents the menu from loading, and it might be completely unrelated to the previous issue, except the error message is the same.