Giter VIP home page Giter VIP logo

emacs-plus's People

Contributors

cmf avatar cursive-ide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacs-plus's Issues

Exception when clicking Ctrl+G , IntelliJ IDEA 2022.3.2 (Community Edition, Mac), Cursive 1.12.7-2022.3

com.intellij.diagnostic.PluginException: Cannot create class com.mulgasoft.emacsplus.actions.wrapper.KeyboardQuit (classloader=PluginClassLoader(plugin=PluginDescriptor(name=Emacs+ Patched, id=com.cursive-ide.emacsplus, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/223.8617.56/IntelliJ IDEA CE.app.plugins/emacs-plus, version=0.3.900, package=null, isBundled=false), packagePrefix=null, instanceId=8, state=active))
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:989)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:1006)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.instantiate(ActionManagerImpl.java:202)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:187)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:534)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:523)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.addActionsFromActiveKeymap(IdeKeyEventDispatcher.java:822)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.updateCurrentContext(IdeKeyEventDispatcher.java:781)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:454)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:225)
at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:815)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:750)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.UnsupportedOperationException: TextComponentEditorAction is updated on EDT only and must not work in injected context
at com.intellij.openapi.editor.actions.TextComponentEditorAction.setInjectedContext(TextComponentEditorAction.java:39)
at com.mulgasoft.emacsplus.actions.wrapper.KeyboardQuit.(KeyboardQuit.java:21)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:950)
... 25 more

isearch-forward causes NPE in 2019.2

As a result, hitting C-s the first time works, but hitting it repeatedly afterward does not.

java.lang.NullPointerException
	at com.mulgasoft.emacsplus.actions.search.ISearchForward$SwitchToISearchBack.<init>(ISearchForward.java:355)
	at com.mulgasoft.emacsplus.actions.search.ISearchForward.setSwitchAction(ISearchForward.java:217)
	at com.mulgasoft.emacsplus.actions.search.ISearchForward.after(ISearchForward.java:139)
	at com.mulgasoft.emacsplus.actions.EmacsPlusAction$EmacsPlusCommandListener.commandFinished(EmacsPlusAction.java:64)
	at com.intellij.openapi.command.impl.CoreCommandProcessor$1.commandFinished(CoreCommandProcessor.java:98)
	at jdk.internal.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:102)
	at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:446)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:406)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:395)
	at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:372)
	at com.intellij.util.messages.impl.MessageBusImpl.lambda$createTopicHandler$1(MessageBusImpl.java:242)
	at com.sun.proxy.$Proxy38.commandFinished(Unknown Source)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.fireCommandFinished(CoreCommandProcessor.java:280)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.finishCommand(CoreCommandProcessor.java:261)
	at com.intellij.openapi.command.impl.CommandProcessorImpl.finishCommand(CommandProcessorImpl.java:33)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:226)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:178)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:111)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:86)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:593)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:646)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:192)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:645)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:508)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:463)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:212)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:796)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:461)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:460)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Imcompatible with IntelliJ IDEA 2018.2

I upgraded IntelliJ IDEA to 2018.2 recently and I tried to install Emacs+ Patched Plugin but the version appeared in the Plugins dialog was too old (0.3.300). I installed it but had some troubles to use.

Then, I downloaded the latest one (0.3.700) from the JetBrains web site and tried to install it but the following message appeared.

image

After that, I edited plugin.xml in the 0.3.700 jar to allow the "182" version of IntelliJ and installed it. I just used it in a short period, but it seems to work well at this time.

Could you update the plugin.xml and release it to meet the latest IDE?

Emacs+ macOS without the meta swap?

Hi, I'd like to use Emacs+ on macOS but without swapping command and option. I want option to be the meta key just like in regular emacs and have the other IDE shortcuts still available via their macOS shortcuts. Currently, I only get the Windows/Linux shortcuts.

Is that feasible or would you have to reimplement basically everything?

Is this project dead?

I notice that there hasn't been a commit in nearly two years, and I'm now getting errors in IntelliJ that are being blamed on this plugin.

Alas, Emacs has been hardwired into my fingers and brain for decades, and I don't think I can change. I am afraid!

