Skip to content

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

Description

@skogsbaer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions