From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Keep network security info buffers after use Date: Mon, 25 Dec 2023 18:35:45 +0100 Message-ID: <87h6k6chhq.fsf@gmail.com> References: <87plz4irev.fsf@red-bean.com> <83frzufo9x.fsf@gnu.org> <838r5jd56w.fsf@gnu.org> <87mstzwr5j.fsf@red-bean.com> <834jg7d0p2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18951"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Karl Fogel , stefankangas@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 25 18:36:50 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rHosk-0004jE-6H for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Dec 2023 18:36:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHorp-0001oR-Q8; Mon, 25 Dec 2023 12:35:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHoro-0001oF-Rf for emacs-devel@gnu.org; Mon, 25 Dec 2023 12:35:52 -0500 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHorn-0001mp-5k; Mon, 25 Dec 2023 12:35:52 -0500 Original-Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3368fe4dcb1so2753907f8f.1; Mon, 25 Dec 2023 09:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703525748; x=1704130548; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sPRUrcSkqTTOPDN8HwZMpslrS/h5/vsheiOZVl1Jle8=; b=lod9ICWzK0GmN/WUW/u8uzjEqlFlmOmf+Z7qL9Js+12byTfbTDa3UKDVWEVw9Mi16y mYIaY1VV2GIirFlNOtphh++D7hg0l8nhvJqtrzftVpoz8fWyoPeW/OMDYqmd0GogbxJh uxnW+rNbtuX9uhBKqtHjLDbJudJuM5dOCzBmDKeWoVKlJCe9jy6yf318FmU2noTw8oxw DMH2Mu947SZ+k6P17o5QfUhljzEB0CfxKHY6KOJgezRLtmBnZg9rBR3F9Pef8VTOWYE4 eZLhMgxtf1955RH7IZMQRWHUqPDmQPvlZkpELkKcl7NdJtLv2enyA0RcdmdFJUb9e6Bw yWpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703525748; x=1704130548; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=sPRUrcSkqTTOPDN8HwZMpslrS/h5/vsheiOZVl1Jle8=; b=By4ku7OXCfxwfW9ZhbaU85kRX6RqcMIEkTfMRQBzI54+JL6FW7mc8nlATenhx/YmKO q8ARXYemlIUrQWvitk8xwOncgmxw3sJ37+UmraC4W4ITUz7mIV5WAlxXTO8JzLY1zHgQ kH0SNb4khC4ZVuYytXkyc+Eljz6N/+yj+pPjVN64ojZUY99PTxrwYHVP/32MuBOFyfAi E3G21AYeDbOTY3yITu6zY1bzm1011jost/ULFuYZR7PKPaMV7LDkG1IGXWg9Njr7+pTY +p6ZVGRbRU7PGKWSt+tuOR6myNBceTksmCppR5sn0kyueQdd1CKYfp4VBiw8lO7M4qkC +64A== X-Gm-Message-State: AOJu0YzrcYqflevFW5K2Q4nn4pryvehXdwD8WScbRLiTXLdA9GRwrKFW ljPw+B5QdXIXMOAw9Kg2NEuLYoHtH4Q= X-Google-Smtp-Source: AGHT+IES4N3crct/XT6ZbuP6nozuT0xLYGNv7kPjHR95Nq4AwtfiE1dlDdC5Zoyu5KCexbWrPuPmXA== X-Received: by 2002:a05:6000:4014:b0:336:9b01:c67c with SMTP id cp20-20020a056000401400b003369b01c67cmr2399649wrb.1.1703525747524; Mon, 25 Dec 2023 09:35:47 -0800 (PST) Original-Received: from hirondell ([2a01:cb14:290:f00:9bec:5bdd:57a4:14ff]) by smtp.gmail.com with ESMTPSA id t18-20020a0560001a5200b0033699668c2dsm7218059wry.32.2023.12.25.09.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 09:35:46 -0800 (PST) In-Reply-To: <834jg7d0p2.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 Dec 2023 18:28:41 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314211 Archived-At: Eli Zaretskii writes: >> From: Karl Fogel >> Cc: Stefan Kangas , emacs-devel@gnu.org >> Date: Sun, 24 Dec 2023 10:34:32 -0500 >>=20 >> "The inspection" can be an arbitrarily complex process, during=20 >> which the user should have all the usual power of Emacs available. > > You always have the possibility of aborting the connection with C-g > and then doing all those arbitrarily complex processes. But C-g dismisses the *Certificate Details* buffer, so that makes an "arbitrarily complex" inspection somewhat hard to proceed with? Sorry for butting in - no strong intuition re. what the better UX/complexity tradeoff is between (a) letting the certificate buffers linger after aborting (b) letting users enter recursive edits (TIL that's a thing with rmc, neat) (c) adding a command to=E2=80=A6 do somethin= g. All I can say is that the first time I met this prompt, my reflexes were * C-x o - "Ah, right; rmc, can't do that" * C-g; C-x b Cert TAB - "Oh, drats; the buffer was killed" So FWIW (a) would have had my vote, and FWIW=C2=B2 I'd have been fine with = it being optional & off by default. But now that I know about rmc leveraging query-replace-map and the C-r escape hatch, no strong opinion.