I've noticed that there is a new Emacs Keymap plugin from JetBrains in the Intellij Plugin Marketplace, but Google does not reveal whether anyone actually uses it and likes it. And there are no reviews of it on the page for it in the Marketplace.

Well, thank you to whoever made this decompiled plugin happen. It saved me from at least a couple years of endless torment.

'switch-to-buffer' no longer searchable in 2019.1

What steps will reproduce the issue?

  1. bring up the switch-to-buffer dialog with whatever shortcut you use (it has the label Recent files when it shows up, but its different from the built-in recent files dialog, which does allow typing)
  2. type some keys

What is the expected result?

  • It should narrow down the files as you type.

What happens instead?

  • There is no response to key typing.

Version: 2019.1 (191.6183.87)

Thanks for a great plugin!

isearch-history-next, isearch-history-previous apparently don't work

As you can see on the screen shot there are no conflicting actions assigned, yet using the shortcut results in nothing, no matter if the focus is on the search bar or on the editor. There are no related errors in the IDE or in the idea.log. Assigning other shortcuts also doesn't work.
screenshot_20180815_162659

IDE Info:
Custom plugins: [AceJump (3.5.0), CMD Support (1.0.5), Wrap to Column (1.4.0), Emacs+ Patched (0.3.800), CamelCase (2.0.0), Front End Alignment (1.1), .ignore (3.0.0.182), AsciiDoc (0.20.6), BashSupport (1.6.13.182), PhoneGap/Cordova Plugin (182.2371.6), PHP Class Templates (1.0.2), Php Inspections (EA Extended) (3.0.5.1), PHP Annotations (5.3), deep-assoc-completion (2018.08.15.001), 3v4l pl4g1n (0.4), PHP Advanced AutoComplete (1.0.4), Yii2 Inspections (1.0.3), PHP composer.json support (1.0.25), Lines Sorter (1.0.1), .env files support (0.6)]
Disabled plugins:[Key Promoter X (5.12), Org4Idea (0.4.1), PlantUML integration (2.10.1), Ideolog (182.0.7.0), Navigate Identifier Occurrence (1.1), Emacs+ (0.3.200), CSV Plugin (1.8.0), Pug (ex-Jade) (182.3341.1), Light Bulb Toggle (1.0.1), Stylus support (182.3208.4), Yii2 Support (0.9.54.9), Markdown Navigator (2.5.4), Symfony Plugin (0.16.165)]
Build version: PhpStorm 2018.2.1 Build #PS-182.3911.43 August 8, 2018
Java version: 1.8.0_152-release-1248-b8amd64
Operating System: Linux (4.17.12-1.1-manjaro, amd64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o

Switch-to-buffer causes NPE in 2019.1

Switch-to-buffer using C-x b results in NPE:

java.lang.NullPointerException
	at com.mulgasoft.emacsplus.actions.wrapper.SwitchToBuffer.removeFromActions(SwitchToBuffer.java:153)
	at com.mulgasoft.emacsplus.actions.wrapper.SwitchToBuffer.keySetup(SwitchToBuffer.java:67)
	at com.mulgasoft.emacsplus.actions.wrapper.SwitchToBuffer.actionPerformed(SwitchToBuffer.java:45)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:261)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:278)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:616)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:665)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:664)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inSecondStrokeInProgressState(IdeKeyEventDispatcher.java:389)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inWaitForSecondStrokeState(IdeKeyEventDispatcher.java:301)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:223)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:665)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

is-yank-next-word not working

Hi and many thanks for taking over this project!

I cannot get the is-yank-next-word working.
This is bound to C-w and is used during isearch.

I have tested this on Windows/Unix and with PyCharm 2017.2.3/CLion 2017.2.3.
I have reset to the original keymap Emacs+ to make sure I haven't messed up anything myself.

Also some of the other keys during an isearch is not working, e.g. C-y.

Exception in Rider 2019.3.1

When Rider starts up, An error shows up in the log that looks like this:

