help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using "Emacs Configure" **and** modifying .emacs


From: Emanuel Berg
Subject: Re: Using "Emacs Configure" **and** modifying .emacs
Date: Wed, 16 Aug 2017 00:10:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

The program just written that was supposed to
track down mutants came up with the following
user variables that were incorrectly set with
`setq':

    .emacs, 39: show-paren-delay
    erc-my.el, 9: erc-user-full-name
    erc-my.el, 72: erc-header-line-format
    mode-line.el, 6: column-number-mode
    mode-line.el, 7: line-number-mode
    spell-new.el, 5: ispell-program-name
    w3m-tabs.el, 5: w3m-tab-width

The other program just written confirms this -
possibly because they use the same criteria...

According to the thread,
`customize-set-variable' should be used rather
than setq. However that doesn't work - it won't
evaluate, and the byte compiler - which doesn't
mention the supposed "setq error" by the way -
the byte compiler doesn't accept the New Deal,
saying either

    Wrong type argument: symbolp

or

    Attempt to set a constant symbol: nil

The customize-set-variable interface is

    (customize-set-variable VARIABLE VALUE
      &optional COMMENT)

which sounds a lot like the setq interface,
namely

    (setq [SYM VAL]...)

so why doesn't that work?

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]