ergoemacs / ergoemacs-mode

ergoemacs-mode
ergoemacs.github.io/
GNU General Public License v3.0
293 stars 35 forks source link

Problem opening files with helm #436

Closed calliecameron closed 7 years ago

calliecameron commented 8 years ago

Using the latest helm and ergoemacs-mode from Melpa Stable on Emacs 25.1, I get an error when trying to open any files through C-o: 'void variable helm-follow-mode'. Example .emacs:

(require 'package)
(setq
 package-enable-at-startup nil
 package-archives '(("melpa-stable" . "https://stable.melpa.org/packages/")
                    ("melpa" . "https://melpa.org/packages/")
                    ("gnu" . "https://elpa.gnu.org/packages/")))

(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(require 'use-package)

(setq use-package-always-ensure t)

(use-package ergoemacs-mode
  :pin melpa-stable
  :config
  (ergoemacs-mode))

(use-package helm
  :pin melpa-stable
  :config
  (require 'helm-config)
  (helm-mode 1))

(setq debug-on-error t)

Adding (setq helm-follow-mode nil) as a workaround lets me open files again. I had the same problem with the old stable ergoemacs on Emacs 24.5 after upgrading helm a few days ago, so I suspect something has changed there.

mattfidler commented 7 years ago

Thanks for the bug report. I have added a work-around. It should work without using the (setq helm-follow-mode nil)

If you have any problems let me know.

calliecameron commented 7 years ago

It works, thanks.