com.intellij.diagnostic.PluginException: While loading class com.mulgasoft.emacsplus.actions.search.ISearchBackward: class com.mulgasoft.emacsplus.actions.search.ISearchBackward overrides final method com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V [Plugin: com.cursive-ide.emacsplus] [Plugin: com.cursive-ide.emacsplus]
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.instantiate(ActionManagerImpl.java:176)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:152)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:508)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:496)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.preloadActions(ActionManagerImpl.java:1365)
at com.intellij.openapi.actionSystem.impl.ActionPreloader.preload(ActionPreloader.java:13)
at com.intellij.openapi.application.Preloader.lambda$componentsInitialized$1(Preloader.java:80)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:163)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
at com.intellij.openapi.application.Preloader.lambda$componentsInitialized$2(Preloader.java:76)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:190)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.intellij.diagnostic.PluginException: While loading class com.mulgasoft.emacsplus.actions.search.ISearchBackward: class com.mulgasoft.emacsplus.actions.search.ISearchBackward overrides final method com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V [Plugin: com.cursive-ide.emacsplus]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:223)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:167)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:75)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:359)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:355)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:319)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:220)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:167)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:75)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.instantiate(ActionManagerImpl.java:164)
... 20 more
Caused by: java.lang.VerifyError: class com.mulgasoft.emacsplus.actions.search.ISearchBackward overrides final method com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:359)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:355)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:319)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:220)
... 36 more

Keymap keeps resetting to 'Mac OS X 10.5'

Does anyone else see this? If I select Emacs+ as the keymap, frequently, but not 100% always, the keymap gets reset to 'Mac OS X 10.5'. Seen in both Rider 2018.1 and CLion 2018.1 on Windows.

Lost `C-w` (`kill-region`) after an update to 2020.2

First - thanks so much for keeping this working with newer versions! It's been a lifesaver in moving from Emacs to Intellij/Cursive ๐Ÿ™

I recently updated to IntelliJ 2020.2, and noticed that kill-region had stopped working for me. I've tried going back to the packaged default keymap, and it's not working there either. Checking my keymap, it's the only action bound to C-w. Any idea what may have changed there, or other things I can check?

Build info:
IntelliJ IDEA 2020.2 (Ultimate Edition)
Build #IU-202.6397.94, built on July 27, 2020
Licensed to Chris Sims
Subscription is active until February 3, 2021
Runtime version: 11.0.7+10-b944.20 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.6
GC: ParNew, ConcurrentMarkSweep
Memory: 4029M
Cores: 8
Registry: ide.tooltip.initialDelay=597
Non-Bundled Plugins: com.arcticicestudio.nord.jetbrains, com.cursive-ide.emacsplus, com.intellij.nativeDebug, com.jetbrains.ChooseRuntime, net.sjrx.intellij.plugins.systemdunitfiles, uk.co.ben-gibson.remote.repository.mapper, org.toml.lang, com.cursiveclojure.cursive, org.rust.lang

Emacs+ Patched version: 0.3.900

Thanks!

Incorrect forward-word behavior with digits

forward-word is not treating digits (0-9) the same as it treats letters (a-z). It seems to be moving past them entirely, as though they were non-word characters:

forward-word-bug

And an animated gif of the behavior:

emacs-plus-move-by-word-bug

Search and using multiple cursors, the last cursor does not highlight the word

So lets say you search for if and select the first 5 occurrences of it in the file. The fifth occurrence (last occurrence selected) will not be highlighted like the previous 4, so if you go forward one space or backward or any other move commands. The cursors fall out of sync due to the first four being highlighted and the fifth being in the same place but just a normal cursor. Aka, the cursors are not in sync anymore which causes erratic behavior.

Also, none of the emacs commands work with multiple cursors but I'm guessing this problem is probably known and was never tried to be fixed?

Can't bind "ESC <" to tw-begin

Also I can't bind ESC > to tw-end.

I can set such a keyboard shortcut in the Keymap Preferences for Emacs+ Patched, but the shortcut doesn't actually work. I.e., nothing seems to happen.

P.S. Intellij Version is IntelliJ IDEA Ultimate 2017.2.4.

Error with Webstorm 2019.2

When web storm launches I get this error.

