From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Auto-installing packages? Date: Fri, 14 Sep 2018 10:39:53 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536914277 14026 195.159.176.226 (14 Sep 2018 08:37:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 08:37:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 10:37:53 2018 Return-path: Envelope-to: ged-emacs-devel@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 1g0jbt-0003Xg-5C for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 10:37:53 +0200 Original-Received: from localhost ([::1]:50574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0jdz-0003Oz-Jy for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 04:40:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0jds-0003Oi-QF for emacs-devel@gnu.org; Fri, 14 Sep 2018 04:39:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0jdr-0003gk-UL for emacs-devel@gnu.org; Fri, 14 Sep 2018 04:39:56 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:41275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0jdr-0003f9-LU for emacs-devel@gnu.org; Fri, 14 Sep 2018 04:39:55 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id f38-v6so6777997edd.8 for ; Fri, 14 Sep 2018 01:39:55 -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; bh=Cmr26y2yt5Fq+VO0AQCJY5AYeJ2uMX69SR0GMTiQi7s=; b=W9oVp34LPNhN8eyeL68iBhTzfFZ80+Fl+getomyG8yIJdLrgxPtGuD39zC/kM0EcZL cOImQ7n6HuMpLf2Q0opK+vdA/CV7SItbVOD2D4aiMwkmVPDMWl4kJ70PVXqEItia8ng+ xi1Zi3zk/j7e+VMS48cr0vShtyd9hm7F+zQd6gMaTShfN/PIFEi/oedcbcEG6uWT/Nxq j9qVasi/JAGLVl9Z34eEBl5crUHfRQZPY0/tLFcqX4wKb1AXoqNb9Bbd9IS9cO08wqJY eEXay6uDnFOiC8S3XYxDmSwJZe9nmVWpRe2h5Zudkw8Ok44K869zo0y+Cqwa6wLaS1Jd z1GQ== 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; bh=Cmr26y2yt5Fq+VO0AQCJY5AYeJ2uMX69SR0GMTiQi7s=; b=BNNUmn/WdrfGBX/jypthIf3Qv08+vDnLa50xUUnkzWHKm8cvq4yQpejTjzTmRP+/fv rL/fIMxBQFpKvdHO/cGQTW2QVPrLQbmSNHs7yUk9D3CL9uUr9FJboqZc51hYoEllKi5A kvR80UHTP7MaeWOil2gB1G4la+JthZOsG2boaRhUu0/3Ogti90/dlqKcj46+sByiKQCe IAO2dLUtazU1g4K85ND/efpSPuOrCIZ3kskOUG67Ax/148kWKvITBeDl89y+UxKZ4oew QA7ELEm27moGlOaT+nowaFfpPvELdFlnjHIosb2cr3/saC4AI7AEuNQ5H6NYe8Nxync5 uJIQ== X-Gm-Message-State: APzg51CCd0WbLbRZAWugxGwCmfcGe8pUvrv5WxjJNhho42arLGTeGvAX zKdDzW7LvE2i11w+9ukU7wCm7Q== X-Google-Smtp-Source: ANB0VdZGgJlnWJGLRUxXgbvoKkebHzEtUC9i9zBeuFpGv6uXCmRDwUVwhY6+1Ak5811jk0RoPT7dQg== X-Received: by 2002:a50:a9e2:: with SMTP id n89-v6mr17996650edc.158.1536914393636; Fri, 14 Sep 2018 01:39:53 -0700 (PDT) Original-Received: from raman-glaptop ([2620:0:105f:304:ed54:7d2f:51f6:b03f]) by smtp.gmail.com with ESMTPSA id r2-v6sm3046545eda.89.2018.09.14.01.39.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Sep 2018 01:39:52 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 13 Sep 2018 21:51:09 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::535 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229771 Archived-At: Stefan Monnier writes: autoload-remote? So one could potentially say (autoload-remote "fn" "pkg" t) in a module that needs "pkg" and have the magic happen > Every time I see someone asking for or posting a little Elisp snippet > that automatically installs packages at Emacs startup, I'm wondering how > to answer that need: OT1H I find such requests fundamentally flawed in > terms of security, privacy, and reliability, but OTOH they correspond to > a real desire and lots of our users seem to not only be willing to > forego their security, privacy and reliability for that feature, but > they actually do so. > > So, I'm wondering how we could better serve our users by providing them > with an alternative solution to their underlying need, which hopefully > suffers less from those problems. > > Maybe some way to have something along the line of autoloads but that > instead of loading the Elisp code from a locally installed package, they > prompt the user explaining that this functionality requires installing > package FOO, etc? > > > Stefan > --