opened 03:22AM - 10 Mar 16 UTC
closed 05:28PM - 10 Apr 21 UTC
macOS
Mouse device
- Bug tracker -
stale
#### Description
Auto yank into the files opened by mouse-click the item below …Recent Files in Spacemacs buffer.
#### Reproduction guide
- Start Emacs
- Switch to Spacemacs buffer
- Use mouse click an item below Recent Files
- Some contents are yanked into the file just opened
_Observed behaviour:_
When use C-h k on the Click in Spacemacs buffer, it gives the following description.
down-mouse-1 (translated from mouse-1) at that spot runs the command
widget-button-click (found in spacemacs-buffer-mode-map), which is an
interactive compiled Lisp function in ‘wid-edit.el’.
It is bound to down-mouse-1.
(widget-button-click EVENT)
Invoke the button that the mouse is pointing at.
----------------- up-event ----------------
mouse-2 at that spot runs the command mouse-yank-primary (found in
global-map), which is an interactive compiled Lisp function in ‘mouse.el’.
It is bound to mouse-2.
(mouse-yank-primary CLICK)
Insert the primary selection at the position clicked on.
Move point to the end of the inserted text, and set mark at
beginning. If ‘mouse-yank-at-point’ is non-nil, insert at point
regardless of where you click.
_Expected behaviour:_
Do not yank automatically in the opened file by click in Spacemacs buffer.
#### System Info
- OS: darwin
- Emacs: 25.0.92.1
- Spacemacs: 0.105.14
- Spacemacs branch: develop (rev. 1831d4c)
- Graphic display: t
- Distribution: spacemacs
- Editing style: vim
- Completion: helm
- Layers:
``` elisp
(auto-completion better-defaults c-c django emacs-lisp gtags git html javascript osx
(latex :variables latex-build-command "LatexMk")
python
(shell :variables shell-default-height 30 shell-default-position 'bottom)
(spell-checking :variables spell-checking-enable-by-default nil)
(syntax-checking :variables syntax-checking-enable-by-default nil))
```
#### Backtrace
```
```