m.intellij.diagnostic.pluginexception: while loading class com.mulgasoft.emacsplus.actions.search.isearchbackward: class com.mulgasoft.emacsplus.actions.search.isearchbackward overrides final method com.intellij.openapi.editor.actionsystem.editoraction.actionperformed(lcom/intellij/openapi/actionsystem/anactionevent;)v [plugin: com.cursive-ide.emacsplus] [plugin: com.cursive-ide.emacsplus]
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.instantiate(actionmanagerimpl.java:163)
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.convertstub(actionmanagerimpl.java:139)
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.getactionimpl(actionmanagerimpl.java:501)
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.getaction(actionmanagerimpl.java:489)
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.preloadactions(actionmanagerimpl.java:1327)
	at com.intellij.openapi.actionsystem.impl.actionpreloader.preload(actionpreloader.java:18)
	at com.intellij.openapi.application.preloader.lambda$null$1(preloader.java:74)
	at com.intellij.openapi.progress.impl.coreprogressmanager.lambda$runprocess$2(coreprogressmanager.java:169)
	at com.intellij.openapi.progress.impl.coreprogressmanager.registerindicatorandrun(coreprogressmanager.java:591)
	at com.intellij.openapi.progress.impl.coreprogressmanager.executeprocessunderprogress(coreprogressmanager.java:537)
	at com.intellij.openapi.progress.impl.progressmanagerimpl.executeprocessunderprogress(progressmanagerimpl.java:59)
	at com.intellij.openapi.progress.impl.coreprogressmanager.runprocess(coreprogressmanager.java:156)
	at com.intellij.openapi.application.preloader.lambda$componentsinitialized$2(preloader.java:71)
	at com.intellij.util.concurrency.boundedtaskexecutor.dorun(boundedtaskexecutor.java:207)
	at com.intellij.util.concurrency.boundedtaskexecutor.access$100(boundedtaskexecutor.java:29)
	at com.intellij.util.concurrency.boundedtaskexecutor$1.lambda$run$0(boundedtaskexecutor.java:185)
	at com.intellij.util.concurrencyutil.rununderthreadname(concurrencyutil.java:208)
	at com.intellij.util.concurrency.boundedtaskexecutor$1.run(boundedtaskexecutor.java:181)
	at java.base/java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1128)
	at java.base/java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:628)
	at java.base/java.lang.thread.run(thread.java:834)
caused by: com.intellij.diagnostic.pluginexception: while loading class com.mulgasoft.emacsplus.actions.search.isearchbackward: class com.mulgasoft.emacsplus.actions.search.isearchbackward overrides final method com.intellij.openapi.editor.actionsystem.editoraction.actionperformed(lcom/intellij/openapi/actionsystem/anactionevent;)v [plugin: com.cursive-ide.emacsplus]
	at com.intellij.ide.plugins.cl.pluginclassloader.loadclassinsideself(pluginclassloader.java:220)
	at com.intellij.ide.plugins.cl.pluginclassloader.tryloadingclass(pluginclassloader.java:165)
	at com.intellij.ide.plugins.cl.pluginclassloader.loadclass(pluginclassloader.java:73)
	at java.base/java.lang.classloader.loadclass(classloader.java:521)
	at java.base/java.lang.classloader.defineclass1(native method)
	at java.base/java.lang.classloader.defineclass(classloader.java:1016)
	at java.base/java.lang.classloader.defineclass(classloader.java:877)
	at com.intellij.util.lang.urlclassloader._defineclass(urlclassloader.java:335)
	at com.intellij.util.lang.urlclassloader.defineclass(urlclassloader.java:330)
	at com.intellij.util.lang.urlclassloader._findclass(urlclassloader.java:294)
	at com.intellij.ide.plugins.cl.pluginclassloader.loadclassinsideself(pluginclassloader.java:217)
	at com.intellij.ide.plugins.cl.pluginclassloader.tryloadingclass(pluginclassloader.java:165)
	at com.intellij.ide.plugins.cl.pluginclassloader.loadclass(pluginclassloader.java:73)
	at java.base/java.lang.classloader.loadclass(classloader.java:521)
	at java.base/java.lang.class.forname0(native method)
	at java.base/java.lang.class.forname(class.java:398)
	at com.intellij.openapi.actionsystem.impl.actionmanagerimpl.instantiate(actionmanagerimpl.java:151)
	... 20 more
