ethan-wspace
ethan-wspace copied to clipboard
query-replace problem when ethan-wspace is activated
I recently upgraded emacs to this version:
GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-04-13
After the upgrade, I got the following error with the query-replace command:
perform-replace: Args out of range: #<buffer MobileGateway.ini>, 0, 1
I trimmed my config file to a minimum:
;;
;; packages
;;
(require 'package) ;; You might already have this line
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
(add-to-list 'package-archives (cons "melpa" url) t))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line
;; START
;; ===== Whitespace am Zeilenende automatisch entfernen =====
(require 'ethan-wspace)
(global-ethan-wspace-mode 1)
The error disappears when I remove the last two lines of the config file, i.e. if I deactivate ehtan-wspace mode.
Hi, thanks for reporting this. Sorry for not responding. I don't have an easy way to run 26.2 at the moment so I can't really reproduce and so probably won't have any helpful advice. Can you produce a backtrace (e.g. with debug-on-error
)?
Hi, are you still experiencing this? I'm running 27.1 and I can successfully run query-replace
, even with ethan-wspace
active.