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:24:50 +0200 Message-ID: References: <87il9kksqz.fsf@dfreeman.email> <87cyzrjbd8.fsf@dfreeman.email> <83zg2vav46.fsf@gnu.org> <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> 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="13836"; 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:29:35 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 1qb5LD-0003LT-LA for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Aug 2023 22:29:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb5KQ-0004Ti-5O; Tue, 29 Aug 2023 16:28:46 -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 1qb5Gv-00046k-95 for emacs-devel@gnu.org; Tue, 29 Aug 2023 16:25:09 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qb5Gs-0003WE-Nb; Tue, 29 Aug 2023 16:25:08 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4ffae5bdc9aso7710870e87.1; Tue, 29 Aug 2023 13:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693340702; x=1693945502; 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=PSu4aDicxqoHXUiv0d4yNT8BiQv8Cmegwk+bm076me0=; b=Mj6LOz2ZgTPtdTyvy+LFzKQup5l2uUo/18Le6gY0Ogp1TuSaG2V2OhmhqdjogSYuNy W3bCcYFigNCE9PyhKBTrL5FMRoIMFcxPG+SvuVnuNbd6n5Vo/Gn8Tm/z3aHLanla6GJR Il49JzU4FNd6waAIuMwEgT4/8oClIfFt1RPTqSE0X/PYdsVRaLknSQoy8hi/HEYTV/wh Uaj83b9zFQrSSJw+IIPU75abDggolkFZw6elXSiZMhCujtbNbbLK6FMjYU9qvytReko/ byVRQ3KMyWo+rtAC7Q2CVz5SDJd+47EGkbS3qUwMnMd0XWgO1nMPqxpdeiq3AP97VAe9 KcnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693340702; x=1693945502; 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=PSu4aDicxqoHXUiv0d4yNT8BiQv8Cmegwk+bm076me0=; b=e0iKtQ5o9XbdQ+0daUvkM1ujY5+OkhGjdfWdihUgE5Fv04YFICWQHOlNVuTlt8mToj xpLQKPm0Ihd0E0qu6/m5EITSFZlPFtdghDatS40Mk+TA0q96hsn89f8spYhiI5kZfgnS cn9Ob8QVpXuzAf1/54T6x1WAAQV7sVze7FtQUV7GdTBtOMo3D8mL6Qy+MDf3j4oAwtNF xi6G6kM0GlXTkG3YeSO7rK5vltYfEFxTV4pOdqzqKnnejiB0PHX+XoF+1TEQLfR7qite Ux/5N7gWA02t88B1IdHmtfFc8bXWTbfTkYNuwxQYELKJQ2PsJLIEiW7MEqPc83YZR0CD glJA== X-Gm-Message-State: AOJu0YwwXemnXxYil3b4jBOqmdDfofv00fNH1eogLPnbRb2DVpTDgL5Y cI0GG8+Y9jrwTe601IlWNQaNVYLQO9ennl3TOiE= X-Google-Smtp-Source: AGHT+IFJP7YnxnWRHEIkWPj/Xmb1EHaZp/KXOK2ZNyjpP2HiNK2A1c+h8Kj7USEM9I3IMn80M2ySlTgaSZYKhUGzPJQ= X-Received: by 2002:a05:6512:ba9:b0:500:7d05:552a with SMTP id b41-20020a0565120ba900b005007d05552amr8353lfv.53.1693340702087; Tue, 29 Aug 2023 13:25:02 -0700 (PDT) In-Reply-To: <87ttshk3ns.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=stefankangas@gmail.com; helo=mail-lf1-x12e.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:309514 Archived-At: Philip Kaludercic writes: > How about splitting this into two separate tasks? E.g. when a more > specific mode is found, a message is displayed in the minibuffer. 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.