aviaryan / Clipjump

:clipboard: Clipboard Manager for Windows, built in AutoHotkey
http://clipjump.sourceforge.net/
384 stars 62 forks source link

collision with emacs hot keys #89

Closed transtone closed 8 years ago

transtone commented 8 years ago

If I use clipjump, my emacs hot key is changed, even added "Emacs" to ignore window.

Emacs always use C-x for prefix, Is clipjump change it? Can I disable C-x in clipjump? Can I set something let clipjump realy not bother Emacs?

nativeCut:
    Critical
    if WinActive("ahk_class XLMAIN")
    {
        hkZ("$^x", "nativeCut", 0) , hkZ("$^x", "keyblocker")
        LASTCLIP := ""
        setTimer, ctrlforCopy, 50
    }
    if ini_is_duplicate_copied
        LASTCLIP := ""
    CLIP_ACTION := "CUT"
    Send, ^{vk58}
    return

Is this function ignore windows in 'ignore list'?

aviaryan commented 8 years ago

I don't use Emacs but I installed it today and it worked well. I tried some C-x commands like C-x C-h and they worked. I didn't even had to add it to ignored windows list .

What do you mean by "emacs hotkey changed" ? Is C-x in emacs not working.

BTW, the above function (label) shouldn't really bother emacs..

using emacs 24.3.1 from https://github.com/mattfidler/EmacsPortable.App

transtone commented 8 years ago

Could u please try this one: http://sourceforge.net/projects/emacsbinw64/ or https://ftp.gnu.org/gnu/emacs/windows/

Original emacs C-x C-f will open a file to edit like this: image 48

When I use clipjump, C-x C-f got this: image 49


I do found what happend: I use this script to in my own ahk file:

#NoTrayIcon

ScrollLock::Capslock
Capslock::Ctrl
#t::#Up

^space::#space

#IfWinActive, ~
^y::+Ins
#v::+Ins
!w::^Ins
#c::^Ins

And I use Capslock-x Capslock-f as C-x C-f . how can I mix it with clipjump?


It's strange, If I hold press the Capslock key, It only works the first time. I must release it and press agian, it works the second time. The original Ctrl key not. I can hold press it, and press x and f, it act as Ctrl-x Ctrl-f no need to release.


well, I copy the file to plugin dir, sometime It works, sometime not.