From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: On The Use(fullness) of make-thread Re: Async rebuild package-quickstart after packages update? was Re: 28.0.50; Proposal: slightly more efficient package-quickstart.el Date: Thu, 05 Aug 2021 12:48:43 -0700 Message-ID: References: <24842.41537.969310.87574@retriever.mtv.corp.google.com> <83tuk4jusd.fsf@gnu.org> <83bl6bkgf3.fsf@gnu.org> <24844.6237.24918.634995@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eliz@gnu.org, arthur.miller@live.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 21:49:24 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBjMp-0000GM-UD for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 21:49:23 +0200 Original-Received: from localhost ([::1]:54036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBjMo-0005VJ-MN for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 15:49:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBjMI-0004qX-Sm for emacs-devel@gnu.org; Thu, 05 Aug 2021 15:48:50 -0400 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:50899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBjMH-0002p6-D7 for emacs-devel@gnu.org; Thu, 05 Aug 2021 15:48:50 -0400 Original-Received: by mail-pj1-x102a.google.com with SMTP id l19so11572507pjz.0 for ; Thu, 05 Aug 2021 12:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=jXB1tXEAMZ0oxyIX2/KHxnSDYx2KhMzLvHSWOS2nq8g=; b=qeJKtsgttGKnDwN2iWbR0YkydFbyxS2UlvRX0IKiG8Xpi1KFx10ptvxi+1CKjc0WPF EAZQ1aeWQ1+MgbeDWc/+TBXYdsF45gzFfGgzn1IkFVHZSis7cnCx8CyDlrzemrF7MzqI F6mj0JHriMTKgaKk7K4zCKrTmihcFwQvytrHIa5wH73QlLBSL2o9FGsMBoGaG/bhmNn0 8A8gQpRTEtBd/GFd2uZGAshqW6lKnXP+DWZWDTA4CqcwX0Ved2Yx0GqHW5tRvm96TGoe XpxQABI/+qMLBX83It2FyaOovG5p5OHdj0iyIJVcCW4RPOi+1qFcUzgwX+Ag2gxfVn/u b1Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=jXB1tXEAMZ0oxyIX2/KHxnSDYx2KhMzLvHSWOS2nq8g=; b=hepZmBLPN8iT4BWQUu81PFtrgIH9iwATYXxbYa3VJeYreVmOIsTeiJ2ZHxt+fKM9M2 boBl/zSbJn60kFEwZ58YANWPEabhkNuXj3TATXu+pjVd0boL9FShn+PVfOeJ5kZzZz9K PxpcoXZ3SDtsd15uS+oE0w9GS5bzYWsGNpOSMdUQjWXjamJomPajuVv10VYi2ECvNVFv 1g3J8ZOO61yj5pFaj7FNtRlZj9SdfWKHrkyXeJnlTO+nHBw13QyS12pQH5La5z6wuWxb pBnnvIes1l0+r05uymdQKt/l72OHI271xu3Y24CVsZW/8IqIU7BO3VoXME5bCfLnszgE 5SJw== X-Gm-Message-State: AOAM532yyvQaH7Ro4LRz7EE3RY2q/GRkf3JreR0pHJbO0fYCqgsDdBKx SWp8stw1r6Zt7mO2Uc0mJMgstCWejFq4Zgef X-Google-Smtp-Source: ABdhPJzULlGhw9qPRjEYd8W0Dkv5g76Qfvo1+VWp/N3Yu71uD4bdOHnoSUUWUIAPsQLOhrfFV7USCw== X-Received: by 2002:a05:6a00:1345:b029:3c7:a729:75fc with SMTP id k5-20020a056a001345b02903c7a72975fcmr1022158pfu.36.1628192927481; Thu, 05 Aug 2021 12:48:47 -0700 (PDT) Original-Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id w15sm6569369pjc.45.2021.08.05.12.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 12:48:46 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 05 Aug 2021 14:11:40 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=raman@google.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272114 Archived-At: I remember that a lot of work went into integrating thread-support into Emacs a few years ago and it sounded really promising. I just did the following somewhat unscientific test to measure how much usage it gets: In the Emacs/lisp directory find . -name '*.el' | xargs grep '(make-thread' shows 0 hits. I have about 200 packages installed in ~/.emacs.d/elpa and the same command there also yields 0 hits. Stefan Monnier writes: >> Do we know what other "relevant variables" are here? > > If we're lucky the vars defined in package.el are all we need. > But of course, the users may also be using a setup where the installed > packages only work after running some of the `.emacs`. > > So one option is to transfer to the subprocess the current value of the > vars defined in `package.el`. Another is to tell the subprocess to read > the init files. > > BTW, all these issues are faced (and partly solved) by the `async` > package we have in GNU ELPA. We really should try and include it into > Emacs core. > > > Stefan > > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8