From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davor Rotim Newsgroups: gmane.emacs.bugs Subject: bug#28889: 26.0.90; TRAMP and custom file location Date: Wed, 18 Oct 2017 12:32:56 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c06388a5a2ac0055bcfc33c" X-Trace: blaine.gmane.org 1508322871 7206 195.159.176.226 (18 Oct 2017 10:34:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 10:34:31 +0000 (UTC) To: 28889@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 18 12:34:19 2017 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 1e4lg0-0000CO-1L for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 12:34:16 +0200 Original-Received: from localhost ([::1]:43730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4lg5-00076z-KL for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 06:34:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4lfs-00074f-2F for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4lfn-0003Cv-1s for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:34:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4lfm-0003Cp-U0 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4lfm-0004kn-Jq for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Davor Rotim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2017 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28889 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150832280118215 (code B ref -1); Wed, 18 Oct 2017 10:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Oct 2017 10:33:21 +0000 Original-Received: from localhost ([127.0.0.1]:47327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4lf7-0004ji-1L for submit@debbugs.gnu.org; Wed, 18 Oct 2017 06:33:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4lf4-0004jU-LM for submit@debbugs.gnu.org; Wed, 18 Oct 2017 06:33:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4leu-0002d0-Je for submit@debbugs.gnu.org; Wed, 18 Oct 2017 06:33:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4leu-0002ct-Fy for submit@debbugs.gnu.org; Wed, 18 Oct 2017 06:33:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4leo-0006aO-HX for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:33:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4lem-0002X7-EX for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:33:02 -0400 Original-Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:55464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4lem-0002VP-3C for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 06:33:00 -0400 Original-Received: by mail-wr0-x22f.google.com with SMTP id z99so2016618wrc.12 for ; Wed, 18 Oct 2017 03:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GN2VJw8QBgt1GgNE3/9en9cn8xOIlXilSdT65qJgPH4=; b=NOZnrcTDbG0RtZkVDhAsHVqIVbxBuU8aCrZ4FgP7wTdaxt6WyyMN9mX2VeJYahmQ9i utVP4n0rt4TI9JI+OnCr2Fm3BRqjtjuTcWbz2t6ffnoUAU40wtbmFJAZye31Zy6v20pp 1ySzXFp3+4YQayFpwxB2X5mUKUzbx73y71wgbQzzXjCYISXhyDkXkkZtzLqZBdLzzrZ7 KujvYWPB+GHdSIMdETX8ANaZFxwNlCzlGsbtPR/u3I8hYryAkoW1jypAhXTlWMpU0mfQ OBTpIWoal8G5tfkq3LhnIIgg3hUGFuxDNTEp5TePSC/1qXFcrpv3Qt824sw+Adbfh3ae D/Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GN2VJw8QBgt1GgNE3/9en9cn8xOIlXilSdT65qJgPH4=; b=VVqwnYn0ZR41b/igjE5yrQEVmreldCNQC0n9/geNfz2WfpH6vZTamWQQmyMdSZSzZz 8gyJ2HEnSqKAqETf7E8oz+hwDTtLi5djHE+YJenPU/Tq1gj/7gzh/3iHIjI78GJ34R5I xH2FAxjX1CEruopYGBpXhHq6TEIVbbwS7+rw4ZCCbSUn53mnQIZYxK1RDH8Yc6sWnst8 GlAx/c20dYkToG3z5Gfv1SoP90R9yoSXO2wbJn/Pn9vpfPI51huxyBK5BB5BnAyyfmqW O28qPqBMqxLr0V6lYmCpfoJ96Ru1rRQlLqulsiSGUPl1UEeCdaB5kwbfqY44sKsTW7aY etUg== X-Gm-Message-State: AMCzsaXrZlVn4ETQV30zAZLLeG9xTjBrjoCmWa0VExnTVrb6LYYzTNLC Dd+A3FniJOPmwWTLCxd9gPjjdVtfdzJjyvuEFcxlKw== X-Google-Smtp-Source: ABhQp+S63kylULlex0Y0MMSF4ZP0w/XIorjENPUshGnBEfbIw5yM8ylB3vzj8KPLuIgMU6qaXQy6dvqH148iQOpPp0M= X-Received: by 10.223.160.41 with SMTP id k38mr1884191wrk.252.1508322777376; Wed, 18 Oct 2017 03:32:57 -0700 (PDT) Original-Received: by 10.223.150.88 with HTTP; Wed, 18 Oct 2017 03:32:56 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:138663 Archived-At: --94eb2c06388a5a2ac0055bcfc33c Content-Type: text/plain; charset="UTF-8" Consider the following init file: ;; Begin (package-initialize) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (eval-when-compile (require 'use-package)) (use-package slime :ensure t) (setq custom-file "~/.emacs.d/custom.el") (load custom-file 'noerror) ;; End This will produce a following custom.el file: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages (quote (slime use-package))) '(tramp-syntax (quote default) nil (tramp))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) For some reason the tramp-syntax line gets added which causes TRAMP to load at startup, this didn't happen with GNU Emacs 25.3 and it slows down startup while it gets loaded unnecessarily. This only happens if I specify a custom-file location, if those two last lines are deleted then the TRAMP line doesn't get added to the init file: ;; Begin (package-initialize) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (eval-when-compile (require 'use-package)) (use-package slime :ensure t) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages (quote (slime use-package))) '(tramp-syntax (quote default) nil (tramp))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) ;; End So far this happens only with SLIME and Cider packages. In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Version 3.22.24) of 2017-10-13 built on lambda Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Debian GNU/Linux unstable (sid) Recent messages: Loading /home/drot/.emacs.d/custom.el (source)... Loading tramp...done Loading /home/drot/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure 'CFLAGS=-march=native -O2 -pipe -fstack-protector-strong' --prefix=/home/drot/.local '--program-transform-name=s/^ctags$/ctags.emacs/'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils leuven-theme time-date elec-pair tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec advice cus-start cus-load slime compile etags xref project arc-mode archive-mode noutline outline pp comint ansi-color ring hyperspec thingatpt browse-url use-package diminish bind-key easy-mmode finder-inf info slime-autoloads package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 266033 12419) (symbols 24 27060 1) (miscs 20 115 100) (strings 16 51982 2324) (string-bytes 1 1352983) (vectors 8 44214) (vector-slots 4 834834 14348) (floats 8 107 14) (intervals 28 261 0) (buffers 528 12)) --94eb2c06388a5a2ac0055bcfc33c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Consider the following = init file:

