From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: custom-set-variables considered harmful Date: Fri, 1 Dec 2017 10:44:17 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114415442b3518055f4438a3" X-Trace: blaine.gmane.org 1512153683 4626 195.159.176.226 (1 Dec 2017 18:41:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2017 18:41:23 +0000 (UTC) To: Philippe Vaucher , =?UTF-8?Q?Elias_M=C3=A5rtenson?= , Stefan Monnier , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 01 19:41:19 2017 Return-path: Envelope-to: ged-emacs-devel@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 1eKqFS-0000qg-5k for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2017 19:41:18 +0100 Original-Received: from localhost ([::1]:59582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKqFZ-0001T9-Di for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2017 13:41:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKoRK-0004jd-HB for emacs-devel@gnu.org; Fri, 01 Dec 2017 11:45:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKoRJ-0003hF-T3 for emacs-devel@gnu.org; Fri, 01 Dec 2017 11:45:26 -0500 Original-Received: from mail-vk0-x235.google.com ([2607:f8b0:400c:c05::235]:36843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKoRJ-0003gz-Fy for emacs-devel@gnu.org; Fri, 01 Dec 2017 11:45:25 -0500 Original-Received: by mail-vk0-x235.google.com with SMTP id f73so5891551vki.3 for ; Fri, 01 Dec 2017 08:45:25 -0800 (PST) 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=31ra6t50a42u1XDV/OmZBCLYWD1OmPYwYQMkHSTcA5M=; b=aZS3wTFYBBeSLKnaNoEORm3NKtf/DkPsZxFnqM5mmpgzmRqUF5xSu6XIHXkwmEN9JN 2BjnhRIfSyUT5PWCSnBgeIM1oTuUkbNv8fexxLEUtgQPYlhgeuRmygnV+ji7PGOO6aL2 GBBtEOOyeM9HvyAZ2MCQrUYQhMuT+/qbmfrpPM66qAxaG2rbJFQA8wMM8iSfqUEyZnbI mZmQyBhs+2DHLs+qTLya4dT0QvC8L1VoN23mIuiTyx/HRQKlzB80iejdr+JRAJ0vNiSj D7/gl6Ijq0u/NtHN89h38+iFluGzwRZMsGteCbGP6pG91UtHI3y1dsd/njIM1rv30uiR YrZA== 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=31ra6t50a42u1XDV/OmZBCLYWD1OmPYwYQMkHSTcA5M=; b=Q2wQnqSGBKb4QpS8uA7aeLHTzera6cFpH5Sqp91+K5hEGMK8/ZlaF0TgUEiKUbZcFj JibaZY6i8fcHQnNUTC3qNry5PYeCBBEBBy6AJJni+bayiIzzwftNLXpk96spn9E1wxwI ozVNCKa1/2bESktXoNf0YQtZS6qtjOBy683fXk5BgNH2sA4TBuUimadbYP4POriTGCK2 7DlwUJzeFXfoFsGlRUp6+xsLkJxDeQTVxXSI2ngDQGYEn+eBtav30jTgDEjEJ/wNP/5H MuKnKMG941FyknPS1dMIU7azoY0CtabUu6I4l2f1+a+LBjGZIcINQfPyVRNAroqZIIUr rwhg== X-Gm-Message-State: AKGB3mKZ2wsF6ouXempspvo2wRsntRwjfvJWQgk+j3pAqNDkogb9kWO6 sjyon+bDrd58uoBsVsy8OdfTq9ovL7amsyZlYwI= X-Google-Smtp-Source: AGs4zMZMP5iqK1NCW+mWnU53wd4RDJuPuJEgfsU6620bBDRv4k1Tvs5WUybEM7Qo0kvsh6HB/FLpFw8g3W9rK+3IekE= X-Received: by 10.31.14.14 with SMTP id 14mr3958119vko.88.1512121488322; Fri, 01 Dec 2017 01:44:48 -0800 (PST) Original-Received: by 10.103.82.195 with HTTP; Fri, 1 Dec 2017 01:44:17 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220571 Archived-At: --001a114415442b3518055f4438a3 Content-Type: text/plain; charset="UTF-8" > > VP> The problem I have with c-s-v is that I don't see its benefits for > configs > VP> like this: > > Just FYI, in the latest use-package (on github) you can now say: > > (snip) > > Which uses custom-set-variables under the hood, taking advantage of any > :set > functions related to those variables. > Ah, I agree that looks cleaner. Thanks! Philippe --001a114415442b3518055f4438a3 Content-Type: text/html; charset="UTF-8"
VP> The problem I have with c-s-v is that I don't see its benefits for configs
VP> like this:

Just FYI, in the latest use-package (on github) you can now say:

(snip)

Which uses custom-set-variables under the hood, taking advantage of any :set
functions related to those variables.

Ah, I agree that looks cleaner. Thanks!

Philippe
--001a114415442b3518055f4438a3--