Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query-replace problem when ethan-wspace is activated #37

Open
skogsbaer opened this issue Jul 2, 2019 · 2 comments
Open

query-replace problem when ethan-wspace is activated #37

skogsbaer opened this issue Jul 2, 2019 · 2 comments

Comments

@skogsbaer
Copy link

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.

@glasserc
Copy link
Owner

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)?

@glasserc
Copy link
Owner

Hi, are you still experiencing this? I'm running 27.1 and I can successfully run query-replace, even with ethan-wspace active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants