From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Dec 2020 23:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45412@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160885238815257 (code B ref -1); Thu, 24 Dec 2020 23:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2020 23:26:28 +0000 Received: from localhost ([127.0.0.1]:56264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksa04-0003y1-GI for submit@debbugs.gnu.org; Thu, 24 Dec 2020 18:26:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:34536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksZzz-0003xp-Uv for submit@debbugs.gnu.org; Thu, 24 Dec 2020 18:26:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksZzz-0004YA-Nc for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2020 18:26:23 -0500 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:11203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksZzw-0004ob-V2 for bug-gnu-emacs@gnu.org; Thu, 24 Dec 2020 18:26:23 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1509B40163A for ; Thu, 24 Dec 2020 23:26:17 +0000 (UTC) Received: from pdx1-sub0-mail-a34.g.dreamhost.com (100-96-8-104.trex.outbound.svc.cluster.local [100.96.8.104]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 756C0401628 for ; Thu, 24 Dec 2020 23:26:16 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a34.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Thu, 24 Dec 2020 23:26:16 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Left-Society: 239a99f023b310de_1608852376686_3322708886 X-MC-Loop-Signature: 1608852376686:992987500 X-MC-Ingress-Time: 1608852376686 Received: from pdx1-sub0-mail-a34.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTP id 32BB07E0AF for ; Thu, 24 Dec 2020 15:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=mRx46r45DKFB8L9OlhxWfyokwy8=; b=BuaEdKNDowMencwV s6ehchcqS2Tyh6Yutkw9PshRlGuk+h8bergw6xDNjgz1SiTlHALOZzvPodtSJWcU 0nn9AUNKvFaVolfUo+s+J1o/NvdhKv/9M4uGKlh8G8/A9CY5bEhHWpRrd8oH8X0G GJs5bCSAMxXJdW/LtNsgBULnGzU= Received: from jidanni.org (114-46-56-248.dynamic-ip.hinet.net [114.46.56.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTPSA id EDC547F0E2 for ; Thu, 24 Dec 2020 15:26:15 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a34 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Thu, 24 Dec 2020 22:44:46 +0800 Message-ID: <87k0t72rhd.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.209.151; envelope-from=jidanni@jidanni.org; helo=quail.birch.relay.mailchannels.net X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) File 06-7377E-001A.jpg is large (14.4 MiB), really open? (y)es or (n)o or (l)iterally y File 06-7377E-001B.jpg is large (14.4 MiB), really open? (y)es or (n)o or (l)iterally y File 06-7377E-001C.jpg is large (14.4 MiB), really open? (y)es or (n)o or (l)iterally y ... Maybe add choices: "(a)lways" (for the rest of the session). "(n)ever" (for the rest of the session). Also the user has no clue about what to change to change whatever is asking this. So maybe add (c)ustomize. Seen with v runs the command dired-view-file (found in dired-mode-map). emacs-version "27.1" From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2020 01:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 45412@debbugs.gnu.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.160885806423912 (code B ref 45412); Fri, 25 Dec 2020 01:02:02 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Dec 2020 01:01:04 +0000 Received: from localhost ([127.0.0.1]:56333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksbTb-0006Db-Sg for submit@debbugs.gnu.org; Thu, 24 Dec 2020 20:01:04 -0500 Received: from sonic311-32.consmr.mail.ir2.yahoo.com ([77.238.176.164]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksbTV-0006Cu-M4 for 45412@debbugs.gnu.org; Thu, 24 Dec 2020 20:01:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1608858049; bh=ccm+D6XUlbQKqNfMtZmriKn7LKbvuCsQ5GL9QjnZIJY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=f1PO3h4wCdQIIp/CNcWUfK0c4rbKokQX5VElNo2KpvaYciLu44FEpTIELPmKCSZM6SrQhAhBPj2hbjtfOkf/PzJn+W/Vhu/pAehLUrKnf2DdZ8jkl0F1JfjACthY8+jakgolSzvh7n+NqdvTz8u1wznMmliNK4cvNaFv5RP5xeRMaD1ZwboorAAbU2kq2EdBueZX3bGWG7FeslCrQ94ms9cCgzIIAOz67RF9EU07AYwKnBs5LyUO6SKhFTYs/EsYrhbGgX2xfYXEucRogPOntHdaqO2vmKuistksYoNUdcM8nQ4ZPjIObhe5TmSrvMt6CdT0PH+RwICspsJyqc3IgA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1608858049; bh=FrgWPj1dauQs5TRcHTQdTCMjOwzXjYXNXI6tSdvc+xk=; h=From:To:Subject:Date:From:Subject; b=O2Xd9WFd+qInrc7yhfrE9DQXzeFQ0bul3G1kY54ZRfGFfUSU9Z7pzqDX2sWDzHU6Z/+TxBaqoXuGrqJ66nn0WPpUSMPWeHXbL+OtbBP/Sau3ooYnVo5IjYedkakpSiZ6SpQE4mF3CSgw0lEdwKI+AETtO+rz2xWBIAIhCmWl+7T75N2SCwPk6ebG78BD/rKOIs/HMQZmHX1CPpMUFkPMjSco9oQt9yM9ji8SOt8Kw/JaPYCnEzCNyOWkkTLJP9OUo9j2qwWQTL0KJsyUogXF0ApyTEhGpeqC9t3u31KDr38gDFAjtsyDfFhdgfkf0eWhookTcCgJ6dN9KCNu2elnYg== X-YMail-OSG: M.uOKikVM1mJgUQItrT9EaBIwllPX8a4L5yBhI2JCcF22euxi6rNFIgxaZkQdFy KyB33q_jaueZkZ1CE9MwK2n6B.yoQD4RkT3zHtqNITpyzYO3qZqBzxoM7uZqROq8PQwbUxs2o2TB NOACalEEEhdHSsLmHG6QPVfr.b8v8XbgQLEgM.BANPUFO3EglwSUiUx7EcTcO.MnvMYxJqOAq0gF vz4ywepkjj4lRO8CHEzPrPyyqtGpjkkWvedvBph0tvgpFTBxfUAYYBliIZRdwf.JACK0tPa2tOu4 TU6V35nUVgEDogylpByfz9zAXCopuCmsSfpEby9vX4JtdpaJwkGiGM5neSFFb8eUvqBV4AyXG7QM f0Ig07xt2UVPgcGexGl2jwRE6aBl_REkBS5I86hbTh0SgENGItIUbyQd.FXl9FdaAn_laMUPy6yS U6V3.IQFSeZyv8xLSrwjSE2L4eOw4hQwMRyD_Yk3_ROVI1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4nOcpXgsdeYUPUjqVjL6NAEzti 0b.Ih_mdimlrT61joBujZwGLhg_KA79nziVTrPzRhA0.e2n6v8f4RR8a3QI0zYEb6ApDPQOXly1n zQTfpxX6rWpRZ0rbUrLzF9lQrpWAQ1r9VrqQr2Z8pjwRX49_430vNBYfDJlZAqi71cH8L5L3byXq j.VRsDKoecagEbRHEu2f5b85o.gFZ3.5D1UdPadKYyqy91lnP6y.qZP.OyX5Mbi9sv4ryy8kg5ma c5OtbTU9aL4dpMwvf_1NQYkSHXbnKe78G5J09dwEeu813gi7KeWQYh0.7WeWnLmlW5Xd9G4WfZiB 8RWBbvzzcAoYJNCuXVNcEE26TRMLd8OHVpNlc1UweJ4qMWkrkgNzjgkzqz4kxx.85WCcSLEdq_K. xvczdXEg1W0Y8b9YXxSipd60GI8YaQF2RZLuOle8qGwTq3FnJZS8pfBDawXfbeczpFI9sbyU52zF JAr2Uzw82uh_tr6UNgRU9D1l1fm8V8hUqJ.hk.dTsV.Qn6t.khZU24cB_TTpR.lfC87eFgN2Y2TK S4Tae3piXziEK.8owH2iZ396M7b5Cxo2J7RSNrSF0sTrl41.CqaqJYBABS97FhnKnbVPeqMUK912 1a_vzdNw6j1.0dhIKYNfYv0T.7fiQGJD0G4uUrOyRfrZX11XvZmmIM7wSxgvuA3H82AN4YKTIhfv 8umJJVk4Xl2MwCp8wB6V3DSzS.YCUbllnpCMdSg.6r713UjGU7epbVJAuy6PCXXUt.LWg_IYGjaP auZbmVgRAk7wDOYEkxe6iJF3BlSUVR_oCFGBieI3YsFfCztrOjElMIV5PW8xMdylIUeZ7s4_3OgE HEJXyzQKspR30HbSgbvruLjIYTb1.xMflhxWpXbC5PpKYVbyJ77lK84swAeBXy6H31ih_pMw8xqp RmHzyHPulFkcm4HYc0TOxiwHOWxjseL5nl_.OVb5YyN_sLsFSg8d5010cujgL6u3sQocbezum.0S JoteprcY- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Fri, 25 Dec 2020 01:00:49 +0000 Received: by smtp408.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 84c7063b32e082204b0063322555762b; Fri, 25 Dec 2020 01:00:46 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> Date: Fri, 25 Dec 2020 02:00:45 +0100 In-Reply-To: <87k0t72rhd.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Thu, 24 Dec 2020 22:44:46 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.17278 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) Content-Length: 1913 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: Thank you for your feature request to improve Emacs. > File 06-7377E-001A.jpg is large (14.4 MiB), really open? (y)es or (n)o or= (l)iterally y > File 06-7377E-001B.jpg is large (14.4 MiB), really open? (y)es or (n)o or= (l)iterally y > File 06-7377E-001C.jpg is large (14.4 MiB), really open? (y)es or (n)o or= (l)iterally y > ... > Maybe add choices: > "(a)lways" (for the rest of the session). I think users would be confused about this option. Would it always open the file regularly or literally? A minor thing, I think it's customary in Emacs to use "!" for this "don't ask me again" feature (see save-some-buffers or hack-local-variables-confirm, for example). > "(n)ever" (for the rest of the session). Same here, it's not totally clear to me if this option would never open a large file, or never ask for confirmation before opening a large file. The dialog message ends with "really open?". > > Also the user has no clue about what to change to change whatever is > asking this. So maybe add (c)ustomize. Makes sense, but I don't know how well it'd fit the rest of Emacs. AFAIK, customization points are not usually advertised in Emacs prompts. It's more typical to expect that users "ask Emacs" to discover them, for example by issuing M-x customize-apropos large file RET or M-x customize-group files RET. Instead, one possibility could be to offer a "!" option that would always open big files non-literally in the current Emacs session. Its implementation would basically open the large file and set large-file-warning-threshold to nil. However, I foresee problems if users accidentally press "!" in this prompt. Another approach could be to offer a C-h binding that opens a help window that describes the possible options and briefly links to the customization entry point that removes the prompt permanently. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally In-Reply-To: <87k0t72rhd.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2020 01:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.160885975626372 (code B ref 45412); Fri, 25 Dec 2020 01:30:02 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Dec 2020 01:29:16 +0000 Received: from localhost ([127.0.0.1]:56355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksbuu-0006rI-EA for submit@debbugs.gnu.org; Thu, 24 Dec 2020 20:29:16 -0500 Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:8034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksbuq-0006r6-Ft for 45412@debbugs.gnu.org; Thu, 24 Dec 2020 20:29:15 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 404E41220B7; Fri, 25 Dec 2020 01:29:11 +0000 (UTC) Received: from pdx1-sub0-mail-a76.g.dreamhost.com (100-96-9-178.trex.outbound.svc.cluster.local [100.96.9.178]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8405E1221A1; Fri, 25 Dec 2020 01:29:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a76.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Fri, 25 Dec 2020 01:29:11 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Keen-Hook: 327b8adc3f14982f_1608859750766_1049528767 X-MC-Loop-Signature: 1608859750765:1836315722 X-MC-Ingress-Time: 1608859750765 Received: from pdx1-sub0-mail-a76.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTP id 3530A7F0C7; Thu, 24 Dec 2020 17:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=Wc+60RZDLLUm7lgZQa 45JOXtWxA=; b=H588JTrKIhOepn8fOkPK/4448iA0nnX/MeSK+Q5ieGqAFiek+k g+yBgv0373q4sCGf5MVBJMX8LKM92VThlKdBRpTGy+xkiajLuoOluG84vR9Jvdst prL8PmHYUM0isIOyCbjpA1cPaKh5HmN24and+Ea2L1G0UazT78+zTwknM= Received: from jidanni.org (114-46-56-248.dynamic-ip.hinet.net [114.46.56.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 971AF7F0FE; Thu, 24 Dec 2020 17:29:09 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a76 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87k0t72rhd.5.fsf@jidanni.org> Date: Fri, 25 Dec 2020 09:29:05 +0800 Message-ID: <87tusa3c7y.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> "DM" =3D=3D Daniel Mart=C3=ADn writes: DM> Another approach could be to offer a C-h binding Indeed. Then all options of what the user could do could be explained in detail there without any size limit. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2020 05:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.160887557126024 (code B ref 45412); Fri, 25 Dec 2020 05:53:01 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Dec 2020 05:52:51 +0000 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksg1z-0006lg-Er for submit@debbugs.gnu.org; Fri, 25 Dec 2020 00:52:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksg1x-0006lR-9E for 45412@debbugs.gnu.org; Fri, 25 Dec 2020 00:52:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZyHVv0KDLil2Vb0hJH6oUhotVfbrIDocePP9zP8cvZI=; b=NKEFei3Jsaj5dHjbcDNxQejTep 9R8rV9ueJuVdFYZbBpeBamGGUj1pDmCh1tH28E4UipdjLrAnYtmjrGHysmE+tLe2Ce30MDSLu6UJf 6L3jrvokvS010ztUthFwJgk1tcuTQqJutpuynlbwwvg5B05WoQY6P8G2fo4UaHU+9oDM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksg1m-00075o-HI; Fri, 25 Dec 2020 06:52:43 +0100 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> X-Now-Playing: Kate & Anna McGarrigle's _Kate & Anna McGarrigle_: "Foolish You" Date: Fri, 25 Dec 2020 06:52:37 +0100 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Fri, 25 Dec 2020 02:00:45 +0100") Message-ID: <8735zuig9m.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > I think users would be confused about this option. Would it always open > the file regularly or literally? Yes, it's rife with confusion. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: > I think users would be confused about this option. Would it always open > the file regularly or literally? Yes, it's rife with confusion. > Instead, one possibility could be to offer a "!" option that would > always open big files non-literally in the current Emacs session. Its > implementation would basically open the large file and set > large-file-warning-threshold to nil. However, I foresee problems if > users accidentally press "!" in this prompt. Whether to open a large file (and how) is so situation-dependent that I think adding a "!" option here would be a disservice. > Another approach could be to offer a C-h binding that opens a help > window that describes the possible options and briefly links to the > customization entry point that removes the prompt permanently. Yeah, that sounds like a good idea. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2020 09:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.160888919917136 (code B ref 45412); Fri, 25 Dec 2020 09:40:01 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Dec 2020 09:39:59 +0000 Received: from localhost ([127.0.0.1]:56743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksjZm-0004SK-PE for submit@debbugs.gnu.org; Fri, 25 Dec 2020 04:39:59 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:40189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksjZk-0004S3-KX for 45412@debbugs.gnu.org; Fri, 25 Dec 2020 04:39:57 -0500 X-Originating-IP: 91.129.99.98 Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 09A3640002; Fri, 25 Dec 2020 09:39:47 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> Date: Fri, 25 Dec 2020 11:32:11 +0200 In-Reply-To: <8735zuig9m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2020 06:52:37 +0100") Message-ID: <87wnx62rpe.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Another approach could be to offer a C-h binding that opens a help >> window that describes the possible options and briefly links to the >> customization entry point that removes the prompt permanently. > > Yeah, that sounds like a good idea. I agree, this is really the best idea. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 05:03:16 2021 Received: (at control) by debbugs.gnu.org; 4 Jan 2021 10:03:16 +0000 Received: from localhost ([127.0.0.1]:55260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwMhf-0005Qa-U1 for submit@debbugs.gnu.org; Mon, 04 Jan 2021 05:03:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:58108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwMhW-00051s-6N for control@debbugs.gnu.org; Mon, 04 Jan 2021 05:03:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=64/xHtB5PZBgWNIfR9DvQOf07Y+B82CYE+/vMjGqrHg=; b=G+SSfb5tTj+l6mhINIqS+4FTem e3dzczOOtIVtuzxBU6hB18liZ6wtlYqavb4P51AwyFp7IE7MfA5i0ayMQS720FnDDwgb4kNn43NnY EE5UKlc1AqvCHozeWq7torJGPliM0PzHjQxAqpQGNFJFR6is9/DmKpT1FOnDcykQcjZ0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kwMRa-0001pl-0f for control@debbugs.gnu.org; Mon, 04 Jan 2021 10:46:32 +0100 Date: Mon, 04 Jan 2021 10:46:28 +0100 Message-Id: <87lfd9591n.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45647 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 45647 45412 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 45647 45412 quit From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 22:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 45412@debbugs.gnu.org, Lars Ingebrigtsen , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161809398319991 (code B ref 45412); Sat, 10 Apr 2021 22:34:01 +0000 Received: (at 45412) by debbugs.gnu.org; 10 Apr 2021 22:33:03 +0000 Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVMA2-0005CN-JB for submit@debbugs.gnu.org; Sat, 10 Apr 2021 18:33:02 -0400 Received: from sonic306-21.consmr.mail.ir2.yahoo.com ([77.238.176.207]:36118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVM9z-0005Bs-Tv for 45412@debbugs.gnu.org; Sat, 10 Apr 2021 18:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1618093973; bh=h8mNo2hhV5oqH2yaduCYaaOoKfS9DrjlXedp0Zi4LGg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=kyP1KHU8k222MPzQO/sAj2ZSjM4M7sOxnCI7vAVagoFeh8DIObk9MmwdHVBduudOdrqH/vyLKdfjETsvIirr2NRRB+9auqTQlOIC6PbhlglnvzzwI0ivbj76vp7D8bdml0FcE6GwCl6QMg7olwkC9lhJ/iX6Retmxr6QTMf4t0ESRuIFP3AYlEP9cOjLms1SnVGCe5VCCy7I9MxDRD8IveQp6qB9Xde2pHa9ujVuUjREyD09PR09UysWZn9pZXVUWwPlIeFrWZKidciG+GwQq8N2CZ2u0aYRx9l7Qp5UGYtl8aeOQlnSjl2K8GhuxmyQRfTFn543um+JHXBGFX7JOw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1618093973; bh=bOzJJl1nk5SX5b6q+7QBKZEx1ezwN99Kip0jOSujriX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=oPN5o/5BFMZ2M9DLg4zK3X/YeRo65TKtoZ9/biVMsdq02toxI44czpBownAqT0c9+QloUWzeos0xPIZuqk4egz5Q5ws/iexJpm1wJxouseMUgGGbdWgRbDkiIM/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pd32mPTNd8LdxuIFCrffcHE1LXeHgRkVaKsr bZNqHBeuo3glacVLgDUGCYXGsE1eifC48T5fWL3vJcDkJDndi2pevjG_fQ0RkURz6b6eJYPEMa9N 8xeqfME8tUApjvX_e1oLHO77e4L97tdS_9Z.Hhdl0.2SMAqFktizQMgWoWS9joDgzjtFGt3SegGI 2ymCeW_CaMuxLyKiIRbxhmNwGcME7gfAz_8jHhGpYbYMX_ZXilEOCrLloiQH3MW.gTCWxiMr40zv ZAqFrmZPU5RTOADQvfRVxn73FmDTH0DlySY2jmF1wcJ8uELg7zmD3lrQaj68JMXVCPZXg4ULrqHt AJbgh6tJytrQRnub0DWXKskPdGCJ1_ZPOHw71C.WfurLvmktuatRrvNJXt5y5NViSDZbK8EAwazN QxwYMcwFxDv9bFdznSldSJsn3LZmRwngiPC9Ih4ie_u_ooCqth0K2jXusoToBcLGQDZxy4s0UwW1 Unjj8uEB5eXXS63tKYNGyhOjIYqpOHvDLJ6wct7FEUgn6aSrBUK906dQPM2hwfI5eBtJB8K4jEwh Jl2wBzlG0QKi519Z_1hOTgoWMWGoAAXE_Ugok5mCAz.1wCiYIpKHXG0Tg2IYxggID2wAz8tUSDc_ njPbYijpcZIaOIYRIedkBPkdm0oeNC63TBrLf39X0u23LfUmjvyBiMthTB45lMiqeznzfNUs1vkF X3ruEZd19fULNQ6dO786ANQfBaYSnooJ4P7pbWGuxUih9EwPc1fbDLD9AxhuQ_lMfcXKRVcyJsdp c.iOYrs9kiJipaLSW16jZBU8wRGKSE0rbEbHbNMH_90LwgyrSHW4gvVyJOyMeXGQO0v1FKl_7 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Sat, 10 Apr 2021 22:32:53 +0000 Received: by kubenode532.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e313846aa7081e5b5bfcd248135d174d; Sat, 10 Apr 2021 22:32:48 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> Date: Sun, 11 Apr 2021 00:32:34 +0200 In-Reply-To: <87wnx62rpe.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 25 Dec 2020 11:32:11 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailer: WebService/1.1.18121 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 5868 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain Juri Linkov writes: >>> Another approach could be to offer a C-h binding that opens a help >>> window that describes the possible options and briefly links to the >>> customization entry point that removes the prompt permanently. >> >> Yeah, that sounds like a good idea. > > I agree, this is really the best idea. OK, I've implemented it in the attached patch. Suggestions welcome. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-Add-a-help-option-in-the-open-large-files-prompt.patch Content-Transfer-Encoding: quoted-printable >From 8ae34d5bca1a8fc13f2388842880d4234ab28165 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Daniel=3D20Mart=3DC3=3DADn?=3D Date: Sun, 11 Apr 2021 00:16:38 +0200 Subject: [PATCH] Add a help option in the open large files prompt * lisp/files.el (files--ask-user-about-large-file-help): New function that displays a Help buffer with information about opening large files in Emacs. (Bug#45412) (files--ask-user-about-large-file): Add a ?/C-h option to the prompt. * etc/NEWS: Advertise the change. --- etc/NEWS | 6 ++++ lisp/files.el | 76 +++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 61 insertions(+), 21 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a0f05d8cf1..b1bd9689e2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -261,6 +261,12 @@ commands. The new keystrokes are 'C-x x g' ('revert-b= uffer'), ** Commands 'set-frame-width' and 'set-frame-height' can now get their input using the minibuffer. =20 +--- +** When Emacs prompts before opening a large file, a new help window +has been added. This help window describes the available options and +how to disable the prompt by customizing the +'large-file-warning-threshold' variable. + * Editing Changes in Emacs 28.1 =20 diff --git a/lisp/files.el b/lisp/files.el index 60d6034011..49224e4b1e 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2123,28 +2123,62 @@ out-of-memory-warning-percentage =20 (declare-function x-popup-dialog "menu.c" (position contents &optional hea= der)) =20 +(defun files--ask-user-about-large-file-help (op-type size) + "Show a buffer explaining the options to open large files in Emacs." + (with-output-to-temp-buffer "*Help*" + (with-current-buffer standard-output + (insert + (format + "The file that you want to %s is large (%s). + +Large files may be slow to edit or navigate so Emacs asks you +before you try to open such files. + +You can press =E2=80=98y=E2=80=98 to open the file. +You can press =E2=80=98n=E2=80=98 to abort. +You can press =E2=80=98l=E2=80=98 to open the file literally, which means = that +Emacs will open the file without doing any format or character code +conversion and in Fundamental mode, without loading any potentially +expensive feature. + +You can customize the option =E2=80=98large-file-warning-threshold=E2=80= =98 to be +the file size, in bytes, from which Emacs will ask for +confirmation. Set it to =E2=80=98nil=E2=80=98 to never request +confirmation." + op-type + size)) + (save-excursion + (re-search-backward "\\(customize\\)" nil t) + (help-xref-button 1 'help-customize-variable 'large-file-warning-threshol= d))))) + (defun files--ask-user-about-large-file (size op-type filename offer-raw) - (let ((prompt (format "File %s is large (%s), really %s?" - (file-name-nondirectory filename) - (funcall byte-count-to-string-function size) op-type))) - (if (not offer-raw) - (if (y-or-n-p prompt) nil 'abort) - (let* ((use-dialog (and (display-popup-menus-p) - last-input-event - (listp last-nonmenu-event) - use-dialog-box)) - (choice - (if use-dialog - (x-popup-dialog t `(,prompt - ("Yes" . ?y) - ("No" . ?n) - ("Open literally" . ?l))) - (read-char-choice - (concat prompt " (y)es or (n)o or (l)iterally ") - '(?y ?Y ?n ?N ?l ?L))))) - (cond ((memq choice '(?y ?Y)) nil) - ((memq choice '(?l ?L)) 'raw) - (t 'abort)))))) + (save-window-excursion + (let ((prompt (format "File %s is large (%s), really %s?" + (file-name-nondirectory filename) + (funcall byte-count-to-string-function size) op-type))) + (if (not offer-raw) + (if (y-or-n-p prompt) nil 'abort) + (let* ((use-dialog (and (display-popup-menus-p) + last-input-event + (listp last-nonmenu-event) + use-dialog-box)) + choice) + (if use-dialog + (setq choice (x-popup-dialog t `(,prompt + ("Yes" . ?y) + ("No" . ?n) + ("Open literally" . ?l)))) + (while (null choice) + (setq choice (read-char-choice + (concat prompt " (y)es, (n)o, (l)iterally, (?)= ") + '(?y ?Y ?n ?N ?l ?L ?? ?\C-h))) + (when (memq choice '(?? ?\C-h)) + (files--ask-user-about-large-file-help + op-type (funcall byte-count-to-string-function size)) + (setq choice nil)))) + (cond ((memq choice '(?y ?Y)) nil) + ((memq choice '(?l ?L)) 'raw) + (t 'abort))))))) =20 (defun abort-if-file-too-large (size op-type filename &optional offer-raw) "If file SIZE larger than `large-file-warning-threshold', allow user to = abort. --=20 2.31.0 --=-=-=-- From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, Lars Ingebrigtsen , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161809587522785 (code B ref 45412); Sat, 10 Apr 2021 23:05:02 +0000 Received: (at 45412) by debbugs.gnu.org; 10 Apr 2021 23:04:35 +0000 Received: from localhost ([127.0.0.1]:53530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVMeZ-0005vP-I7 for submit@debbugs.gnu.org; Sat, 10 Apr 2021 19:04:35 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVMeY-0005vB-3C for 45412@debbugs.gnu.org; Sat, 10 Apr 2021 19:04:34 -0400 X-Originating-IP: 91.129.96.157 Received: from mail.gandi.net (m91-129-96-157.cust.tele2.ee [91.129.96.157]) (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id A3A05240004; Sat, 10 Apr 2021 23:04:25 +0000 (UTC) From: Juri Linkov References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> Date: Sun, 11 Apr 2021 01:52:56 +0300 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Sun, 11 Apr 2021 00:32:34 +0200") Message-ID: <874kgdagkf.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >>>> Another approach could be to offer a C-h binding that opens a help >>>> window that describes the possible options and briefly links to the >>>> customization entry point that removes the prompt permanently. >>> >>> Yeah, that sounds like a good idea. >> >> I agree, this is really the best idea. > > OK, I've implemented it in the attached patch. Suggestions > welcome. > > + (while (null choice) > + (setq choice (read-char-choice > + (concat prompt " (y)es, (n)o, (l)iterally, (?)") > + '(?y ?Y ?n ?N ?l ?L ?? ?\C-h))) > + (when (memq choice '(?? ?\C-h)) > + (files--ask-user-about-large-file-help > + op-type (funcall byte-count-to-string-function size)) To avoid the additional loop, maybe it's easier just to let-bind the variable 'help-form' that is handled by 'read-char-choice'. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Apr 2021 07:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, larsi@gnus.org, jidanni@jidanni.org, juri@linkov.net Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.16181246334914 (code B ref 45412); Sun, 11 Apr 2021 07:04:02 +0000 Received: (at 45412) by debbugs.gnu.org; 11 Apr 2021 07:03:53 +0000 Received: from localhost ([127.0.0.1]:53866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVU8P-0001HB-Au for submit@debbugs.gnu.org; Sun, 11 Apr 2021 03:03:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVU8O-0001Gz-1D for 45412@debbugs.gnu.org; Sun, 11 Apr 2021 03:03:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58076) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVU8I-0004La-2U; Sun, 11 Apr 2021 03:03:46 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1601 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lVU8H-0005CI-DW; Sun, 11 Apr 2021 03:03:45 -0400 Date: Sun, 11 Apr 2021 10:03:24 +0300 Message-Id: <83y2dp481v.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Cc: 45412@debbugs.gnu.org, Lars Ingebrigtsen , > 積丹尼 Dan Jacobson > Date: Sun, 11 Apr 2021 00:32:34 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > >>> Another approach could be to offer a C-h binding that opens a help > >>> window that describes the possible options and briefly links to the > >>> customization entry point that removes the prompt permanently. > >> > >> Yeah, that sounds like a good idea. > > > > I agree, this is really the best idea. > > OK, I've implemented it in the attached patch. Suggestions > welcome. Thanks, see below for some comments. > +--- > +** When Emacs prompts before opening a large file, a new help window > +has been added. This help window describes the available options and > +how to disable the prompt by customizing the > +'large-file-warning-threshold' variable. This should mention the C-h key which triggers the help display: IMO that's the most important piece of information users should know about the new feature. NEWS is visited in Outline mode, so each entry should have a heading line which is a complete sentence with a concise description of the change. > + > > * Editing Changes in Emacs 28.1 > > diff --git a/lisp/files.el b/lisp/files.el > index 60d6034011..49224e4b1e 100644 > --- a/lisp/files.el > +++ b/lisp/files.el > @@ -2123,28 +2123,62 @@ out-of-memory-warning-percentage > > (declare-function x-popup-dialog "menu.c" (position contents &optional header)) > > +(defun files--ask-user-about-large-file-help (op-type size) > + "Show a buffer explaining the options to open large files in Emacs." > + (with-output-to-temp-buffer "*Help*" > + (with-current-buffer standard-output > + (insert > + (format > + "The file that you want to %s is large (%s). I suggest to say here what is the threshold above which Emacs asks the question (because users may wish to customize it, as mentioned below). > +You can press ‘y‘ to open the file. Press 'y' to open the file. And please also use our style of quoting in documentation and strings, 'like this'. > +You can press ‘n‘ to abort. This should explain what "abort" means in this case. > +You can press ‘l‘ to open the file literally, which means that Suggest to say "(the letter ell)" here, to avoid confusion with the digit 1. Also, the text says literally "open", but the function actually accepts an argument that describes the operation, which could be something else. > +Emacs will open the file without doing any format or character code > +conversion and in Fundamental mode, without loading any potentially > +expensive feature. ^^^^^^^ "features", in plural. > +You can customize the option ‘large-file-warning-threshold‘ to be ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Quoting style again. Please quote `like this' here, so that Emacs creates a hyperlink to the variable's doc. > +the file size, in bytes, from which Emacs will ask for > +confirmation. Set it to ‘nil‘ to never request We don't quote nil and t in this context. > + (if use-dialog > + (setq choice (x-popup-dialog t `(,prompt > + ("Yes" . ?y) > + ("No" . ?n) > + ("Open literally" . ?l)))) A literal "Open" again. Also, don't we want to add a Help option to the dialog? If not, why not? > + (while (null choice) > + (setq choice (read-char-choice > + (concat prompt " (y)es, (n)o, (l)iterally, (?)") > + '(?y ?Y ?n ?N ?l ?L ?? ?\C-h))) > + (when (memq choice '(?? ?\C-h)) Why only ? or C-h? What about F1? what about the case that help-char is something else? From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Apr 2021 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Juri Linkov Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.16182147983377 (code B ref 45412); Mon, 12 Apr 2021 08:07:01 +0000 Received: (at 45412) by debbugs.gnu.org; 12 Apr 2021 08:06:38 +0000 Received: from localhost ([127.0.0.1]:56309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVraZ-0000sE-2A for submit@debbugs.gnu.org; Mon, 12 Apr 2021 04:06:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVraX-0000s2-Rt for 45412@debbugs.gnu.org; Mon, 12 Apr 2021 04:06:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rof6gyJ7VL1MkE4WvjtbATGtdWGBBBshn/hF571V9/Q=; b=tdefswX2HibR/GSzsXWLVbwA7V mQu+xgga+iV334vNSnicOX9TaLte5/36ywrWpDNc3Gd+rFFSkZAFAqAWNq8zhiO1upVtw9e8Slwfm 9dFm6K/iXoQtx7sfAc+zxkfXE+ErSkdkdlvLumvczz+FmU64GYv3vwQT2vkz6OQvGXXg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVraO-0002zj-DO; Mon, 12 Apr 2021 10:06:22 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXYzMe9q7NsWpj/ //90x6HUAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UEDAc1Id4c/YQAAAGeSURBVCjPRZFBbtswEEX/ GKIXXlEAWbRet4BzCzOwDCQrEuAspHUcWDpFcgO7iBfZKYBcWHPKjtQgnQ35MJ+f5B+sn/IWQPZJ BMY5q4AWneAEuAkctKOa75jrH2yKaU8KWps7xC+4kwkWMyy78T+s5DbBcoa1XL8gr2Q+My0Ul3Kj TzBxIQN/yorE8ucjwk73+LETeY3YBRmRLgohoiLZglMj4iPCDFUj48cnPLF23qNzpcL10sglY+eS BJxV9gKUJcsetW9+v97b0t/LGnXL9DKlE6QDXbcI7DhPUX27zElx9qOgyxFmiwPzINjr7ave1Mz9 COItFifDo00jVocMOpnnSy4HNF0GomnSzgzgZ007kpqnM/wDz9a7tjyjqqYA9CetCXjcH9RPgY3R 7x44I3qOnnRiBzW3xkfttD9/tWpurPUFUuA2ZhN7pzIquKV3t+hNUh+3OtKDW7+BFAp/xAbCoKBH +YZj8ag79aH9QAP/UJG+i3xP11jrvPwk6+mtrGFhAF+cKIYmxCIhWxd5fw7VzlW4WZe4PjNb5/8C PI6PrH0LU5oAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDQtMTJUMDc6NTM6MzMrMDA6MDCqru2X AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA0LTEyVDA3OjUzOjMzKzAwOjAw2/NVKwAAAABJRU5E rkJggg== X-Now-Playing: Gentle Fire's _The Wire Tapper 55_: "Live at ICES 1972 (excerpt)" Date: Mon, 12 Apr 2021 10:06:19 +0200 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Sun, 11 Apr 2021 00:32:34 +0200") Message-ID: <877dl80vwk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > OK, I've implemented it in the attached patch. Suggestions > welcome. Hm... wouldn't just using `read-multiple-choice' be simpler here? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: > OK, I've implemented it in the attached patch. Suggestions > welcome. Hm... wouldn't just using `read-multiple-choice' be simpler here?=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Apr 2021 23:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Juri Linkov Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.16186170319460 (code B ref 45412); Fri, 16 Apr 2021 23:51:02 +0000 Received: (at 45412) by debbugs.gnu.org; 16 Apr 2021 23:50:31 +0000 Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXYEJ-0002SW-LU for submit@debbugs.gnu.org; Fri, 16 Apr 2021 19:50:31 -0400 Received: from sonic309-25.consmr.mail.ir2.yahoo.com ([77.238.179.83]:33416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXYEF-0002SE-UE for 45412@debbugs.gnu.org; Fri, 16 Apr 2021 19:50:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1618617021; bh=EUoh0yw5Ok9178H3xkAUYSdMM4QyUYq8bXtbYtyHnpo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=E2zJ0TMJ2C5L/7wOoCppEhcLtM6rahDSLGo76R6iln1UDOLGP259C9aUq6eUVHvN3Wu7p2UKgp+Oo12UXrXwvyC9paoxhGZFFd8N/04xmIfN0PAP9HO5KQu158TEwKER9p9q0ryZFTk9tVuC5hRb7pX5CCJUJGquuL40dH9MR5PPsFnUeRk1bYNWLR5laAVOBuaVmkd5ofCn4WjNa5oAUWXUfdGwcsYHB8TGOeZBBpLCoq4k6XpgwfeqG9qD14Yh3SpY9l3Q4n6cUf35CTCnKT21Xtc/sKiSDaLSb4NzlOqnVCvtc62Hq59SbsNY4wHF5qe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.ykTIWEezBKfSlT9xzr0q6sPdcdy2OgOGVMyE6fof.ax8WZKiULg1v.Etv_63CzX._S_gToyJ vaqvTImjt1PbCM51df2JjxCyd6u3rUkTy4FoqeHNnOmU4O3o6LWip4sOBcSfR X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Fri, 16 Apr 2021 23:50:21 +0000 Received: by kubenode531.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 32883245721bd26456d0f3faa6a0ddd9; Fri, 16 Apr 2021 23:50:16 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> Date: Sat, 17 Apr 2021 01:50:05 +0200 In-Reply-To: <877dl80vwk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 12 Apr 2021 10:06:19 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.18121 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 598 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Lars Ingebrigtsen writes: > Daniel Mart=C3=ADn writes: > >> OK, I've implemented it in the attached patch. Suggestions >> welcome. > > Hm... wouldn't just using `read-multiple-choice' be simpler here?=20 I've given `read-multiple-choice' a try and the help text doesn't look very good if any of the descriptions is a bit long. Another problem I saw is that if the help text contains a reference to a variable, the rendered hyperlink doesn't work. It's a pity because I think this function is a good way to simplify and homogenize this use case in Emacs. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Apr 2021 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Juri Linkov Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161865988921282 (code B ref 45412); Sat, 17 Apr 2021 11:45:02 +0000 Received: (at 45412) by debbugs.gnu.org; 17 Apr 2021 11:44:49 +0000 Received: from localhost ([127.0.0.1]:42398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXjNZ-0005XB-4z for submit@debbugs.gnu.org; Sat, 17 Apr 2021 07:44:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXjNX-0005Wy-Dn for 45412@debbugs.gnu.org; Sat, 17 Apr 2021 07:44:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=LfpKMdOcfExXrfiRMOINCO6TntfTqMA0n+Xvm365LjA=; b=Qpz/FgdCez411m6foZVIUg3ZhM Q8JE0W4J5vK7UN2XC1VCIg+IL94q+bqPHWqGV0o/0CydYiBRIYzxh++DkF4TJW8o9NJoSghEvgKJO bXlHPhA4E9EAI/hYIFkBYBNS1lfK6jSyrLBerX2YDCLfLq34JKnkoLRv7tZwfj6KP8Ag=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXjNN-0002pR-Ew; Sat, 17 Apr 2021 13:44:39 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXjza7QuqCogWD/ //+BhT4TAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UEEQsrM1KNxTUAAAGoSURBVCjPLVFNi9swEB0t 9kJvCcSB7LmU9l/IsAm0Jwn0RO1bIQm1f8eS8zZUhua0Kbax5ld2pO2A7XnWvA9JRHuqCkWPRhlH eKZV8aGiKpiCXFXWzkDVAZqg96pU2ihQRQ2l0vKoE61Tr/LLkk1/qwy8KJMI5NmGQELPvRKfQj4Z iV5TpOaBmeuJhrXOIJ5rR77OMxVtZCyUrwkUmfMH4b3PAnCkTHYFbesfh1dTSrwHAXBl78qkGCg8 fa/6YJE5QFf2k0HqyOJs+2iM2EhQzOi5hlYyajyHnltgb2Tj236SlEBdg1rfJjC4lbpT5zkVIqnu HbR8WJKPH2bmR74ctfpJCFMCg8SNku2t50u8CifQo1jy3/EaNQWqTi334/gpajURTrj55bhd0tiu w22Inw+LE+kvDQaOnVqMrDSo2lv8qkYjHGtw4/mbnbTcAoxreb4YAWmzo+fh+vKWQRMVhunlrtVA eOLS+tF5XQfCmW98Xo61Vr9oB56DX/7fHOQwpJ5XctYB0dtm4HbuQEXl7R2DP7W/11QCuwiPI/SG XDAfsXNkrd78A4oupznw7ZKaAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA0LTE3VDExOjQzOjUx KzAwOjAwfWPJRAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNC0xN1QxMTo0Mzo1MSswMDowMAw+ cfgAAAAASUVORK5CYII= X-Now-Playing: Yukihiro Takahashi's _Neuromantic_: "Connection" Date: Sat, 17 Apr 2021 13:44:36 +0200 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Sat, 17 Apr 2021 01:50:05 +0200") Message-ID: <87mttxqgnv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > I've given `read-multiple-choice' a try and the help text doesn't look > very good if any of the descriptions is a bit long. Another problem I > saw is that if the help text contains a reference to [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: > I've given `read-multiple-choice' a try and the help text doesn't look > very good if any of the descriptions is a bit long. Another problem I > saw is that if the help text contains a reference to a variable, the > rendered hyperlink doesn't work. > > It's a pity because I think this function is a good way to simplify and > homogenize this use case in Emacs. Well, neither problem seem insurmountable to fix. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 18 12:43:07 2021 Received: (at control) by debbugs.gnu.org; 18 Apr 2021 16:43:07 +0000 Received: from localhost ([127.0.0.1]:47592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYAVn-0007eV-0V for submit@debbugs.gnu.org; Sun, 18 Apr 2021 12:43:07 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:34620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYAVl-0007dm-6G for control@debbugs.gnu.org; Sun, 18 Apr 2021 12:43:05 -0400 Received: by mail-pg1-f176.google.com with SMTP id z16so22572453pga.1 for ; Sun, 18 Apr 2021 09:43:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=iFDHTCEzE2Y3IE0nUGXII5BxCKi1o4CN7JO8CAxVwB8=; b=SHlsbF3XZas5pUDXEKwWzQF4q4Tlg+EVazp35Ucp51Amby3bDGoTjzQl0lWvoD0Wk4 Z2dYQ08tje/j3jpOhM+A961ATCwthVHxUZQ7er9UkutF6UGkE1I2S87aI8B1FykrKgyZ G6E5FVkWYSMkD94Nwxcbfdhqo7IeBOEB75rPTRVH1PctiXNCu57m46PUAgCWyEomhcBt jfWLRJa7U5SoNqQh3Hx7eBYVVtRz15dbaLrQjO87UPTEZaMH8EhPg7HKjYEIJBzZQhe9 c32q9ArWD8EI2mv31a1ocZZw0FXdgFjdaHpVnguwdG6zoBcebVXfIs4oM9g2USkPfBSB MBJg== X-Gm-Message-State: AOAM532AdPvw0Zjza9y701wKaD4EmhKIynEXgv682RcBDqA/xLdiNiUZ n5jruNLrA6QU9kz/PRdSY/b3IskmRD53fJlook7iXLzk X-Google-Smtp-Source: ABdhPJxWB7Tnaj6FjeJWMXW1zU6oRahxW049ZPQloOtjU/zf1M/498gegj1ZzNQa9dgZaG76ALfAYxDFs64o5yw7kss= X-Received: by 2002:aa7:828f:0:b029:200:6e27:8c8f with SMTP id s15-20020aa7828f0000b02902006e278c8fmr15955156pfm.44.1618764179281; Sun, 18 Apr 2021 09:42:59 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 18 Apr 2021 11:42:58 -0500 From: Stefan Kangas MIME-Version: 1.0 Date: Sun, 18 Apr 2021 11:42:58 -0500 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.5 (++) 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: forcemerge 45412 47556 thanks Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.176 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.215.176 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) 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: forcemerge 45412 47556 thanks Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.215.176 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.176 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines forcemerge 45412 47556 thanks From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Apr 2021 22:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Juri Linkov Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161904319132537 (code B ref 45412); Wed, 21 Apr 2021 22:14:02 +0000 Received: (at 45412) by debbugs.gnu.org; 21 Apr 2021 22:13:11 +0000 Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZL5q-0008Si-Mc for submit@debbugs.gnu.org; Wed, 21 Apr 2021 18:13:11 -0400 Received: from sonic303-21.consmr.mail.ir2.yahoo.com ([77.238.178.202]:43040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZL5m-0008SA-5z for 45412@debbugs.gnu.org; Wed, 21 Apr 2021 18:13:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1619043179; bh=POV8euE30clwnqiYsk0G5F9p1kJwuGXzffr6V4uzXCI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=jHwfG7UQvu6zpVgLSYkxbBxDCd1SuwksvrfIA7xIIFpNcWOfnFw/N0qYtbqBsFOHdRq55mtmuRnn2ssDfwslmQ+ZXyaXlmEpn0dr9XJji4nA9CUaokej1Vy9S0jaH7VijQY9JcVZncDiyQju4H16JmDI93yi56xOy4jwgU2+WyMSVh4GiVdgSUTWCNzpD3PHunB4iuAC7zXLq0i43jkeWriwbP2IIuvuFg4JI3AVUU04MX+zWQxNXTOtk8yJnp1ExZkEof8iRgpXOyB0XAqMZ6vvH7l1GwCYnJw0tcQ+wWgICxHebapxEssCY9HoTolf8ys8awYVNkc0vLbrFUdvhw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1619043179; bh=xXv56ELykfAIdnz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ahoo.com with HTTP; Wed, 21 Apr 2021 22:12:59 +0000 Received: by kubenode544.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4aaeda5dbcb33b1f9eaab0f654f11fdc; Wed, 21 Apr 2021 22:12:57 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> Date: Thu, 22 Apr 2021 00:12:54 +0200 In-Reply-To: <87mttxqgnv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 17 Apr 2021 13:44:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailer: WebService/1.1.18121 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 14459 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Daniel Mart=C3=ADn writes: > >> I've given `read-multiple-choice' a try and the help text doesn't look >> very good if any of the descriptions is a bit long. Another problem I >> saw is that if the help text contains a reference to a variable, the >> rendered hyperlink doesn't work. >> >> It's a pity because I think this function is a good way to simplify and >> homogenize this use case in Emacs. > > Well, neither problem seem insurmountable to fix. OK, I've refactored the feature on top of a patched version of `read-multiple-choice' that adds support for overriding the help text. I've also handled the `edit' action, so that a user can enter a recursive edit to select the help link. This API change is backwards-compatible. As one change depends on the previous one, but they are otherwise orthogonal, I've made two separate commits. These new patches address the following review comments: - Simplify the call site by avoiding the character loop. - The help description now appears on `help-char', ?, or F1. - Improves and fixes the help text and NEWS description, per Eli's suggestions. The idea to show the help text also for graphical prompts is a good idea, but as there's no command already in Emacs that supports it, AFAIK, it could be a separate feature request. What do you think? Thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Extend-read-multiple-choice-to-support-free-form-hel.patch >From d6c124930a7b54f222d3cef79e11b66eb4a188f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Wed, 21 Apr 2021 23:14:27 +0200 Subject: [PATCH 1/2] Extend read-multiple-choice to support free-form help descriptions * lisp/emacs-lisp/rmc.el (read-multiple-choice): Add a new argument to override the default help description in `read-multiple-choice'. Use the `help-char' variable instead of ?\C-h. Also support the `edit' action from `query-replace-map', so that help links can be visited by entering a recursive edit. --- lisp/emacs-lisp/rmc.el | 119 ++++++++++++++++++++++------------------- 1 file changed, 65 insertions(+), 54 deletions(-) diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el index bedf598d44..2c4c13ae1c 100644 --- a/lisp/emacs-lisp/rmc.el +++ b/lisp/emacs-lisp/rmc.el @@ -26,7 +26,7 @@ (require 'seq) ;;;###autoload -(defun read-multiple-choice (prompt choices) +(defun read-multiple-choice (prompt choices &optional help-string) "Ask user a multiple choice question. PROMPT should be a string that will be displayed as the prompt. @@ -35,15 +35,18 @@ read-multiple-choice be displayed while prompting (if there's room, it might be shortened). DESCRIPTION is an optional longer explanation that will be displayed in a help buffer if the user requests more -help. +help. This help description has a fixed format in columns, but +the user can control the text that is displayed and how it is +formatted with optional argument HELP-STRING. This function translates user input into responses by consulting the bindings in `query-replace-map'; see the documentation of that variable for more information. In this case, the useful -bindings are `recenter', `scroll-up', and `scroll-down'. If the -user enters `recenter', `scroll-up', or `scroll-down' responses, -perform the requested window recentering or scrolling and ask -again. +bindings are `recenter', `scroll-up', `scroll-down', and `edit'. +If the user enters `recenter', `scroll-up', or `scroll-down' +responses, perform the requested window recentering or scrolling +and ask again. If the user enters `edit', a recursive edit is +started. When `use-dialog-box' is t (the default), this function can pop up a dialog window to collect the user input. That functionality @@ -133,6 +136,10 @@ read-multiple-choice (ignore-errors (scroll-other-window)) t) ((eq answer 'scroll-other-window-down) (ignore-errors (scroll-other-window-down)) t) + ((eq answer 'edit) + (save-excursion + (save-window-excursion + (recursive-edit)))) (t tchar))) (when (eq tchar t) (setq wrong-char nil @@ -141,57 +148,61 @@ read-multiple-choice ;; help messages. (when (and (not (eq tchar nil)) (not (assq tchar choices))) - (setq wrong-char (not (memq tchar '(?? ?\C-h))) + (setq wrong-char (not (memq tchar '(?? help-char))) tchar nil) (when wrong-char (ding)) - (with-help-window (setq buf (get-buffer-create - "*Multiple Choice Help*")) - (with-current-buffer buf - (erase-buffer) - (pop-to-buffer buf) - (insert prompt "\n\n") - (let* ((columns (/ (window-width) 25)) - (fill-column 21) - (times 0) - (start (point))) - (dolist (elem choices) - (goto-char start) - (unless (zerop times) - (if (zerop (mod times columns)) - ;; Go to the next "line". - (goto-char (setq start (point-max))) - ;; Add padding. - (while (not (eobp)) - (end-of-line) - (insert (make-string (max (- (* (mod times columns) - (+ fill-column 4)) - (current-column)) - 0) - ?\s)) - (forward-line 1)))) - (setq times (1+ times)) - (let ((text - (with-temp-buffer - (insert (format - "%c: %s\n" - (car elem) - (cdr (assq (car elem) altered-names)))) - (fill-region (point-min) (point-max)) - (when (nth 2 elem) - (let ((start (point))) - (insert (nth 2 elem)) - (unless (bolp) - (insert "\n")) - (fill-region start (point-max)))) - (buffer-string)))) - (goto-char start) - (dolist (line (split-string text "\n")) - (end-of-line) - (if (bolp) - (insert line "\n") - (insert line)) - (forward-line 1))))))))))) + (let ((buf (get-buffer-create "*Multiple Choice Help*"))) + (if help-string + (with-help-window buf + (with-current-buffer buf + (insert help-string))) + (with-help-window buf + (with-current-buffer buf + (erase-buffer) + (pop-to-buffer buf) + (insert prompt "\n\n") + (let* ((columns (/ (window-width) 25)) + (fill-column 21) + (times 0) + (start (point))) + (dolist (elem choices) + (goto-char start) + (unless (zerop times) + (if (zerop (mod times columns)) + ;; Go to the next "line". + (goto-char (setq start (point-max))) + ;; Add padding. + (while (not (eobp)) + (end-of-line) + (insert (make-string (max (- (* (mod times columns) + (+ fill-column 4)) + (current-column)) + 0) + ?\s)) + (forward-line 1)))) + (setq times (1+ times)) + (let ((text + (with-temp-buffer + (insert (format + "%c: %s\n" + (car elem) + (cdr (assq (car elem) altered-names)))) + (fill-region (point-min) (point-max)) + (when (nth 2 elem) + (let ((start (point))) + (insert (nth 2 elem)) + (unless (bolp) + (insert "\n")) + (fill-region start (point-max)))) + (buffer-string)))) + (goto-char start) + (dolist (line (split-string text "\n")) + (end-of-line) + (if (bolp) + (insert line "\n") + (insert line)) + (forward-line 1))))))))))))) (when (buffer-live-p buf) (kill-buffer buf)) (assq tchar choices))) -- 2.31.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-Add-a-help-option-to-the-open-large-files-prompt.patch >From 4f3e308b372cfea728211421679ad00d5a8b64df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Wed, 21 Apr 2021 23:27:13 +0200 Subject: [PATCH 2/2] Add a help option to the open large files prompt * lisp/files.el (files--ask-user-about-large-file-help-text): New function that returns information about opening large files in Emacs. (Bug#45412) (files--ask-user-about-large-file): Use read-multiple-choice to display the available actions. * etc/NEWS: Advertise the new feature. --- etc/NEWS | 4 ++++ lisp/files.el | 57 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 47 insertions(+), 14 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index b641e8d95f..7905c936a3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -272,6 +272,10 @@ commands. The new keystrokes are 'C-x x g' ('revert-buffer'), ** Commands 'set-frame-width' and 'set-frame-height' can now get their input using the minibuffer. +--- +** New help window when Emacs prompts before opening a large file. ++Press '?' or 'help-char' (by default, 'C-h') to display this new help window. + * Editing Changes in Emacs 28.1 diff --git a/lisp/files.el b/lisp/files.el index 7440c11a21..fe3722b07d 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2123,27 +2123,56 @@ out-of-memory-warning-percentage (declare-function x-popup-dialog "menu.c" (position contents &optional header)) +(defun files--ask-user-about-large-file-help-text (op-type size) + "Format the text that explains the options to open large files in Emacs. +OP-TYPE contains the kind of file operation that will be +performed. SIZE is the size of the large file." + (format + "The file that you want to %s is large (%s), which exceeds the + threshold above which Emacs asks for confirmation (%s). + + Large files may be slow to edit or navigate so Emacs asks you + before you try to %s such files. + + You can press: + 'y' to %s the file. + 'n' to abort, and not %s the file. + 'l' (the letter ell) to %s the file literally, which means that + Emacs will %s the file without doing any format or character code + conversion and in Fundamental mode, without loading any potentially + expensive features. + + You can customize the option `large-file-warning-threshold' to be the + file size, in bytes, from which Emacs will ask for confirmation. Set + it to nil to never request confirmation." + op-type + size + (funcall byte-count-to-string-function large-file-warning-threshold) + op-type + op-type + op-type + op-type + op-type)) + (defun files--ask-user-about-large-file (size op-type filename offer-raw) (let ((prompt (format "File %s is large (%s), really %s?" (file-name-nondirectory filename) (funcall byte-count-to-string-function size) op-type))) (if (not offer-raw) (if (y-or-n-p prompt) nil 'abort) - (let* ((use-dialog (and (display-popup-menus-p) - last-input-event - (listp last-nonmenu-event) - use-dialog-box)) + (let* ((prompt (format "File %s is large (%s), really %s?" + (file-name-nondirectory filename) + (funcall byte-count-to-string-function size) op-type)) (choice - (if use-dialog - (x-popup-dialog t `(,prompt - ("Yes" . ?y) - ("No" . ?n) - ("Open literally" . ?l))) - (read-char-choice - (concat prompt " (y)es or (n)o or (l)iterally ") - '(?y ?Y ?n ?N ?l ?L))))) - (cond ((memq choice '(?y ?Y)) nil) - ((memq choice '(?l ?L)) 'raw) + (car + (read-multiple-choice prompt '((?y "yes") + (?n "no") + (?l "literally")) + (files--ask-user-about-large-file-help-text + op-type + (funcall byte-count-to-string-function size)))))) + (cond ((eq choice ?y) nil) + ((eq choice ?l) 'raw) (t 'abort)))))) (defun abort-if-file-too-large (size op-type filename &optional offer-raw) -- 2.31.0 --=-=-=-- From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 10:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161908588920345 (code B ref 45412); Thu, 22 Apr 2021 10:05:02 +0000 Received: (at 45412) by debbugs.gnu.org; 22 Apr 2021 10:04:49 +0000 Received: from localhost ([127.0.0.1]:32807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZWCX-0005I4-7s for submit@debbugs.gnu.org; Thu, 22 Apr 2021 06:04:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZWCU-0005Hr-Ox for 45412@debbugs.gnu.org; Thu, 22 Apr 2021 06:04:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46681) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZWCO-0004oF-NG; Thu, 22 Apr 2021 06:04:40 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2832 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZWCO-0000fv-7T; Thu, 22 Apr 2021 06:04:40 -0400 Date: Thu, 22 Apr 2021 13:04:28 +0300 Message-Id: <83fsziprdf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 22 Apr 2021 00:12:54 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > -(defun read-multiple-choice (prompt choices) > +(defun read-multiple-choice (prompt choices &optional help-string) > "Ask user a multiple choice question. > PROMPT should be a string that will be displayed as the prompt. > > @@ -35,15 +35,18 @@ read-multiple-choice > be displayed while prompting (if there's room, it might be > shortened). DESCRIPTION is an optional longer explanation that > will be displayed in a help buffer if the user requests more > -help. > +help. This help description has a fixed format in columns, but > +the user can control the text that is displayed and how it is > +formatted with optional argument HELP-STRING. This leaves it unsaid what HELP-STRING is (is it a string? a list? a function? something else?) and how it is used by the function. > +If the user enters `recenter', `scroll-up', or `scroll-down' > +responses, perform the requested window recentering or scrolling > +and ask again. If the user enters `edit', a recursive edit is > +started. The last sentence (ab)uses the passive tense, and thus reads awkwardly. Can you reword not to use passive tense? Also, how about saying what happens when the user exits the recursive-edit? > @@ -133,6 +136,10 @@ read-multiple-choice > (ignore-errors (scroll-other-window)) t) > ((eq answer 'scroll-other-window-down) > (ignore-errors (scroll-other-window-down)) t) > + ((eq answer 'edit) > + (save-excursion > + (save-window-excursion > + (recursive-edit)))) It is customary to display an echo-area message when entering recursive-edit, telling the user how to exit when done editing. > - (setq wrong-char (not (memq tchar '(?? ?\C-h))) > + (setq wrong-char (not (memq tchar '(?? help-char))) What about F1? > + (if help-string > + (with-help-window buf > + (with-current-buffer buf > + (insert help-string))) Should this verify that HELP-STRING is a string? > +--- > +** New help window when Emacs prompts before opening a large file. > ++Press '?' or 'help-char' (by default, 'C-h') to display this new help window. I think this should mention the situations where this happens. "Opening large files" is not detailed enough: I suggest to mention a couple of commands that trigger this, and perhaps also what is considered a "large file". > (defun files--ask-user-about-large-file (size op-type filename offer-raw) > (let ((prompt (format "File %s is large (%s), really %s?" > (file-name-nondirectory filename) > (funcall byte-count-to-string-function size) op-type))) > (if (not offer-raw) > (if (y-or-n-p prompt) nil 'abort) > - (let* ((use-dialog (and (display-popup-menus-p) > - last-input-event > - (listp last-nonmenu-event) > - use-dialog-box)) > + (let* ((prompt (format "File %s is large (%s), really %s?" > + (file-name-nondirectory filename) > + (funcall byte-count-to-string-function size) op-type)) > (choice > - (if use-dialog > - (x-popup-dialog t `(,prompt > - ("Yes" . ?y) > - ("No" . ?n) > - ("Open literally" . ?l))) Why are we losing the feature whereby we use GUI dialogs to ask the question? This sounds like a regression to me, at least for users who use the mouse and menu-bar in preference to the keyboard. And the doc string still says we do support the dialogs. Am I missing something? Thanks. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, Lars Ingebrigtsen , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.16191294065907 (code B ref 45412); Thu, 22 Apr 2021 22:11:01 +0000 Received: (at 45412) by debbugs.gnu.org; 22 Apr 2021 22:10:06 +0000 Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZhWQ-0001XD-Cs for submit@debbugs.gnu.org; Thu, 22 Apr 2021 18:10:06 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZhWL-0001W6-9r for 45412@debbugs.gnu.org; Thu, 22 Apr 2021 18:10:01 -0400 X-Originating-IP: 91.129.102.166 Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id CAFD71C0002; Thu, 22 Apr 2021 22:09:53 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> Date: Fri, 23 Apr 2021 01:09:04 +0300 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Thu, 22 Apr 2021 00:12:54 +0200") Message-ID: <87zgxqj7r3.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > The idea to show the help text also for graphical prompts is a good > idea, but as there's no command already in Emacs that supports it, > AFAIK, it could be a separate feature request. What do you think? Thanks. While testing your patches, I noticed a compilation warning: emacs-lisp/rmc.el:29:1: Warning: Variable `buf' left uninitialized Also these let-bindings are duplicated: (prompt (format "File %s is large (%s), really %s?" (file-name-nondirectory filename) (funcall byte-count-to-string-function size) op-type)) Otherwise, it looks nice, except of Eli's comment about the need to keep graphical dialogs. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Apr 2021 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 45412@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161937810227480 (code B ref 45412); Sun, 25 Apr 2021 19:16:01 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Apr 2021 19:15:02 +0000 Received: from localhost ([127.0.0.1]:43854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lakDd-000797-Oo for submit@debbugs.gnu.org; Sun, 25 Apr 2021 15:15:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lakDb-00078e-NL for 45412@debbugs.gnu.org; Sun, 25 Apr 2021 15:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CmD+LZkTLwwrevwPCRIEtVaa9ujgwojVYjPVKSKFSqY=; b=Hz3TsqjocfrQ8l8ECzWuM4m4Pb mKVSUykGemjo96aUiWHJKr2iPC1SUt/JG7ieelP3lY9V1u7UNp6UbbRQnXqhVpn52q9DD5gK4dbzA OZ9k8BSbGdZi1dhdZWqETBeQqECy5Iv9IsnvXcnzNCcjdWsR5t1ZF63Nv82MHsISrLG4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lakDL-0001KC-Rk; Sun, 25 Apr 2021 21:14:52 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEU1NimsbSbEmhh+ hYb////81lOLAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UEGRMAB9LIFs4AAAGwSURBVDjLbVRRlsQg CIN6AbAXEE7QLve/2wbUvuns+uGoMQRCHSIlcnch+hmHGVF3FnYsAJAqgE6HOTZ+DHYseh4S55QM VeMCpAsJuY68OzAjKkINTLjesct7llzDJlGIKADVwd26e2VyIFSJsObBkAk4blJepYw/M/M9kAoO BqIm+gK6Idc+skSMHWwCUgdYVs4LEKSSxbNrGbOjkRzORusm1Y0dyssTpA4Gpv4BlGxS7HjSQqgS n8GteJshC+BMYimka51egx/GUmixAaHo5XMOPe973qiOtV6Zi7IqyjPdcu32KsAAJBsm9LIBDZ55 VtmC3jmXL6w8ATGFlw3oT+Wq7VqAnrNNZ2gBGSqwHhSpGtIiijM1spSW54Fq4t6Vr+JmVOKI8nH6 EXFtANT7IdAtdH3YBcraxxlXK5nlyuNfAwCd8rE9YfMngWsB8cS8Ekzgsy3r0QA6X/1SigQ+pTcD xTMF/R3LFv0HkJl7e/d+MvLprP22htJ7NFx3rCcJS0J2XL408GkE9W7Gf8TrwwTxi1JfE16uylfG Ws9Vqs5vkTwE73qfc2rg70H17dYv17c8bOqLIYAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDQt MjVUMTk6MDA6MDcrMDA6MDCDhJcRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA0LTI1VDE5OjAw OjA3KzAwOjAw8tkvrQAAAABJRU5ErkJggg== X-Now-Playing: Octo Octa's _Resonant Body_: "My Body Is Powerful" Date: Sun, 25 Apr 2021 21:14:42 +0200 In-Reply-To: <83fsziprdf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Apr 2021 13:04:28 +0300") Message-ID: <877dkqjhwd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> - (if use-dialog >> - (x-popup-dialog t `(,prompt >> - ("Yes" . ?y) >> - ("No" . ?n) >> - ("Open literally" . ?l))) > > Why are we losing the feature whereby we use GUI dialogs to ask the > questio [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> - (if use-dialog >> - (x-popup-dialog t `(,prompt >> - ("Yes" . ?y) >> - ("No" . ?n) >> - ("Open literally" . ?l))) > > Why are we losing the feature whereby we use GUI dialogs to ask the > question? This sounds like a regression to me, at least for users who > use the mouse and menu-bar in preference to the keyboard. And the doc > string still says we do support the dialogs. Am I missing something? The support for x-popup-dialog is in `read-multiple-choice', so I assume that it's just using that instead? But I haven't tried the patch. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Apr 2021 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, Eli Zaretskii , juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161938579531421 (code B ref 45412); Sun, 25 Apr 2021 21:24:02 +0000 Received: (at 45412) by debbugs.gnu.org; 25 Apr 2021 21:23:15 +0000 Received: from localhost ([127.0.0.1]:43973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lamDj-0008Aj-25 for submit@debbugs.gnu.org; Sun, 25 Apr 2021 17:23:15 -0400 Received: from sonic302-21.consmr.mail.ir2.yahoo.com ([87.248.110.84]:41327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lamDg-0008AV-CC for 45412@debbugs.gnu.org; Sun, 25 Apr 2021 17:23:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1619385786; bh=vT8dbwLdBETN4j7bMujd2f7jw3buXgYCha8sdIqudu8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=kGNUyklkD/gQovuPNO1kuYaVg6ULSCrjV2/3z7OS4ffbDIuMWFRi7ohMel2tK7XoiIhPOrh20qo8rywpGBkgBdm0s5Lgkn+pS6wZgETQWsCYEsMHBE7SFPdaXw1hHxmz1sBpx8s7nMBvRBycee/O1rHYIGgWy8TEbuYUGBbrDSeu7NxunuFmjZpMB5dysspxseaskr+ENjCJqienrWTEg72Ca8+XO3R9501KaoqAmdPlZ1DVd29qkVMup7EXS8UAw/XgbgxzGOYAyvNeXrY0GIoBK01nFlXeQ499Y74HSSwNOlipZRP15bfNgNlqBxY0SyqICdxhvjJFLV5XZSZp1w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1619385786; bh=MufrCgLgZoaFV/vbaYTp+WMsf5H/Zv4Sh4fpppCTNEo=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=rWj/qD1bsXXT7Hl10x43kdvKNR3kjdLnGGoFGNnouyYDQ4z+nHF7CzCmi/E2GnLTKGm0nY0ErwJttenfVPP5l2eyuSK33OrXxnA9HdfbBLFyPGKA+H8kvoSt1AcrR2tJ5oUSHIGxwL69tVl8yK4qxwm7GvFDMg+EQVx0zRKMfElS9G/jRCFzb2617rg4jubpygNyfCGr73/VZ8s4xSxEzc6BNXek0gRcYM5ut7f3rQh3vlLT6YkTKv/OTtlbRGilWAk5wK9LpaJyP0fZdNwFilGlIwHoPa7P8TLuvnoFHFCd5gu6A4eMkwPP+pQuZF5iMY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Grcwv41j19jyURLSRLa5udiX EnR6rmSD8PVxLv1Zj9zm2tkpX1TbN4t9jieUhzQ5KQX0fCm_YAHp01LtDHlH55n13bh2vhlTY7aZ QVcv_mZ45GuDv1XLOeXf9O073nILvrq6cxh9a4aGOx3fqZmqRGsIVZmeq9aGgs7ll.IrMymcGEzV OiNcOR48tqgkXsUNCdIr2ElzMLLSKi8pe4Qcfiv2XlRJxmmA_BhoBjVWaG0Nfb6oPoAU8Eq2ugI_ SocdUcxMXJu6CeCYh233q5MRrW9ulafb0B6OHOgRxiYE_0ywMvDMZe3vCbEGi8NacgUEJqWm2UwL leE.QXfZBlwy9xdmnRWt_zROzqDfF7jTF2OaQh6esr66S8ozAD1fSmcpAcNU16XWyFa_UZ3dfLqC hnIKTXffnEzqPrYXMT9ygNUPWt5kK8nEZYljNbYkpoib23C24KgPhu8rRzXbVDyy4dgLIezSDgoV IS7dX6csQR27CpGzvdZC6Wg_WqVbGNUIIdDAOVLXHciBmdGtKr8WLPNqvqQVwPLAmXj2lhPHUnKt VWkgrTDOpYw2cOwYq00T0CaX61Jk85LixXuKA0Qf47Zp.dik1nPxBaZslXAZ9gQE2O387Gz4qQFN WlGxA9jz1GWTxz2Kk1wTH7skdZZDA X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Sun, 25 Apr 2021 21:23:06 +0000 Received: by kubenode521.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3e0d3eeb60d5707e8313da09c262122e; Sun, 25 Apr 2021 21:23:04 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> Date: Sun, 25 Apr 2021 23:23:02 +0200 In-Reply-To: <877dkqjhwd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 25 Apr 2021 21:14:42 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.18138 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 878 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >>> - (if use-dialog >>> - (x-popup-dialog t `(,prompt >>> - ("Yes" . ?y) >>> - ("No" . ?n) >>> - ("Open literally" . ?l))) >> >> Why are we losing the feature whereby we use GUI dialogs to ask the >> question? This sounds like a regression to me, at least for users who >> use the mouse and menu-bar in preference to the keyboard. And the doc >> string still says we do support the dialogs. Am I missing something? > > The support for x-popup-dialog is in `read-multiple-choice', so I assume > that it's just using that instead? But I haven't tried the patch. Yes, if you click on a large file in Dired, you'll see a graphical prompt, as always. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Apr 2021 02:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.16194041281777 (code B ref 45412); Mon, 26 Apr 2021 02:29:02 +0000 Received: (at 45412) by debbugs.gnu.org; 26 Apr 2021 02:28:48 +0000 Received: from localhost ([127.0.0.1]:44097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laqzL-0000SW-TI for submit@debbugs.gnu.org; Sun, 25 Apr 2021 22:28:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laqzK-0000SH-4U for 45412@debbugs.gnu.org; Sun, 25 Apr 2021 22:28:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46266) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laqzC-0006WI-3j; Sun, 25 Apr 2021 22:28:35 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4316 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1laqzA-0007ks-Rw; Sun, 25 Apr 2021 22:28:33 -0400 Date: Mon, 26 Apr 2021 05:28:15 +0300 Message-Id: <83wnspkce8.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Daniel =?UTF-8?Q?Mart=C3=ADn?= on Sun, 25 Apr 2021 23:23:02 +0200) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Martín > Cc: Eli Zaretskii , 45412@debbugs.gnu.org, > jidanni@jidanni.org, juri@linkov.net > Date: Sun, 25 Apr 2021 23:23:02 +0200 > > Lars Ingebrigtsen writes: > > > Eli Zaretskii writes: > > > >>> - (if use-dialog > >>> - (x-popup-dialog t `(,prompt > >>> - ("Yes" . ?y) > >>> - ("No" . ?n) > >>> - ("Open literally" . ?l))) > >> > >> Why are we losing the feature whereby we use GUI dialogs to ask the > >> question? This sounds like a regression to me, at least for users who > >> use the mouse and menu-bar in preference to the keyboard. And the doc > >> string still says we do support the dialogs. Am I missing something? > > > > The support for x-popup-dialog is in `read-multiple-choice', so I assume > > that it's just using that instead? But I haven't tried the patch. > > Yes, if you click on a large file in Dired, you'll see a graphical > prompt, as always. With which buttons and which text? From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Apr 2021 01:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, Eli Zaretskii , juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.161948573714853 (code B ref 45412); Tue, 27 Apr 2021 01:09:02 +0000 Received: (at 45412) by debbugs.gnu.org; 27 Apr 2021 01:08:57 +0000 Received: from localhost ([127.0.0.1]:47587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbCDh-0003rU-A5 for submit@debbugs.gnu.org; Mon, 26 Apr 2021 21:08:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbCDf-0003rG-Gg for 45412@debbugs.gnu.org; Mon, 26 Apr 2021 21:08:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mrahkjk1jckjeuj6E7fQkmR6Bz42hFbawKp6DxD5l3U=; b=bGC4rApEHAtAHYuBZPqYgVmNN2 Puf63MFr615tTyqc2RYS0Ff9CVaqbQH1WUvxTcERwsaT7ciLe5wk+GmnjKTzl2JigOX+EUbMwoh8f lQkvIeYoH1g642uM7q8imFvlaVeJQjyCuRDvFJhs3YB8TS2cZeap7mPIb2TWH+oQj/FE=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbCDO-0005Bw-7I; Tue, 27 Apr 2021 03:08:43 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX+7DP31TbQqkRq TnJ2mkK9Q0c4aJf///8DskB9AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UEGwEHCc+aEpsAAAG1SURB VDjLbVTBjqswDIwjcbez4g5Z+IIK7rsKd0hxf6B6+f9PeBPKtoTWEhcPMx7saY3ZiojNxyIDQJz3 thVxrZf2iH51IbjuJ/yGEPwRcF3XWv/T+c7731KQoCl4PpXT5aMJr5N+MEiKuTq/AzX6YYrvhDVo rvYMVGHSxgEpxWzsg0Zj15MYXRVKs8X8SQtD4wZU4QR8p3HIAKkWgNxS+gdgMf2aJz0/QMfhNuSx ROv0cuWiJrgEoNyH11JcNHrX1uMeGX2uEX2zMfKmMvYgUN8a4j6hhm1VO0EqbKafN+C+5v5uiRz6 uuiYkSwX98kMQKPq9XIZ0xC9/3NENSzNdcTtrmk4nFWy14j3iL/S8d7E3kC5MX0EcDiEAOhbrPui tzvwF8N4REnn73RJwzEgnG1ZuMJnFJEicTgSDOMeR6WNUWvPeVlFBjOjVotlnbL5YNimL4Vywh9S tZ4CCAZXyJ6esyxiuVpAOqcfPzm2bJ/bLhj5Io17A3xOz0JynmEbk4VE6A3AppiYSU5Ai2sIs5z+ HQTvt0S5ywVFCH1GGSop6Jh9LhspGH/d7ZzHMGSZvcUv5D/+/2riRhtuBQAAACV0RVh0ZGF0ZTpj cmVhdGUAMjAyMS0wNC0yN1QwMTowNzowOCswMDowMNe86/kAAAAldEVYdGRhdGU6bW9kaWZ5ADIw MjEtMDQtMjdUMDE6MDc6MDgrMDA6MDCm4VNFAAAAAElFTkSuQmCC X-Now-Playing: ESG's _Keep On Moving_: "Purely Physical" Date: Tue, 27 Apr 2021 03:08:37 +0200 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Sun, 25 Apr 2021 23:23:02 +0200") Message-ID: <87zgxk1qlm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > Yes, if you click on a large file in Dired, you'll see a graphical > prompt, as always. Right. Eli had other comments on the patch, though -- would it be possible for you to rework the patch, and then we can get it applied? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: > Yes, if you click on a large file in Dired, you'll see a graphical > prompt, as always. Right. Eli had other comments on the patch, though -- would it be possible for you to rework the patch, and then we can get it applied? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2021 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, Eli Zaretskii , juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162025622321984 (code B ref 45412); Wed, 05 May 2021 23:11:02 +0000 Received: (at 45412) by debbugs.gnu.org; 5 May 2021 23:10:23 +0000 Received: from localhost ([127.0.0.1]:35112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leQes-0005iR-PC for submit@debbugs.gnu.org; Wed, 05 May 2021 19:10:23 -0400 Received: from sonic311-32.consmr.mail.ir2.yahoo.com ([77.238.176.164]:35642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leQeq-0005iB-Qe for 45412@debbugs.gnu.org; Wed, 05 May 2021 19:10:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1620256215; bh=fcLe8iXifAXij/Gq3tL6VKytKbXfiagceAIVvvFORJM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=l+be5uYa6h+9EUzg2TXTFU3dMrn7ac43CLcv0CcTVieC+oWuwv3aX1z+qAXrGAPi6Iop8TS2VppMIdcFG9t4U7YhQAxNq095QlM1bcoNn0gBLfCE2US65bNSPe1nxpvo3aQxtVKGpz0hMDJyzVAqCkNmRH6JZPoZfUcm8WqHMStVAHwf3bsFz7czYFEJ6BUjr+N0Jsus1r9Hgban+FoljEBt3iBV7ipNZKuvTlHi60jZxPCoMOqMAQLJfX5K5gO0xQauxhT1nQKu7SXKnnjrYKwr2n6ZG/Fx0sqXOU2ZF2AA7Qio+izO8ZCiVpv8AfTOPp40EH++xVMIWd7EzjZczg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1620256215; bh=ecRm3Z+Bzt0Qb/UyRo4C5QZNsXtgodX3bd4MP1ZFoo+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=qSCN0fcOB7SGAOmieBQPDgr6JHp/1cP5H1OPrUo1vSHmfFxiadzA4wTf8BcNnvFXjEzfizX5yzykFoC+srWSlqrL+2kZHGNp2E4jRq5dLgc9KNB5gropRvVTT9g6u2GK88/wYI+tloFFZeVFbshLekh8Y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azFZfF5DSJAxUzdCfYWOHGuHI2T.4_. 5fjROv0ETsW.bTVA6IHaCJbM8twPXoOKCEMkACiR0YbBP_YHftOSErOmp58_jsQUfLyFK6otj2lF 2dBV9s.oC948zXJG88yxmn8an5G8WSzs5Vfa6RR7qOcblehtHEwNsDmzATy79gCpLWJOFMwlK5.1 BEbtwBtCPOdPOsy2nSOMRmN4HFtzaDH8EqnP7EqDSbrnJd_eIQFaD54qmmuO86dM8xcF8glVymKa HfJ6pFvroj1dhwMloSryhzR_nqrcTtGDC3TMczPqqrU5DICJ8o5dpz8qNGs0.AMPNkt.z.FKdWwI xZzZ6UAmZaJca9UVzcsNme7Kv1YrF_aGSVwAsM6msdSd79UfkszitJBaQuPKK3_hkPi_k9hkr0mR cAseC2LJD5IpUCGQ_ERfmU5fOkffQsWiAidorVDFehw4g1L.0e1J98_SxoV2G80R8TfwCgUZFLRu rE3QdBNMW4MA0OZkyV_jASl2XByYz1tFYF2jb9SwW9udCjGre7CFUB72S_1Bf4YWRUeYliC1XiD6 YGvQoIH3h.nwq8RGJeEjmnObQNZ6I4MFTRdeuZZDzFChCic2m3Is9GLfGjdbsiy9tCoM.IETD27e kZO54ID6wNFREgVmd3KR.gAwCmdmMUeB5UZoiZ0ESTfDerS7DwZo0kAY7z5EqONDdziDtRa.utRJ oUcmgUJNpPBbakH52waPAQPzPX1cHKaz63s.2kx1HUX2ZauIUdtUIF.4BqYfILpz.ToCNeR9.6fW pToqWV24M41EAymZ92cGJ8SIFF5EE X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Wed, 5 May 2021 23:10:15 +0000 Received: by kubenode529.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 54b3675188ff72355df76497d259a82f; Wed, 05 May 2021 23:10:09 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> Date: Thu, 06 May 2021 01:10:08 +0200 In-Reply-To: <87zgxk1qlm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 27 Apr 2021 03:08:37 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailer: WebService/1.1.18231 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 14386 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Daniel Mart=C3=ADn writes: > >> Yes, if you click on a large file in Dired, you'll see a graphical >> prompt, as always. > > Right. Eli had other comments on the patch, though -- would it be > possible for you to rework the patch, and then we can get it applied? I think I've applied all code review suggestions (patches attached). Thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Extend-read-multiple-choice-to-support-free-form-hel.patch >From b5a49005af33d8fcd35ca034949920f3ff8c36d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Wed, 21 Apr 2021 23:14:27 +0200 Subject: [PATCH 1/2] Extend read-multiple-choice to support free-form help descriptions * lisp/emacs-lisp/rmc.el (read-multiple-choice): Add a new argument to override the default help description in `read-multiple-choice'. Use the `help-char' variable instead of ?\C-h. Also support the `edit' action from `query-replace-map', so that help links can be visited by entering a recursive edit. --- lisp/emacs-lisp/rmc.el | 129 +++++++++++++++++++++++------------------ 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el index bedf598d44..6aa169c032 100644 --- a/lisp/emacs-lisp/rmc.el +++ b/lisp/emacs-lisp/rmc.el @@ -26,24 +26,32 @@ (require 'seq) ;;;###autoload -(defun read-multiple-choice (prompt choices) +(defun read-multiple-choice (prompt choices &optional help-string) "Ask user a multiple choice question. PROMPT should be a string that will be displayed as the prompt. CHOICES is a list of (KEY NAME [DESCRIPTION]). KEY is a character to be entered. NAME is a short name for the entry to be displayed while prompting (if there's room, it might be -shortened). DESCRIPTION is an optional longer explanation that -will be displayed in a help buffer if the user requests more -help. +shortened). DESCRIPTION is an optional longer explanation for +the entry that will be displayed in a help buffer if the user +requests more help. This help description has a fixed format in +columns, but, for greater flexibility, instead of passing a +DESCRIPTION, the user can use the optional argument HELP-STRING. +This argument is a string that contains the text with the +complete description of all choices. `read-multiple-choice' will +display that description in a help buffer if the user requests +it. This function translates user input into responses by consulting the bindings in `query-replace-map'; see the documentation of that variable for more information. In this case, the useful -bindings are `recenter', `scroll-up', and `scroll-down'. If the -user enters `recenter', `scroll-up', or `scroll-down' responses, -perform the requested window recentering or scrolling and ask -again. +bindings are `recenter', `scroll-up', `scroll-down', and `edit'. +If the user enters `recenter', `scroll-up', or `scroll-down' +responses, perform the requested window recentering or scrolling +and ask again. If the user enters `edit', start a recursive +edit. When the user exit the recursive edit, the multiple choice +prompt gains focus again. When `use-dialog-box' is t (the default), this function can pop up a dialog window to collect the user input. That functionality @@ -133,6 +141,13 @@ read-multiple-choice (ignore-errors (scroll-other-window)) t) ((eq answer 'scroll-other-window-down) (ignore-errors (scroll-other-window-down)) t) + ((eq answer 'edit) + (save-match-data + (save-excursion + (message "%s" + (substitute-command-keys + "Recursive edit. Resume with \\[exit-recursive-edit]")) + (recursive-edit)))) (t tchar))) (when (eq tchar t) (setq wrong-char nil @@ -141,57 +156,61 @@ read-multiple-choice ;; help messages. (when (and (not (eq tchar nil)) (not (assq tchar choices))) - (setq wrong-char (not (memq tchar '(?? ?\C-h))) + (setq wrong-char (not (memq tchar `(?? ,help-char))) tchar nil) (when wrong-char (ding)) - (with-help-window (setq buf (get-buffer-create - "*Multiple Choice Help*")) - (with-current-buffer buf - (erase-buffer) - (pop-to-buffer buf) - (insert prompt "\n\n") - (let* ((columns (/ (window-width) 25)) - (fill-column 21) - (times 0) - (start (point))) - (dolist (elem choices) - (goto-char start) - (unless (zerop times) - (if (zerop (mod times columns)) - ;; Go to the next "line". - (goto-char (setq start (point-max))) - ;; Add padding. - (while (not (eobp)) - (end-of-line) - (insert (make-string (max (- (* (mod times columns) - (+ fill-column 4)) - (current-column)) - 0) - ?\s)) - (forward-line 1)))) - (setq times (1+ times)) - (let ((text - (with-temp-buffer - (insert (format - "%c: %s\n" - (car elem) - (cdr (assq (car elem) altered-names)))) - (fill-region (point-min) (point-max)) - (when (nth 2 elem) - (let ((start (point))) - (insert (nth 2 elem)) - (unless (bolp) - (insert "\n")) - (fill-region start (point-max)))) - (buffer-string)))) + (setq buf (get-buffer-create "*Multiple Choice Help*")) + (if (stringp help-string) + (with-help-window buf + (with-current-buffer buf + (insert help-string))) + (with-help-window buf + (with-current-buffer buf + (erase-buffer) + (pop-to-buffer buf) + (insert prompt "\n\n") + (let* ((columns (/ (window-width) 25)) + (fill-column 21) + (times 0) + (start (point))) + (dolist (elem choices) (goto-char start) - (dolist (line (split-string text "\n")) - (end-of-line) - (if (bolp) - (insert line "\n") - (insert line)) - (forward-line 1))))))))))) + (unless (zerop times) + (if (zerop (mod times columns)) + ;; Go to the next "line". + (goto-char (setq start (point-max))) + ;; Add padding. + (while (not (eobp)) + (end-of-line) + (insert (make-string (max (- (* (mod times columns) + (+ fill-column 4)) + (current-column)) + 0) + ?\s)) + (forward-line 1)))) + (setq times (1+ times)) + (let ((text + (with-temp-buffer + (insert (format + "%c: %s\n" + (car elem) + (cdr (assq (car elem) altered-names)))) + (fill-region (point-min) (point-max)) + (when (nth 2 elem) + (let ((start (point))) + (insert (nth 2 elem)) + (unless (bolp) + (insert "\n")) + (fill-region start (point-max)))) + (buffer-string)))) + (goto-char start) + (dolist (line (split-string text "\n")) + (end-of-line) + (if (bolp) + (insert line "\n") + (insert line)) + (forward-line 1)))))))))))) (when (buffer-live-p buf) (kill-buffer buf)) (assq tchar choices))) -- 2.31.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-Add-a-help-option-to-the-open-large-files-prompt.patch >From 406990011fe26ee681597e25155ab4dfa4f6ee42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Wed, 21 Apr 2021 23:27:13 +0200 Subject: [PATCH 2/2] Add a help option to the open large files prompt * lisp/files.el (files--ask-user-about-large-file-help-text): New function that returns information about opening large files in Emacs. (Bug#45412) (files--ask-user-about-large-file): Use read-multiple-choice to display the available actions. * etc/NEWS: Advertise the new feature. --- etc/NEWS | 8 +++++++ lisp/files.el | 60 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 53 insertions(+), 15 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index c2db98ae45..f99dcae536 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -276,6 +276,14 @@ commands. The new keystrokes are 'C-x x g' ('revert-buffer'), ** Commands 'set-frame-width' and 'set-frame-height' can now get their input using the minibuffer. +--- +** New help window when Emacs prompts before opening a large file. +Commands like 'find-file' or 'visit-tags-table' ask to visit a file +normally or literally when the file is larger than a certain size (by +default, 9.5 MiB). Press '?' or 'C-h' in that prompt to read more +about the different options to visit a file, how you can disable the +prompt, and how you can tweak the file size threshold. + * Editing Changes in Emacs 28.1 diff --git a/lisp/files.el b/lisp/files.el index 8e8fbac8dc..c1857ba032 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2129,27 +2129,57 @@ out-of-memory-warning-percentage (declare-function x-popup-dialog "menu.c" (position contents &optional header)) +(defun files--ask-user-about-large-file-help-text (op-type size) + "Format the text that explains the options to open large files in Emacs. +OP-TYPE contains the kind of file operation that will be +performed. SIZE is the size of the large file." + (format + "The file that you want to %s is large (%s), which exceeds the + threshold above which Emacs asks for confirmation (%s). + + Large files may be slow to edit or navigate so Emacs asks you + before you try to %s such files. + + You can press: + 'y' to %s the file. + 'n' to abort, and not %s the file. + 'l' (the letter ell) to %s the file literally, which means that + Emacs will %s the file without doing any format or character code + conversion and in Fundamental mode, without loading any potentially + expensive features. + + You can customize the option `large-file-warning-threshold' to be the + file size, in bytes, from which Emacs will ask for confirmation. Set + it to nil to never request confirmation." + op-type + size + (funcall byte-count-to-string-function large-file-warning-threshold) + op-type + op-type + op-type + op-type + op-type)) + (defun files--ask-user-about-large-file (size op-type filename offer-raw) + "If file SIZE larger than `large-file-warning-threshold', allow user to abort. +OP-TYPE specifies the file operation being performed on FILENAME. +If OFFER-RAW is true, give user the additional option to open the +file literally." (let ((prompt (format "File %s is large (%s), really %s?" (file-name-nondirectory filename) (funcall byte-count-to-string-function size) op-type))) (if (not offer-raw) (if (y-or-n-p prompt) nil 'abort) - (let* ((use-dialog (and (display-popup-menus-p) - last-input-event - (listp last-nonmenu-event) - use-dialog-box)) - (choice - (if use-dialog - (x-popup-dialog t `(,prompt - ("Yes" . ?y) - ("No" . ?n) - ("Open literally" . ?l))) - (read-char-choice - (concat prompt " (y)es or (n)o or (l)iterally ") - '(?y ?Y ?n ?N ?l ?L))))) - (cond ((memq choice '(?y ?Y)) nil) - ((memq choice '(?l ?L)) 'raw) + (let* ((choice + (car + (read-multiple-choice prompt '((?y "yes") + (?n "no") + (?l "literally")) + (files--ask-user-about-large-file-help-text + op-type + (funcall byte-count-to-string-function size)))))) + (cond ((eq choice ?y) nil) + ((eq choice ?l) 'raw) (t 'abort)))))) (defun abort-if-file-too-large (size op-type filename &optional offer-raw) -- 2.31.0 --=-=-=-- From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, Eli Zaretskii , juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162028970710399 (code B ref 45412); Thu, 06 May 2021 08:29:02 +0000 Received: (at 45412) by debbugs.gnu.org; 6 May 2021 08:28:27 +0000 Received: from localhost ([127.0.0.1]:37016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZMx-0002hf-ID for submit@debbugs.gnu.org; Thu, 06 May 2021 04:28:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZMv-0002hT-Ks for 45412@debbugs.gnu.org; Thu, 06 May 2021 04:28:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nSGDgGVP45FaoiiRRgJJc26GAwI8beE5PZCaYGMyAs4=; b=jtrZ9PJSZ2P2IQS47R1IsRYbEu UJJgrk1Od0m6vMsbE2UvctxSZJBOtibNBrc/k4ZEQnQinaBhbOLs5ZybkKO25zQBUO/g6/6fDMtMT YXPWDJ3+INvApDXPjy29uNdo0lAT6TgZeuILPv9Q2vvDGXDeQn15XooVUOEsawf3U/NI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leZMl-0004uo-Mv; Thu, 06 May 2021 10:28:18 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> X-Now-Playing: Working Week's _Working Nights_: "No Cure No Pay" Date: Thu, 06 May 2021 10:28:14 +0200 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Thu, 06 May 2021 01:10:08 +0200") Message-ID: <87eeek2rmp.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > I think I've applied all code review suggestions (patches attached). > Thanks. Thanks; applied to Emacs 28 (with some minor changes). Seems to work great. :-) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: > I think I've applied all code review suggestions (patches attached). > Thanks. Thanks; applied to Emacs 28 (with some minor changes). Seems to work great. :-) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 06 04:28:35 2021 Received: (at control) by debbugs.gnu.org; 6 May 2021 08:28:35 +0000 Received: from localhost ([127.0.0.1]:37019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZN4-0002hs-Rf for submit@debbugs.gnu.org; Thu, 06 May 2021 04:28:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZN3-0002hm-Fq for control@debbugs.gnu.org; Thu, 06 May 2021 04:28:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=slDkqDXptGYPn3osbALgnLyvnXGo3/BzNk+sYN8Ua4M=; b=sUS9dOtSVvAh6fm4oz2QKFQLS6 SRc/XEHKQpXQAo9qVpHbTHGqcAWNtXCACJ7mRF+M7n0Mc3tIufLhdQyRCNk7jMwqXlfnxe/4wq7To JeMAGMKVZsWwzSGNH0O6J+mEuvpTt/qv9kZlNcaUTPjdeN4LIFFRStxr3zCdBPkBlYa0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leZMw-0004uz-2c for control@debbugs.gnu.org; Thu, 06 May 2021 10:28:27 +0200 Date: Thu, 06 May 2021 10:28:25 +0200 Message-Id: <87czu42rme.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45412 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 45412 fixed close 45412 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45412 fixed close 45412 28.1 quit From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 08:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 45412@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162028987714932 (code B ref 45412); Thu, 06 May 2021 08:32:01 +0000 Received: (at 45412) by debbugs.gnu.org; 6 May 2021 08:31:17 +0000 Received: from localhost ([127.0.0.1]:37028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZPh-0003sT-5s for submit@debbugs.gnu.org; Thu, 06 May 2021 04:31:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leZPf-0003m2-0A for 45412@debbugs.gnu.org; Thu, 06 May 2021 04:31:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50252) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leZPZ-0006FT-0S; Thu, 06 May 2021 04:31:09 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4311 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1leZPY-0003ki-KB; Thu, 06 May 2021 04:31:08 -0400 Date: Thu, 06 May 2021 11:30:57 +0300 Message-Id: <83tunge01q.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Daniel =?UTF-8?Q?Mart=C3=ADn?= on Thu, 06 May 2021 01:10:08 +0200) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Martín > Cc: Eli Zaretskii , 45412@debbugs.gnu.org, > jidanni@jidanni.org, juri@linkov.net > Date: Thu, 06 May 2021 01:10:08 +0200 > > I think I've applied all code review suggestions (patches attached). Thanks, there are still a couple of nits left: > * lisp/emacs-lisp/rmc.el (read-multiple-choice): Add a new argument to > override the default help description in `read-multiple-choice'. Use > the `help-char' variable instead of ?\C-h. Also support the `edit' > action from `query-replace-map', so that help links can be visited by > entering a recursive edit. In commit log messages and in NEWS we nowadays prefer quoting 'like this', not `like this'. > +shortened). DESCRIPTION is an optional longer explanation for > +the entry that will be displayed in a help buffer if the user > +requests more help. This help description has a fixed format in > +columns, but, for greater flexibility, instead of passing a > +DESCRIPTION, the user can use the optional argument HELP-STRING. > +This argument is a string that contains the text with the > +complete description of all choices. `read-multiple-choice' will > +display that description in a help buffer if the user requests > +it. You say "user" here several times, but I think you mean the Lisp program that calls this function, not the Emacs user. > + (substitute-command-keys > + "Recursive edit. Resume with \\[exit-recursive-edit]")) I think "resume" is too vague here to be useful. Suggest to reword: Recursive edit; type \\[exit-recursive-edit] to return to help screen. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2021 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: mardani29@yahoo.es Cc: 45412@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net, jidanni@jidanni.org Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162039670627895 (code B ref 45412); Fri, 07 May 2021 14:12:01 +0000 Received: (at 45412) by debbugs.gnu.org; 7 May 2021 14:11:46 +0000 Received: from localhost ([127.0.0.1]:44166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf1Cg-0007Fr-Bx for submit@debbugs.gnu.org; Fri, 07 May 2021 10:11:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf1Ce-0007Fl-SC for 45412@debbugs.gnu.org; Fri, 07 May 2021 10:11:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49664) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lf1CS-0004s3-Mc; Fri, 07 May 2021 10:11:30 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2464 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1lf1CP-0007s2-8r; Fri, 07 May 2021 10:11:27 -0400 Date: Fri, 07 May 2021 17:11:19 +0300 Message-Id: <83k0oabpmg.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83tunge01q.fsf@gnu.org> (message from Eli Zaretskii on Thu, 06 May 2021 11:30:57 +0300) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> <83tunge01q.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 06 May 2021 11:30:57 +0300 > From: Eli Zaretskii > Cc: 45412@debbugs.gnu.org, larsi@gnus.org, jidanni@jidanni.org, juri@linkov.net > > > From: Daniel Martín > > Cc: Eli Zaretskii , 45412@debbugs.gnu.org, > > jidanni@jidanni.org, juri@linkov.net > > Date: Thu, 06 May 2021 01:10:08 +0200 > > > > I think I've applied all code review suggestions (patches attached). > > Thanks, there are still a couple of nits left: Looks like these comments were ignored, so I went ahead and made the changes myself. (Except that there's no way of fixing the quoting in the commit log message...) From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 May 2021 11:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Eli Zaretskii Cc: 45412@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org, mardani29@yahoo.es Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162047386623778 (code B ref 45412); Sat, 08 May 2021 11:38:01 +0000 Received: (at 45412) by debbugs.gnu.org; 8 May 2021 11:37:46 +0000 Received: from localhost ([127.0.0.1]:49666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfLHF-0006BS-Qt for submit@debbugs.gnu.org; Sat, 08 May 2021 07:37:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfLHE-0006BM-9F for 45412@debbugs.gnu.org; Sat, 08 May 2021 07:37:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=faQcccvuaCpiR/n8jogkRPkS9X2HAUv3U4aXu4l6LJw=; b=PaM2lvuhcpA8XecDvhqcJ8qCPK PgkKTGaK6Jxaz69hU3Ja0OH2KVWaBoB//2gucjlCB48wdjDoNooHmFp8X2Q9ouj2RLZYd+Yoxq0uj sQGkehrmAqCp4hvdms2KrZsY/8n+zbTCTshVnn0gC6+seX/065zT4T8ggC7XBM0bwxco=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfLH3-0003fy-RY; Sat, 08 May 2021 13:37:36 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> <83tunge01q.fsf@gnu.org> <83k0oabpmg.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUGAgcTCgsSDBFS OkVKNjgnHBxcQ0p0VWI0JitvUVRmSkdeRTxhPl2HZWz///+ZtGCJAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+UFCAsjM4olfpgAAAFJSURBVDjLxdM/S8NAFADwd/kEST5Bc1+hIQiOuZYSFwlU3KPEdO2Q VgwUbaV7pSFXXCv3sjrF0dXNQRz6XUwLpZJ7HZx8y/358d49uDtgluXYtuM41q/gNgfYL0zYxX5Z T9lhFw64G0EPBv8a7kXUFucEjOIiVRMCHsbpmITHU1eQpV6FEFMKEFEVVKkSK0Qq422FUlJQlYrK MKA6Qyx1YIBVQQHAqlK4IgHlgOxKKpnQMFAJ0S6DdaC6ZLtd4UeBDjZISd0H4yBEe+7rYIA7dYWn gcXhUvR8/T7qRx2sP7x0oh3BIf5K705ajX27hmS4jEIKXrzlPAQCNtnmPdSP4PDkRb0mWNuMKLm6 D01dIM+Km36rCSYHtYk7/WYG1KXybwqYDeltca2V2v7N52E6mmlQR7bIPzsmATnmi5kOBvz1r/Nj YBzN+AHUPWfiXWwV/AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNS0wOFQxMTozNTo1MCswMDow MCGfixUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMDhUMTE6MzU6NTArMDA6MDBQwjOpAAAA AElFTkSuQmCC X-Now-Playing: Jim O'Rourke's _To Magnetize Money and Return a Roving Eye (1)_: "To Magnetize Money and Return a Roving Eye pt1" Date: Sat, 08 May 2021 13:37:32 +0200 In-Reply-To: <83k0oabpmg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 May 2021 17:11:19 +0300") Message-ID: <87im3ttq0z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Looks like these comments were ignored, so I went ahead and made the > changes myself. Thanks. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Looks like these comments were ignored, so I went ahead and made the > changes myself. Thanks. > (Except that there's no way of fixing the quoting in the commit log > message...) I don't think we have any policy on quoting symbols in the commit messages. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 May 2021 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org, mardani29@yahoo.es Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162047658418333 (code B ref 45412); Sat, 08 May 2021 12:24:01 +0000 Received: (at 45412) by debbugs.gnu.org; 8 May 2021 12:23:04 +0000 Received: from localhost ([127.0.0.1]:49953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfLz2-0004l9-BU for submit@debbugs.gnu.org; Sat, 08 May 2021 08:23:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfLyz-0004l3-QS for 45412@debbugs.gnu.org; Sat, 08 May 2021 08:22:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59160) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfLyr-00058L-H5; Sat, 08 May 2021 08:22:50 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4678 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfLyr-0001Pq-4K; Sat, 08 May 2021 08:22:49 -0400 Date: Sat, 08 May 2021 15:22:45 +0300 Message-Id: <83eeeh9zze.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87im3ttq0z.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 08 May 2021 13:37:32 +0200) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> <83tunge01q.fsf@gnu.org> <83k0oabpmg.fsf@gnu.org> <87im3ttq0z.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: mardani29@yahoo.es, 45412@debbugs.gnu.org, jidanni@jidanni.org, > juri@linkov.net > Date: Sat, 08 May 2021 13:37:32 +0200 > > I don't think we have any policy on quoting symbols in the commit > messages. We decided to quote 'like this' in NEWS and ChangeLog files, AFAIR. Since ChangeLog files are nowadays produced from the Git log, I thought this was in effect there as well. From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 09:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Eli Zaretskii Cc: 45412@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org, mardani29@yahoo.es Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162055428620528 (code B ref 45412); Sun, 09 May 2021 09:59:01 +0000 Received: (at 45412) by debbugs.gnu.org; 9 May 2021 09:58:06 +0000 Received: from localhost ([127.0.0.1]:55211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgCM-0005L2-66 for submit@debbugs.gnu.org; Sun, 09 May 2021 05:58:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgCK-0005Kf-7B for 45412@debbugs.gnu.org; Sun, 09 May 2021 05:58:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AJbhR/AGwWwHaM+QAZny8LaK7wDlzNPh7VC8oKJaGxc=; b=h6ydHjZD+Y9Amr5UY1/mvjfEYw KysGSN/4lUX4CIAp0B7BiXOA58FcSEwmhCzHL1FFUVx3mRaupK1jGVfnazxV36+9MJhl4NF8VI8KT BwrjKQaDhDccAHE7jcYZ1l5g/RkAXcZmY94rOT/Y/sheQ+TezNYO7eT9mjswlTzG89ZY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfgCA-0007yK-C9; Sun, 09 May 2021 11:57:56 +0200 From: Lars Ingebrigtsen References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> <83tunge01q.fsf@gnu.org> <83k0oabpmg.fsf@gnu.org> <87im3ttq0z.fsf@gnus.org> <83eeeh9zze.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX9/P3T0tOdm5ts aGhPTEuBfX0/PDv////akPEOAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UFCQk0IccnOE0AAAGpSURB VDjLtZRLcsIwDIZJZtgnBfY00H2LzAGIhNeUTE9Q1/c/QvXLdh6Ubc3w0me9paxW/3La9pm0eiGh 8+tf+cAi5MKpebDiJJ1wbZb3VRajoX5ONmQgQEU+ZmAg56MBvCeVmsiJB/BRX5cRHAimVKQaXnwo KnUGAQA/3ovCQOzMb7AI4k8Gdp8tVh80aB+b4ppLfonGm4E1Iah8ojm65OzOE1BTXkKffLM5gRtk qJkENuC4KHhkiIAtk2oCErQyuOD3DyDmDMUAywh8qnDKvWb+ItySXHpXgPBAU3JQ92KAGHJYY8is nrelhkE4NICoErBPALJwV07OWZSwfn03uSSOkga+1G5MYEtjVCi/3orXVF31kQmsaXdiP85IBogI l1I/qrexJMmUSJ6G3ZS5swA4z896aqDTbIWvZaTJp6HKafI4vVt0QVutHTKlcXhrNNWa7lGSfpr2 ow4aOht81IruZ4uDeuvoaAuZ5vux2rk8JIHvyyU8Bt2doAmeHrf24DQq5tnWlq1vOz34U7UtHgXV /d4tlTfDZ9c1eFBknapYbdvnD490fgFY+rbxDBEtFgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0w NS0wOVQwOTo1MjozMiswMDowMBNi4QsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMDlUMDk6 NTI6MzIrMDA6MDBiP1m3AAAAAElFTkSuQmCC X-Now-Playing: Zonal's _Wrecked_: "Intro: Body Of Wire" Date: Sun, 09 May 2021 11:57:53 +0200 In-Reply-To: <83eeeh9zze.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 May 2021 15:22:45 +0300") Message-ID: <87pmy0ns9q.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > We decided to quote 'like this' in NEWS and ChangeLog files, AFAIR. > Since ChangeLog files are nowadays produced from the Git log, I > thought this was in effect there as well. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > We decided to quote 'like this' in NEWS and ChangeLog files, AFAIR. > Since ChangeLog files are nowadays produced from the Git log, I > thought this was in effect there as well. It makes sense to insist on a convention in the NEWS file, but in the commit messages (and therefore ChangeLog files), that requires more effort than it's worth. (And very few people seem to be following the same conventions currently.) There's too many hurdles to contribute to Emacs already -- let's not add more. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:03:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45412: File ... is large (... MiB), really open? (y)es or (n)o or (l)iterally Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 10:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 45412@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org, mardani29@yahoo.es Received: via spool by 45412-submit@debbugs.gnu.org id=B45412.162055467329201 (code B ref 45412); Sun, 09 May 2021 10:05:02 +0000 Received: (at 45412) by debbugs.gnu.org; 9 May 2021 10:04:33 +0000 Received: from localhost ([127.0.0.1]:55234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgIX-0007av-7F for submit@debbugs.gnu.org; Sun, 09 May 2021 06:04:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgIU-0007an-58 for 45412@debbugs.gnu.org; Sun, 09 May 2021 06:04:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57484) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfgIO-0001JH-Kz; Sun, 09 May 2021 06:04:20 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1493 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfgIN-0007CF-OK; Sun, 09 May 2021 06:04:20 -0400 Date: Sun, 09 May 2021 13:04:21 +0300 Message-Id: <83a6p48bq2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87pmy0ns9q.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 09 May 2021 11:57:53 +0200) References: <87k0t72rhd.5.fsf@jidanni.org> <8735zuig9m.fsf@gnus.org> <87wnx62rpe.fsf@mail.linkov.net> <877dl80vwk.fsf@gnus.org> <87mttxqgnv.fsf@gnus.org> <83fsziprdf.fsf@gnu.org> <877dkqjhwd.fsf@gnus.org> <87zgxk1qlm.fsf@gnus.org> <83tunge01q.fsf@gnu.org> <83k0oabpmg.fsf@gnu.org> <87im3ttq0z.fsf@gnus.org> <83eeeh9zze.fsf@gnu.org> <87pmy0ns9q.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: mardani29@yahoo.es, 45412@debbugs.gnu.org, jidanni@jidanni.org, > juri@linkov.net > Date: Sun, 09 May 2021 11:57:53 +0200 > > Eli Zaretskii writes: > > > We decided to quote 'like this' in NEWS and ChangeLog files, AFAIR. > > Since ChangeLog files are nowadays produced from the Git log, I > > thought this was in effect there as well. > > It makes sense to insist on a convention in the NEWS file, but in the > commit messages (and therefore ChangeLog files), that requires more > effort than it's worth. (And very few people seem to be following the > same conventions currently.) > > There's too many hurdles to contribute to Emacs already -- let's not add > more. I think having 2 different conventions is worse than having just one, but I won't argue further.