the global ex command (:g) doesn't take a count
aidancz opened this issue · comments
aidancz commented
Issue type
- Enhancement request
Environment
Emacs version: 29.1
Operating System: Arch Linux
Evil version: 1.15.0
Evil installation type: MELPA
Graphical/Terminal: Graphical
Tested in a make emacs
session No(see CONTRIBUTING.md):
Reproduction steps
switch to scratch buffer with:
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; This buffer is for text that is not saved, and for Lisp evaluation.
and type ex command: :g/create/-d
Expected behavior
;; To create a file, visit it with C-x C-f and enter text in its buffer.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; This buffer is for text that is not saved, and for Lisp evaluation.
Actual behavior
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; This buffer is for text that is not saved, and for Lisp evaluation.
Further notes
Tom Dalziel commented
Thanks for the bug report @aidancz - this is now fixed in master. It wasn't a bug for all of g
's subcommands - just delete, which had a performant version added recently which uses a stripped down version of emacs' flush-lines
but ignores args.