ergoemacs / ergoemacs-mode

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

ErgoEmacs doesn't save smart paste setting on Mac OS X #464

Closed ceridwen closed 3 years ago

ceridwen commented 7 years ago

With ErgoEmacs mode 20170509.1202, installed through Melpa, when I change the paste behavior from pasting multiple times to cycling through previous pastes through the ErgoEmacs menu and select "Save Settings for Future Sessions," it returns to the default behavior after closing and starting Emacs again. This is with Emacs.app 25.2 on Mac OS 10.12.5. My .emacs in my home directory is writable by my user.

mattfidler commented 7 years ago

Hm. That is dissappointing.

You could always revert to the old was of saving the settings.

(setq ergoemacs-smart-paste nil) ;; Repeat paste.  Paste the same thing multiple times (default)
(setq ergoemacs-smart-paste 'browse-kill-ring) ;; Repeated past browses the kill ring.
(setq ergoemacs-smart-paste 't) ;; Repeated paste, cycles through the last of past items

I would like to solve the bugs ergoemacs-mode soon. If you can figure out any of them, I would love some help.

ceridwen commented 7 years ago

Yeah, I edited my .emacs to include the smart paste setting. In my case, adding '(ergoemacs-smart-paste t) to custom-set-variables worked. (This is probably not the recommended method, but I tried some other approaches and couldn't get them to work.) I wish I could offer more help, but I don't have very much experience with Lisp, and I know next to nothing about Emacs-Lisp.

mattfidler commented 3 years ago

Reopen if you have issues on the new github version