X-Loop: help-debbugs@HIDDEN Subject: bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Resent-From: Zhang Haijun <ccsmile2008@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 05 Feb 2019 09:45:02 +0000 Resent-Message-ID: <handler.34328.B.154935989915933 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 34328 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 34328 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.154935989915933 (code B ref -1); Tue, 05 Feb 2019 09:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Feb 2019 09:44:59 +0000 Received: from localhost ([127.0.0.1]:60114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gqxHn-00048s-IY for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 04:44:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ccsmile2008@HIDDEN>) id 1gqxHk-00048e-BF for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 04:44:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:58097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ccsmile2008@HIDDEN>) id 1gqxHf-0008U6-2I for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 04:44:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ccsmile2008@HIDDEN>) id 1gqxHe-0004zU-2x for bug-gnu-emacs@HIDDEN; Tue, 05 Feb 2019 04:44:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ccsmile2008@HIDDEN>) id 1gqxHd-0008Rc-3p for bug-gnu-emacs@HIDDEN; Tue, 05 Feb 2019 04:44:50 -0500 Received: from mail-oln040092254052.outbound.protection.outlook.com ([40.92.254.52]:6236 helo=APC01-PU1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ccsmile2008@HIDDEN>) id 1gqxHc-0008ND-JE for bug-gnu-emacs@HIDDEN; Tue, 05 Feb 2019 04:44:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W910RqYw1qHKjYljidd4V6beAWifuwuD32XDn0dFZrg=; b=dfpawFtxdcvBG/aLr1rWCqchzytqMjFyaqLgUnaxHzmS4yMLtJM6rd4tdpiHQlmHlXwlKpCzrPWFKzNX+4pPSZKjCYb+YQhMsyibDLF2ODV1kRXveFet0r5WKJBRtNT/ee60bz0EJCwBJQMWdOHU7UvDZ4jxt7oj+Orak8zklIgQvKSmvlCA0eeEJbnJwwIggEu4m7L5udEBFaoQazH0uAvWPLe5vj3FXijVl1RhxiFdMevjxVTMCO0Kgte4xfpe/qudowM6rYzQpYLpO2cjSKNQIfcQQKDscG1mKejU2pXDSdeMeQ8nwiGyvRvsubzaIr/3G7DnITIBwjig9xhm+w== Received: from HK2APC01FT018.eop-APC01.prod.protection.outlook.com (10.152.248.57) by HK2APC01HT022.eop-APC01.prod.protection.outlook.com (10.152.249.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10; Tue, 5 Feb 2019 09:44:35 +0000 Received: from PS1PR06MB2759.apcprd06.prod.outlook.com (10.152.248.57) by HK2APC01FT018.mail.protection.outlook.com (10.152.248.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10 via Frontend Transport; Tue, 5 Feb 2019 09:44:35 +0000 Received: from PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::f148:4bb6:5470:d6c]) by PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::f148:4bb6:5470:d6c%3]) with mapi id 15.20.1580.019; Tue, 5 Feb 2019 09:44:35 +0000 From: Zhang Haijun <ccsmile2008@HIDDEN> Thread-Topic: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Thread-Index: AQHUvTdnjMqRwvnyk0a0cuxb0j0Fqw== Date: Tue, 5 Feb 2019 09:44:35 +0000 Message-ID: <PS1PR06MB2759A0E1E3B6510111F42D25A86E0@HIDDEN> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0P153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::13) To PS1PR06MB2759.apcprd06.prod.outlook.com (2603:1096:803:46::13) x-incomingtopheadermarker: OriginalChecksum:8C91B397C5F1E9C71D2E78718B013960C6AD17E4D263D54AF3FD2FB10992FC05; UpperCasedChecksum:5D2E67B0AE87AC0C5FCC5CA577420A099A0E40DAA9304380A9708E27C3C8262F; SizeAsReceived:8417; Count:62 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Apple Mail (2.3445.9.1) x-tmn: [QdewCUnBECgT/Bhm4BkKA16nHXlyEHOx] x-microsoft-original-message-id: <2B6CBB86-602C-4E85-A81B-2F274A31E828@HIDDEN> x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HK2APC01HT022; 6:wBmthRYdHlTBgKHVaEuBGZMY+LYFHCqkXSyX71g1OWx9d1Mo3RuZE77XsfeLD8JzK9JVLwTJvKkNnHBpn6q0hDJTFYLx4L2hQd5Avo4FLkoCZ2pyGGzLkQFUSwOZpyAg1aDlXixbD26cVomuZzuClMfjND6gIXoKARXL8MvzW2tyxTm3PTSmM4UZyyCQ6OKixgoG5jtCpoIQKmrX9QNJpsS9WB5OSA8CQB1+psi7kGExKzlASHzHR5tbURbj1uEKJ1+MOeSxw4P8ShQ92yOb/cGthqo7tTR5DqvxPTZ5Bthzk38R0hkFDFqT8vWYPiWRll8x/wRivp4jKwNEuGFqwPiJpAg6D+sKYVdpGshS0k4FUeKFeFZ96u7aHykAw/2yoSf9dsdyipyDbRrk+DB37tYwHO3C8NQ0rR3GxeIBhbt4udFOJImeH1rIKk72PK/9ongEfk9wZrOoKiEnjcQOsw==; 5:wYg6qC8Rw8+zArtfd6plVVEihIBXciWxMFGq3Hn2G3JcCUjifkMXR/CIQCpxXs1O7mvU0O5zJT+1PYxGqorV1brul0eeArGYV1T6MimqjKai9eTlRi5jn9hoEAMYU8BjheH65LkkEzxQvPjfcXjzc6sMezAlukFshVUz+gxW4wyD39t+pseFGy6a1tJeFoLh7NOjnN5VVXEsmQvhIFVAnA==; 7:dppRhYR5CzJm9vIGEVqThsGrwFw+nQu0LXAgJrcmqZ2xH+ezjG0ckHnnXZDRWxB0ns0oj1oHawcvvHNSM91OIssISi3177dv8FfkM55weE9KxEL84vH2QQGdcYSYoKTqBhXVPHtYfI3Z/aIprMO5Yg== x-incomingheadercount: 62 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:HK2APC01HT022; x-ms-traffictypediagnostic: HK2APC01HT022: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:HK2APC01HT022; BCL:0; PCL:0; RULEID:; SRVR:HK2APC01HT022; x-microsoft-antispam-message-info: EIynBTmTHy4kNA5QoOZHf7JNKK9GeOpVvZYkfbRPXjRbXHophEvn9SgNznxL+bhp Content-Type: text/plain; charset="gb2312" Content-ID: <FCB86796BF2B3142B57ABAD477D8A048@HIDDEN> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 54485d23-c432-40fe-8436-6091d627118c X-MS-Exchange-CrossTenant-Network-Message-Id: fa551cb0-51cf-4f09-2f8b-08d68b4e89d1 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 54485d23-c432-40fe-8436-6091d627118c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2019 09:44:35.2349 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT022 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.92.254.52 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I use desktop to remember my opened buffers. There are about 220 buffers now. Everytime I start Emacs, I see the most time is spent on loading buffers. The total startup time is about 6s or more, whic [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ccsmile2008[at]outlook.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ccsmile2008[at]outlook.com) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) SSB1c2UgZGVza3RvcCB0byByZW1lbWJlciBteSBvcGVuZWQgYnVmZmVycy4gVGhlcmUgYXJlIGFi b3V0IDIyMCBidWZmZXJzIG5vdy4gRXZlcnl0aW1lIEkgc3RhcnQgRW1hY3MsIEkgc2VlIHRoZSBt b3N0IHRpbWUgaXMgc3BlbnQgb24gbG9hZGluZyBidWZmZXJzLiBUaGUgdG90YWwgc3RhcnR1cCB0 aW1lIGlzIGFib3V0IDZzIG9yIG1vcmUsIHdoaWNoIGlzIHRvbyBsb25nIGZvciBtZS4NCg0KSSBr bm93IHRoZSBsYXp5LWxvYWRpbmcgZmVhdHVyZSBvZiBkZXNrdG9wLiBCdXQgSSBkb26hr3QgbGlr ZSBpdCBiZWNhdXNlOiANCjEuIEkgY2Fuoa90IHN3aXRjaCB0byBidWZmZXIgd2hpY2ggaXMgbm93 IGxvYWRlZCBieSBkZXNrdG9wLg0KMi4gSWYgSSBxdWl0IGVtYWNzIGJlZm9yZSBhbGwgbGF6eS1s b2FkaW5nIGZpbmlzaGVkLCBzb21lIGJ1ZmZlcnMgd2lsbCBub3QgYmUgcmVtZW1iZXJlZCBieSBk ZXNrdG9wLg0KDQpUaGVyZSBtYXkgYmUgdHdvIHNvbHV0aW9uczoNCjEuIExvYWQgbXVsdGlwbGUg YnVmZmVycyBjb25jdXJyZW50bHkNCjIuIEF1dG9sb2FkIGJ1ZmZlcnMgbGlrZSBhdXRvbG9hZGlu ZyBlbGlzcCBmaWxlcyBvciBkeW5hbWljIG1vZHVsZXMNCg0KDQo=
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Zhang Haijun <ccsmile2008@HIDDEN> Subject: bug#34328: Acknowledgement ([feature request]: autoloading buffers like autoloading elisp files or dynamic modules) Message-ID: <handler.34328.B.154935989915933.ack <at> debbugs.gnu.org> References: <PS1PR06MB2759A0E1E3B6510111F42D25A86E0@HIDDEN> X-Gnu-PR-Message: ack 34328 X-Gnu-PR-Package: emacs Reply-To: 34328 <at> debbugs.gnu.org Date: Tue, 05 Feb 2019 09:45:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 34328 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 34328: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34328 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 05 Feb 2019 16:21:01 +0000 Resent-Message-ID: <handler.34328.B34328.15493836356728 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 34328 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Zhang Haijun <ccsmile2008@HIDDEN> Cc: 34328 <at> debbugs.gnu.org Received: via spool by 34328-submit <at> debbugs.gnu.org id=B34328.15493836356728 (code B ref 34328); Tue, 05 Feb 2019 16:21:01 +0000 Received: (at 34328) by debbugs.gnu.org; 5 Feb 2019 16:20:35 +0000 Received: from localhost ([127.0.0.1]:33676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gr3Sd-0001kQ-II for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 11:20:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gr3Sb-0001kD-0U for 34328 <at> debbugs.gnu.org; Tue, 05 Feb 2019 11:20:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gr3ST-0008G5-OD; Tue, 05 Feb 2019 11:20:25 -0500 Received: from [176.228.60.248] (port=2319 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gr3SR-00038f-CG; Tue, 05 Feb 2019 11:20:25 -0500 Date: Tue, 05 Feb 2019 18:20:13 +0200 Message-Id: <83munatdfm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <PS1PR06MB2759A0E1E3B6510111F42D25A86E0@HIDDEN> (message from Zhang Haijun on Tue, 5 Feb 2019 09:44:35 +0000) References: <PS1PR06MB2759A0E1E3B6510111F42D25A86E0@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > From: Zhang Haijun <ccsmile2008@HIDDEN> > Date: Tue, 5 Feb 2019 09:44:35 +0000 > > There may be two solutions: > 1. Load multiple buffers concurrently This cannot be done without very extensive changes in how the Lisp interpreter works. Currently, we cannot allow more than one Lisp thread at a time. > 2. Autoload buffers like autoloading elisp files or dynamic modules This should be doable, I think. Patches are welcome. Thanks.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.