From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Hisch Newsgroups: gmane.emacs.bugs Subject: bug#31099: 27.0.50; ultra long tramp entries in recentf file Date: Mon, 9 Apr 2018 20:09:49 +0200 Message-ID: <2af8224e-6504-6f15-dc54-dff8b74ccae3@ims.co.at> References: <871sfosavn.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1523297290 11888 195.159.176.226 (9 Apr 2018 18:08:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2018 18:08:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: 31099@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 09 20:08:06 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 1f5bD3-00030q-Gu for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Apr 2018 20:08:05 +0200 Original-Received: from localhost ([::1]:56560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5bF9-0004Hn-0v for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Apr 2018 14:10:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5bF1-0004HB-FV for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 14:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5bEw-0007M9-DN for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 14:10:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5bEw-0007Lr-88 for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 14:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f5bEv-00035S-UX for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 14:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Hisch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Apr 2018 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31099 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31099-submit@debbugs.gnu.org id=B31099.152329740011855 (code B ref 31099); Mon, 09 Apr 2018 18:10:01 +0000 Original-Received: (at 31099) by debbugs.gnu.org; 9 Apr 2018 18:10:00 +0000 Original-Received: from localhost ([127.0.0.1]:44227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5bEu-000358-D6 for submit@debbugs.gnu.org; Mon, 09 Apr 2018 14:10:00 -0400 Original-Received: from mail.ims.co.at ([81.223.138.19]:51812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5bEs-00034u-3t for 31099@debbugs.gnu.org; Mon, 09 Apr 2018 14:09:58 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.ims.co.at (Postfix) with ESMTP id BACE213947; Mon, 9 Apr 2018 20:09:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at ims.co.at Original-Received: from mail.ims.co.at ([127.0.0.1]) by localhost (mail.ims.co.at [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NVSBvhd3bfwg; Mon, 9 Apr 2018 20:09:51 +0200 (CEST) Original-Received: by mail.ims.co.at (Postfix, from userid 1000) id 157CD13980; Mon, 9 Apr 2018 20:09:51 +0200 (CEST) Original-Received: from srv-xchg.ims.co.at (unknown [10.120.20.61]) by mail.ims.co.at (Postfix) with ESMTPS id 10C3D13947; Mon, 9 Apr 2018 20:09:50 +0200 (CEST) Original-Received: from [10.1.2.225] (10.1.2.225) by srv-xchg-01.ims.co.at (10.120.20.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 9 Apr 2018 20:09:50 +0200 In-Reply-To: <871sfosavn.fsf@gmx.de> Content-Language: en-US X-Originating-IP: [10.1.2.225] X-ClientProxiedBy: srv-xchg-02.ims.co.at (10.120.20.62) To srv-xchg-01.ims.co.at (10.120.20.61) 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:145048 Archived-At: Hi Michael, no I can't reproduce it neither using emacs -Q nor with my current emacs setup. I regularly update and recompile emacs and my installed elisp packages. Approx. 2 weeks ago I noticed that closing emacs takes longer than 10sec, but I didn't investigate this further until yesterday. My recentf config is quite simple: (setq recentf-save-file (concat thi::cache-file-dir "/recentf")) (require 'recentf) (recentf-mode 1) (setq recentf-keep '(file-remote-p file-readable-p)) (setq recentf-max-menu-items 60) (setq recentf-max-saved-items 500) (setq recentf-exclude '("COMMIT_EDITMSG" ".newsrc-dribble")) I'll keep an eye on this issue. On 2018-04-09 16:38, Michael Albinus wrote: > Thomas Hisch writes: > > Hi Thomas, > >> I have a recentf file containing only 171 lines but it's 56MB big! Due to >> its large size loading and closing emacs is slowed down. >> >> The large size is due to a few tramp entries like the following (each >> entry consumes approx 10MB): >> >> #("/ssh:user@host:/file1" 1 4 (match-part #("/ssh:user@host:/file2" 1 4 >> .... >> >> I guess that this is either a bug in recentf or in tramp. > > I cannot reproduce it locally. Usually, I don't use recentf. For testing > I've enabled it via `M-x recentf-mode', closed Emacs, and started a new > Emacs session. Visiting the recentf file, it doesn't look suspicious. > > Do you reproduce the problem with a similar setting, starting with > "emacs -Q"? > > Could you send me your recentf file? Maybe I'll see something Tramp > related there. > > Best regards, Michael. > --------------------------------------------------------------------- Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly prohibited IMS Nanofabrication GmbH FN: 208021 p, FB-Gericht: Wien; Sitz: Schreygasse 3, 1020, Vienna (Austria),Tel. +43 1 214 48 94; E-Mail: imsoffice@ims.co.at; DVR-Nr: 0374369; www.ims.co.at