-
Notifications
You must be signed in to change notification settings - Fork 347
Custom Haskell variables don't retain their customization #1043
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
Comments
I notice there's entries such as (defvar haskell-indentation-layout-offset 2 "\
Extra indentation to add before expressions in a Haskell layout list.")
(custom-autoload 'haskell-indentation-layout-offset "haskell-indentation" t) in |
I've checked just a moment ago and it works for me. Do you use spacemacs? |
I don't use spacemacs, no... I just tried on a new fresh account on a Ubuntu 14.04 VM and was able to reproduce there as well, steps I took:
I currently suspect this is an autoloads-related issue/bug |
Here's an interesting discussion regarding autoloading defcustoms: https://lists.gnu.org/archive/html/help-gnu-emacs/2007-06/msg00216.html |
Here's another discussion pointing out that autoloaded variables are indeed a mistake in most cases: http://comments.gmane.org/gmane.emacs.devel/176796 |
@hvr: so we have learned by the way that you are tehe only person on this planet that tried to change the defaults :) |
...or maybe just the only one who bothered to get to the bottom of it ;) |
Experienced on
haskell-mode-20151226.750
/Emacs 24.5.1
After having customized a few indentation related custom variables via
M-x customize-mode
, I end up with the followinginit.el
file:However, when restarting emacs with this
init.el
file those variables still show their default2
-value, andcustomize-variable
tells me that the variable's state isThe text was updated successfully, but these errors were encountered: