From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31558: 27.0; `custom-file' settings messed up by Emacs 27 Date: Wed, 23 May 2018 11:15:24 -0700 (PDT) Message-ID: <9a02dc54-10c0-4dfa-9ff8-b5cae2d804df@default> References: <5cd8f30c-a341-40c9-bb1f-441425e1a160@default> <87wovug2pn.fsf@gmx.de> <8f1290c2-ad20-4ba9-809d-154188bae0fb@default> <87fu2ih1dg.fsf@gmx.de> <87bmd6gsci.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527099249 10009 195.159.176.226 (23 May 2018 18:14:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 May 2018 18:14:09 +0000 (UTC) Cc: 31558@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 23 20:14:05 2018 Return-path: Envelope-to: geb-bug-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 1fLYGz-0002WO-EO for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2018 20:14:05 +0200 Original-Received: from localhost ([::1]:34902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLYJ6-0002J5-M1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2018 14:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLYIx-0002In-2a for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 14:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLYIr-0005Gl-Ti for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 14:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLYIr-0005Gg-Pm for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 14:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLYIr-0006xr-HP for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 May 2018 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31558-submit@debbugs.gnu.org id=B31558.152709933426735 (code B ref 31558); Wed, 23 May 2018 18:16:01 +0000 Original-Received: (at 31558) by debbugs.gnu.org; 23 May 2018 18:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:45617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLYIP-0006x8-Vx for submit@debbugs.gnu.org; Wed, 23 May 2018 14:15:34 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:50650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLYIO-0006wx-TR for 31558@debbugs.gnu.org; Wed, 23 May 2018 14:15:33 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4NIAm6V181462; Wed, 23 May 2018 18:15:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=YqcY/MIqeJ5x7ao43aBfyojmeX5sP6YHbXTrtCCs48E=; b=jUuB6XcktJg/BqRAWIFq6b2qsuAb5xRlEpIrvG5WmZM0A87lAoDsGbVnPZ54zTMICfT2 vjLbLKBxQPFJBRTsVJHatsGBHZcXRkN6k0PBcp+q8Y9FrhU/6AB1DRP+saRue2ksVus5 06SkFnXFaY3nLXGQ0cCCCg5yaI8gbbzaiUB1oyWpDdMr36i+J922pebpIrR6DGgiTra7 wp+M9wMEKCPcR5NAOTi+b0YYobF9/HwLh0Yog/Ic9/EazZ+9CcFiuyJn60mIF/pRDUC/ 0QY83YX0miVbl/pL1fJ89KO0SQWxxqRXXLciTCicmOalQ57s1dbi4wRnNq6hTdtAgnNK TA== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2j4nh7n7sj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 18:15:26 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w4NIFQX9031700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 18:15:26 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4NIFP03012042; Wed, 23 May 2018 18:15:26 GMT In-Reply-To: <87bmd6gsci.fsf@gmx.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8902 signatures=668700 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=899 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805230177 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146440 Archived-At: > > (defcustom tramp-verbose 3 > > "..." > > :group 'tramp > > :type 'integer > > :set (lambda (sym val) > > (when (require 'tramp nil t) > > (custom-set-default sym val))) > > :initialize 'custom-initialize-set) >=20 > This results in >=20 > Loading tramp... > Recursive load: "/net/ford/albinus/src/tramp/lisp/tramp.elc", > "/net/ford/albinus/src/tramp/lisp/tramp.elc", > "/net/ford/albinus/src/tramp/lisp/tramp.elc", > "/net/ford/albinus/src/tramp/lisp/tramp.elc", > "/net/ford/albinus/src/tramp/lisp/tramp.elc" Hm, indeed. Maybe :intialize needs to not try to set it here (i.e., during loading). Maybe :initialize needs to test (featurep 'tramp) or something? Or maybe some other value of :initialize is appropriate? `custom-initialize-default'?=20 `custom-initialize-safe-set'? `custom-initialize-safe-default'? Dunno. I'm no expert on loading and defcustom initialization. > Well, maybe I try something like this next days, as time permits. And > I'm always willing to test your proposals. Thanks for taking a look at this.