caused by: java.lang.verifyerror: class com.mulgasoft.emacsplus.actions.search.isearchbackward overrides final method com.intellij.openapi.editor.actionsystem.editoraction.actionperformed(lcom/intellij/openapi/actionsystem/anactionevent;)v
	at java.base/java.lang.classloader.defineclass1(native method)
	at java.base/java.lang.classloader.defineclass(classloader.java:1016)
	at java.base/java.lang.classloader.defineclass(classloader.java:877)
	at com.intellij.util.lang.urlclassloader._defineclass(urlclassloader.java:335)
	at com.intellij.util.lang.urlclassloader.defineclass(urlclassloader.java:330)
	at com.intellij.util.lang.urlclassloader._findclass(urlclassloader.java:294)
	at com.intellij.ide.plugins.cl.pluginclassloader.loadclassinsideself(pluginclassloader.java:217)
	... 36 more```

Make keymap revertable

The plugin adds a keymap Emacs+ that is a modified version of the OOTB Emacs keymap. This unfortunately means I cannot revert to the pseudo-OOTB keymap Emacs+.

I recently had some issues, because the plugin got deactivated (no idea why). This messed with the keymap, and the only way to get it back was to remove the plugin, delete the keymap, reinstall the plugin.

Ideally, for me, the Emacs+ keymap is treated as an OOTB next to Emacs. Second-best option is a new menu entry for the plugin to restore the included keymap.

isearch-forward is broken on IntelliJ IDEA 2020.2.3

Hello,

I've recently started working with in IntelliJ and was glad to find your Emacs+ patched plugin to feel a little more at home. :)

Unfortunately, the isearch-forward is broken and only allows me to find the very first occurence after which any subsequent C-s does nothing. Curiously, isearch-backwards works as expected.

Here's are the two kinds of errors I've found in the idea.log that might help you figure out what's going on:

2020-10-15 14:16:29,070 [65967848]  ERROR - ij.ide.IdeEventQueue.typeahead - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2020-10-15 14:16:29,071 [65967849]  ERROR - ij.ide.IdeEventQueue.typeahead - OS: Mac OS X 
2020-10-15 14:16:29,071 [65967849]  ERROR - ij.ide.IdeEventQueue.typeahead - Last Action: Emacs+.ISearchForward 

and

java.lang.NullPointerException
	at com.mulgasoft.emacsplus.actions.search.ISearchForward.before(ISearchForward.java:121)
	at com.mulgasoft.emacsplus.actions.EmacsPlusAction$EmacsPlusCommandListener.commandStarted(EmacsPlusAction.java:56)
	at com.intellij.openapi.command.impl.CoreCommandProcessor$1.commandStarted(CoreCommandProcessor.java:73)
	at jdk.internal.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.intellij.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:632)
	at com.intellij.util.messages.impl.MessageBusImpl.executeOrAddToQueue(MessageBusImpl.java:245)
	at com.intellij.util.messages.impl.CompositeMessageBus$ToDirectChildrenMessagePublisher.publish(CompositeMessageBus.java:115)
	at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.invoke(MessageBusImpl.java:183)
	at com.sun.proxy.$Proxy39.commandStarted(Unknown Source)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.fireCommandStarted(CoreCommandProcessor.java:408)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:177)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:98)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:73)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:610)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:670)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:669)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:620)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:517)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:471)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:220)
	at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:890)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:835)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:505)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2020-11-09 13:28:21,608 [974618784]  ERROR - .intellij.openapi.command.impl - IntelliJ IDEA 2020.2.3  Build #IU-202.7660.26 
2020-11-09 13:28:21,608 [974618784]  ERROR - .intellij.openapi.command.impl - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2020-11-09 13:28:21,608 [974618784]  ERROR - .intellij.openapi.command.impl - OS: Mac OS X 
2020-11-09 13:28:21,609 [974618785]  ERROR - .intellij.openapi.command.impl - Plugin to blame: Emacs+ Patched version: 0.3.900 
2020-11-09 13:28:21,609 [974618785]  ERROR - .intellij.openapi.command.impl - Last Action: Emacs+.ISearchForward 
2020-11-09 13:28:21,609 [974618785]  ERROR - .intellij.openapi.command.impl - Current Command: isearch-forward 

I'm currently unable to reproduce what causes these messages to show up in the logs (failing isearch-forward doesn't systematically produce an entry), but I'm willing to collaborate with you in order to have this fixed.

Thanks!

Martin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.