From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Using "Emacs Configure" **and** modifying .emacs Date: Tue, 15 Aug 2017 15:25:56 -0700 Message-ID: References: <1502436066.2568371.1070085968.1D25E0E7@webmail.messagingengine.com> <87tw1ekxgo.fsf@127.0.0.1> <867ey9sva2.fsf@zoho.com> <86378xskth.fsf@zoho.com> <20170812073057.GB20873@tuxteam.de> <86bmnlqlic.fsf@zoho.com> <20170812080204.GC20873@tuxteam.de> <867ey9qf0q.fsf@zoho.com> <87wp69jcjt.fsf@fliptop> <864lt8eb36.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1502836012 7028 195.159.176.226 (15 Aug 2017 22:26:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Aug 2017 22:26:52 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 16 00:26:47 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhkIQ-0001Rf-3U for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 00:26:46 +0200 Original-Received: from localhost ([::1]:46133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhkIW-00059H-DO for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Aug 2017 18:26:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhkHz-00058j-LE for help-gnu-emacs@gnu.org; Tue, 15 Aug 2017 18:26:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhkHy-0002yN-8o for help-gnu-emacs@gnu.org; Tue, 15 Aug 2017 18:26:19 -0400 Original-Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:34605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhkHy-0002y5-05 for help-gnu-emacs@gnu.org; Tue, 15 Aug 2017 18:26:18 -0400 Original-Received: by mail-qt0-x22e.google.com with SMTP id s6so12011160qtc.1 for ; Tue, 15 Aug 2017 15:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=DwbChTSZQakmwitnIrwpkmnWmD7vqKuF24XYLjTT6a0=; b=pMvawUT4N7udiwltwy24CPa0cmE96Kg/YRkwttBwBitCilkBpegTDD5/TdzyU7xnzK uXDzWPKJigTVyJtZWSocpuaNU91AfWxGViVHPw58Wk/OtxjpRUAPkR3giXojlm+gvyjw Cjh7R0mubea4vU+B5Q3OKZ1tddo+j5ytl/K4zPi53DHwgSuTw0euWqQzStfkW4N6DjWI GqDm5VL3WFd7kT0NL0h7f8ZOwSRzOqg51aP6vQzdI9T2kdC1KoYx+DqcNny3A+LfIhdb NdihNs/xj6hLvJaXRFDC5xGc8VGwlNWkCgAfRA67wA4P1I5UYzyRckHh0pVQ8yEVMuz8 6GmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=DwbChTSZQakmwitnIrwpkmnWmD7vqKuF24XYLjTT6a0=; b=BvMve4JdkRcg5lA/QRHXI63a7HdSDEUGRhRUjyRzXPZPBka9VBBy1tpFWQAEImZw8W p9SaFi9pAeh11sXknOb0K8xOAr9YlCH0at0ZXJLuIkSDGoPwRCa6VcDQEJb0o744RO73 cvB/CsiJa+nBTR5hTjtrhJsqijILW8OiV6/8ktpCGaV6lg3H0zxhCCaf/zCEdcvS4doZ kqSow27Eza0PhzC+xP3LW/5xYvyTOg7cs2+nSszGEwZxEUl+bygoXEG9WKO8efKZsDnR 9FQnO02FWK8l9AwU9mFZA2RHOJXx5A9pq8nWI5hY82opjvHiLxX2PKyHWg3irXCQf4YH MNwg== X-Gm-Message-State: AHYfb5ggQSQ0pCuFlB3gnIyMOynTi6qDaRdmuVS7a9Q5otHjIPwdnr0T UntVZIdNro4TdF81XGWcWe6FUjlvW/EMB/Q= X-Received: by 10.237.42.44 with SMTP id c41mr39327528qtd.74.1502835977024; Tue, 15 Aug 2017 15:26:17 -0700 (PDT) Original-Received: by 10.200.15.156 with HTTP; Tue, 15 Aug 2017 15:25:56 -0700 (PDT) In-Reply-To: <864lt8eb36.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114048 Archived-At: Emanuel Berg wrote: > According to the thread, `customize-set-variable' should be used > rather than setq. I would put it differently: it's fine to use `setq' on any variable, it's just that there may be more to be done. You could therefore use `customize-set-variable', but my preference is generally to view the variable's definition, see whether a custom setter is defined, and decide if I need to do anything about it. > 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 It's not an error to use `setq' on variables with custom setters. > Wrong type argument: symbolp > > or > > Attempt to set a constant symbol: nil `customize-set-variable' is a function, so its arguments are evaluated. In other words, it's like `set' rather than `setq'. John