From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Clojure mode Date: Tue, 29 Aug 2023 22:43:18 +0200 Message-ID: References: <87il9kksqz.fsf@dfreeman.email> <87o7j99304.fsf@dfreeman.email> <87zg2hsyrd.fsf@dfreeman.email> <87h6ontwfv.fsf@posteo.net> <4874df51-9652-f9fd-0576-9dd6a4cba31a@gutov.dev> <3d5ef276-ce6b-9ff0-0c60-1da6b887b365@gutov.dev> <1070e416-2a13-49e0-90d4-fbc526cd461c@app.fastmail.com> <83ttskia84.fsf@gnu.org> <97c96b72-ebba-4853-98d2-86e3ba8bbc05@app.fastmail.com> <83sf84i9ix.fsf@gnu.org> <837cpfhzdm.fsf@gnu.org> <83zg2agjp8.fsf@gnu.org> <87ttshk3ns.fsf@posteo.net> <87pm35k2ui.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10869"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , yandros@gmail.com, bozhidar@batsov.dev, dmitry@gutov.dev, rms@gnu.org, danny@dfreeman.email, emacs-devel@gnu.org, manuel.uberti@inventati.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 29 22:53:02 2023 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 1qb5hu-0002ap-0Z for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Aug 2023 22:53:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb5h3-0002nE-Ep; Tue, 29 Aug 2023 16:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qb5Ym-0008GZ-7Q for emacs-devel@gnu.org; Tue, 29 Aug 2023 16:43:36 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qb5Yk-0006tH-2F; Tue, 29 Aug 2023 16:43:35 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bceca8a41aso71978931fa.0; Tue, 29 Aug 2023 13:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341811; x=1693946611; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pGR1grGOU+p6b5LszZWWTSRrb1Ij37Qc+moRQMxGrKw=; b=POy6R6wXVnWjvchtu7Lic5h46Hp9pgkwYeniutxFtmbg5e46nYEqA+EqqH0IQPr8+A CnGC19L9KUISUgxshLNJiJm9rT++Sb+hcjsbVcPp3rT4yA3vC6jCF6XPlQRurQBY2MTe c4OmV77D1Z3kQ4c9B1pq0QkKoIRToDJLI5/ZON1pzEA+Skt1+YzUcjofJe8HBkkfZwFH eYzl8e9vw0Y3Ms2YqJgqXcpaFKqq1nnEu7IZdmfb2qZaKXrwPSPEbNmncNo3fd8KqFLZ 3nAiDjw2SNgLC4IMzUhwOfGepV97ncXe4PjLDz/vYZmiWBoTL2CByuz/g1EgWlJW5q7K 4ITQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341811; x=1693946611; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pGR1grGOU+p6b5LszZWWTSRrb1Ij37Qc+moRQMxGrKw=; b=c/oj3kygvWE3nFUnVjN8/isG7jn/q8XDqtp75q4G9UzcM2Ia4Cex72Rlqufxh2HQuX PaP1TvO7t5yrrjHe80uK3Bk2BtZ0noldSojNeLrMPF1CmkBPzul91fmzf/oFxjF8WyZl mRMTWKeyzTL6L6009gNuQd7I6uPVTM9XmL7PZt4V8ypagy95edr8Jekqxr3+eMXFlkGm 3FlMFfJnrBa7YsIJFWo2UZXRfWTtYXKXipO7tfgccSs+CPx0ThBAvTjarDJA7sg3UXSM hTJdaGqXbx8UZLt6uEDiVu0GObTYXN3AIkNyS09GboVmrWpkgo3tvgsAX55RNOTVcJ36 7yig== X-Gm-Message-State: AOJu0YyKee2gZfgUGgYoS7GXqbCIKaA73tIyltfduuohFZXZaJe77WZO 5hEk8JMn1lzL5MlfxW4cPwgHNWET9+f27qOxOVs= X-Google-Smtp-Source: AGHT+IFGIUParMyepkmnS2FsYrltbHiB+7+taceqjUoVcM21hrgrNFRXvlL1Kf6L+GwGDAWplH3v6sb1IazzMBsBles= X-Received: by 2002:a05:6512:3b82:b0:4fe:ecd:4959 with SMTP id g2-20020a0565123b8200b004fe0ecd4959mr57537lfv.32.1693341810517; Tue, 29 Aug 2023 13:43:30 -0700 (PDT) In-Reply-To: <87pm35k2ui.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309517 Archived-At: Philip Kaludercic writes: > > FWIW, my ideal scenario looks like this: > > > > "You seem to have opened a Clojure file. Would you like to install > > clojure-mode (yes/no/help)?" > > > > When the user types "yes RET", the package gets installed, loaded in > > the running session, and enabled in the relevant buffer. > > This seems invasive, especially if the database has false-positives for > a user. With false positives it would suck, of course. On the other hand, perhaps adding a "don't ask me again" would make it more tolerable. > If anything, I think this kind of behaviour sound be opt-in. One idea would be to make the less-invasive "message in minibuffer" variant the default, and the more-invasive "in your face prompt" variant opt-in.