Subject: error on making an external link

From: [email-masked]
Date: Fri, 22 Apr 2022 00:22:38 +0300

Hi.

I’m getting an error when I’m creating an external link.
Backtrace screen says the following:

Debugger entered--Lisp error: (error \"Start buffer, ’inbox.org’, differs from end buffer...\")
  signal(error (\"Start buffer, ’inbox.org’, differs from end buffer...\"))
  error(\"Start buffer, '%s', differs from end buffer, '%s'\" #<buffer inbox.org> #<buffer archive.org>)
  #f(compiled-function () #<bytecode -0x168ff1aa7e45cfae>)()
  hui:link-create(nil #<window 3 on archive.org> \"jdhas\" \"/Users/lukasnavickas/Emacs/org/archive.org\" \"/Users/lukasnavickas/Emacs/org/\" (link-to-file \"/Users/lukasnavickas/Emacs/org/inbox.org\" 5290))
  hui:link-directly()
  (or (hmouse-drag-item-to-display) (hui:link-directly))
  eval((or (hmouse-drag-item-to-display) (hui:link-directly)))
  hkey-execute(nil)
  action-key-internal()
  hmouse-function(action-key-internal nil (S-drag-mouse-2 (#<window 11 on inbox.org> 5290 (62 . 91) 1004726222 nil 5290 (7 . 6) nil (46 . 1) (8 . 15))))
  action-mouse-key(S-drag-mouse-2 (#<window 11 on inbox.org> 5290 (62 . 91) 1004726222 nil 5290 (7 . 6) nil (46 . 1) (8 . 15)))
  apply(action-mouse-key (S-drag-mouse-2 (#<window 11 on inbox.org> 5290 (62 . 91) 1004726222 nil 5290 (7 . 6) nil (46 . 1) (8 . 15))))
  action-mouse-key-emacs((S-drag-mouse-2 (#<window 3 on archive.org> 3800 (141 . 33) 1004724927 nil 3800 (17 . 2) nil (5 . 3) (8 . 15)) (#<window 11 on inbox.org> 5290 (62 . 91) 1004726222 nil 5290 (7 . 6) nil (46 . 1) (8 . 15))))
  funcall-interactively(action-mouse-key-emacs (S-drag-mouse-2 (#<window 3 on archive.org> 3800 (141 . 33) 1004724927 nil 3800 (17 . 2) nil (5 . 3) (8 . 15)) (#<window 11 on inbox.org> 5290 (62 . 91) 1004726222 nil 5290 (7 . 6) nil (46 . 1) (8 . 15))))
  call-interactively(action-mouse-key-emacs nil nil)
  command-execute(action-mouse-key-emacs)

The link works though. It’s just very disruptive.

Also, hkey doesn’t work with ace-window, minibuffer says
(hkey-drag-item): No item at point or invalid final window, #<window id>

Regards,
Lukas