;; Begin
(package-initialize)
(add-to-list &#= 39;package-archives
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 '("melpa" . "https://melpa.org/packages/"))


(unle= ss (package-installed-p 'use-package)
=C2=A0 (package-refresh-conten= ts)
=C2=A0 (package-install 'use-package))


(eval-when-com= pile
=C2=A0 (require 'use-package))


(use-package slime=C2=A0 :ensure t)

(setq custom-file "~/.emacs.d/custom.el"= ;)
(load custom-file 'noerror)
;; End

This wil= l produce a following custom.el file:

(custom-set-variables
=C2= =A0;; custom-set-variables was added by Custom.
=C2=A0;; If you edit it = by hand, you could mess it up, so be careful.
=C2=A0;; Your init file sh= ould contain only one such instance.
=C2=A0;; If there is more than one,= they won't work right.
=C2=A0'(package-selected-packages (quote= (slime use-package)))
=C2=A0'(tramp-syntax (quote default) nil (tra= mp)))
(custom-set-faces
=C2=A0;; custom-set-faces was added by Custom= .
=C2=A0;; If you edit it by hand, you could mess it up, so be careful.<= br>=C2=A0;; Your init file should contain only one such instance.
=C2=A0= ;; If there is more than one, they won't work right.
=C2=A0)

=
For some reason the tramp-syntax line gets added which causes TRAMP t= o load at startup,
this didn't happen with GNU Emacs 25.3 and= it slows down startup while it gets loaded unnecessarily.
This on= ly happens if I specify a custom-file location, if those two last lines are= deleted then
the TRAMP line doesn't get added to the init fi= le:

;; Begin
=C2=A0(package-initialize)
(add-to-list = 9;package-archives
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 '("melpa" . "https://melpa.org/packages/"))


(unle= ss (package-installed-p 'use-package)
=C2=A0 (package-refresh-conten= ts)
=C2=A0 (package-install 'use-package))


(eval-when-com= pile
=C2=A0 (require 'use-package))


(use-package slime=C2=A0 :ensure t)
(custom-set-variables
=C2=A0;; custom-set-variable= s was added by Custom.
=C2=A0;; If you edit it by hand, you could mess i= t up, so be careful.
=C2=A0;; Your init file should contain only one suc= h instance.
=C2=A0;; If there is more than one, they won't work righ= t.
=C2=A0'(package-selected-packages (quote (slime use-package)))=C2=A0'(tramp-syntax (quote default) nil (tramp)))
(custom-set-face= s
=C2=A0;; custom-set-faces was added by Custom.
=C2=A0;; If you edit= it by hand, you could mess it up, so be careful.
=C2=A0;; Your init fil= e should contain only one such instance.
=C2=A0;; If there is more than = one, they won't work right.
=C2=A0)
;; End

<= /div>
So far this happens only with SLIME and Cider packages.
=

In GNU Emacs 26.0.90 (build 1, = i686-pc-linux-gnu, GTK+ Version 3.22.24)
=C2=A0of 2017-10-13 built on la= mbda
Windowing system distributor 'The X.Org Foundation', versio= n 11.0.11905000
System Description:=C2=A0=C2=A0=C2=A0 Debian GNU/Linux u= nstable (sid)

Recent messages:
Loading /home/drot/.emacs.d/custom= .el (source)...
Loading tramp...done
Loading /home/drot/.emacs.d/cust= om.el (source)...done
For information about GNU Emacs and the GNU system= , type C-h C-a.

Configured using:
=C2=A0'configure 'CFLAG= S=3D-march=3Dnative -O2 -pipe -fstack-protector-strong'
=C2=A0--pref= ix=3D/home/drot/.local
=C2=A0'--program-transform-name=3Ds/^ctags$/c= tags.emacs/''

Configured features:
XPM JPEG TIFF GIF PNG = RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS L= IBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LI= BSYSTEMD LCMS2

Important settings:
=C2=A0 value of $LANG: en_US.U= TF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Fundamen= tal

Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2= =A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldo= c-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au= to-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-= mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None = found.

Features:
(shadow sort mail-extr emacsbug message rmc puny= dired dired-loaddefs
rfc822 mml mml-sec epa derived epg gnus-util rmail= rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabb= rev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mai= l-prsvr
mail-utils leuven-theme time-date elec-pair tramp tramp-compattramp-loaddefs trampver ucs-normalize shell pcomplete parse-time
forma= t-spec advice cus-start cus-load slime compile etags xref project
arc-mo= de archive-mode noutline outline pp comint ansi-color ring
hyperspec thi= ngatpt browse-url use-package diminish bind-key easy-mmode
finder-inf in= fo slime-autoloads package easymenu epg-config url-handlers
url-parse au= th-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache = url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib = mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float= -type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset= image regexp-opt fringe tabulated-list replace
newcomment text-mode eli= sp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch t= imer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-cor= e term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vi= etnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebr= ew greek romanian slovak czech
european ethiopic indian cyrillic chinese= composite charscript charprop
case-table epa-hook jka-cmpr-hook help si= mple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button face= s cus-face macroexp files
text-properties overlay sha1 md5 base64 format= env code-pages mule
custom widget hashtable-print-readable backquote db= usbind inotify lcms2
dynamic-setting system-font-setting font-render-set= ting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)<= br>
Memory information:
((conses 8 266033 12419)
=C2=A0(symbols 24= 27060 1)
=C2=A0(miscs 20 115 100)
=C2=A0(strings 16 51982 2324)
= =C2=A0(string-bytes 1 1352983)
=C2=A0(vectors 8 44214)
=C2=A0(vector-= slots 4 834834 14348)
=C2=A0(floats 8 107 14)
=C2=A0(intervals 28 261= 0)
=C2=A0(buffers 528 12))
--94eb2c06388a5a2ac0055bcfc33c--