[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using "Emacs Configure" **and** modifying .emacs
From: |
John Mastro |
Subject: |
Re: Using "Emacs Configure" **and** modifying .emacs |
Date: |
Tue, 15 Aug 2017 17:09:48 -0700 |
Drew Adams <drew.adams@oracle.com> wrote:
>> > Hint, it's called `customize-set-variable',
>> > not `customize-setq-variable'. ;-)
>> > You need to quote the symbol, if you want to
>> > pass a literal symbol.
>>
>> I'm already starting to dislike this whole idea even more...
>
> What whole idea? Lisp? `set'? Symbols?
> Functions that evaluate their arguments?
>
> (defmacro my-custom-setq (variable value)
> "..."
> `(customize-set-variable ',variable ,value))
>
> (macroexpand '(my-custom-setq fill-column (1+ 41)))
>
> --> (customize-set-variable 'fill-column (1+ 41))
You could even use something like the `csetq' defined here:
https://oremacs.com/2015/01/17/setting-up-ediff/
John
- Re: Using "Emacs Configure" **and** modifying .emacs, (continued)
- Re: Using "Emacs Configure" **and** modifying .emacs, tomas, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, tomas, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, Tomas Nordin, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/12
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- RE: Using "Emacs Configure" **and** modifying .emacs, Drew Adams, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- RE: Using "Emacs Configure" **and** modifying .emacs, Drew Adams, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs,
John Mastro <=
- Re: Using "Emacs Configure" **and** modifying .emacs, Robert Thorpe, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, John Mastro, 2017/08/15
- RE: Using "Emacs Configure" **and** modifying .emacs, Drew Adams, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, John Mastro, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/15
- Re: Using "Emacs Configure" **and** modifying .emacs, Emanuel Berg, 2017/08/12
- RE: Using "Emacs Configure" **and** modifying .emacs, Drew Adams, 2017/08/12