You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(message"the crux of the matter")
(message"hello from the magic tavern")
crux-duplicate-current-line-or-region yields:
(message"the crux of the matter")
(message"hello from the magic tavern")
(message"the crux of the matter")
(message"hello from the magic tavern")
Using crux-duplicate-and-comment-current-line-or-region yields:
;; (message "the crux of the matter");; (message "hello from the magic tavern")
(message"the crux of the matter")
(message"hello from the magic tavern")
Actual behavior
Using crux-duplicate-current-line-or-region I get:
(message"the crux of the matter")
(message"hello from the magic tavern")(message"the crux of the matter")
(message"hello from the magic tavern")
Using crux-duplicate-and-comment-current-line-or-region I get:
;; (message "the crux of the matter");; (message "hello from the magic tavern")(message "the crux of the matter")
(message"hello from the magic tavern")
Steps to reproduce the problem
Call the mentioned commands with active region.
Commenting out these line makes the commands work as before:
(unless (use-region-p)
(newline))
Not sure if that is now the desired behavior but it confuses me.
Environment & Version information
crux version information
I can't find any crux-version command, but from the package:
Expected behavior
Given a region containing the following lines,
crux-duplicate-current-line-or-region
yields:Using
crux-duplicate-and-comment-current-line-or-region
yields:Actual behavior
Using
crux-duplicate-current-line-or-region
I get:Using
crux-duplicate-and-comment-current-line-or-region
I get:Steps to reproduce the problem
Call the mentioned commands with active region.
Commenting out these line makes the commands work as before:
Not sure if that is now the desired behavior but it confuses me.
Environment & Version information
crux version information
I can't find any
crux-version
command, but from the package:Emacs version
28.0.50
Operating system
gnu/linux (Ubuntu 21.04)
The text was updated successfully, but these errors were encountered: