From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74218: [PATCH] Ask confirmation before sending region to search engine. Date: Thu, 07 Nov 2024 13:05:43 +0200 Message-ID: <86zfmbpam0.fsf@gnu.org> References: <20241106005544.26516-1-me@fabionatali.com> <86pln8sfqe.fsf@gnu.org> <87ikt0gz7b.fsf@fabionatali.com> <86bjyrqvb0.fsf@gnu.org> <877c9fmn7b.fsf@gmail.com> <867c9fqpx0.fsf@gnu.org> <87v7wzl30n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74218@debbugs.gnu.org, me@eshelyaron.com, stefankangas@gmail.com, me@fabionatali.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 07 12:06:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1t90L7-0000y1-S7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 12:06:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t90Kz-0003fw-Au; Thu, 07 Nov 2024 06:06:05 -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 1t90Kw-0003fb-I0 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:06:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t90Kv-0001gj-Va for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=2n1h+IAs6R+9vo8e3EjUUdoaaL3lrS04xxylS71GhjQ=; b=T8raI+yHvnmyVWbDqrc5I1zF/zDr8LKMIjHqnhvuCY0zY8UYFSGF+aKGc5gDgDgtxpVIpyyweU+WN7oJk0TDhT+8hSMfwyN6H8itZnPPcXlo/RUkSj9DJ08fjnwbVi9OCgogw52WKKQVfn/zlVaQomfeZnYPeBsoVF5hzYI64w9j46AjObj4F9rvmOpQHrvFIKqBKRcUifdX3RweOgxpoZC7K8lFsdq6oH8nDXcsmy1l8Iw62jWPbCxm8nSbdemOldKvM0AS8MdzdMIf60Qzfs3icbR2o7TQNHPzW40dGENJGNa5N2LRj5x3FB7NoV2sIoaaz6kRebRw5kG50/K6Og==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t90Kv-0001V2-Qb for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2024 11:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74218 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74218-submit@debbugs.gnu.org id=B74218.17309775555750 (code B ref 74218); Thu, 07 Nov 2024 11:06:01 +0000 Original-Received: (at 74218) by debbugs.gnu.org; 7 Nov 2024 11:05:55 +0000 Original-Received: from localhost ([127.0.0.1]:47356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t90Ko-0001Ug-HC for submit@debbugs.gnu.org; Thu, 07 Nov 2024 06:05:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t90Km-0001UP-01 for 74218@debbugs.gnu.org; Thu, 07 Nov 2024 06:05:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t90Kg-0001eA-3C; Thu, 07 Nov 2024 06:05:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2n1h+IAs6R+9vo8e3EjUUdoaaL3lrS04xxylS71GhjQ=; b=cvVbdZpwwVhxyNOoB/tD v6jJf6CFqBVHQZid4Afab42gfXhB3Ku7L1L9FnfJnFUlBPbh4Ptn0ye8TTuX3uWRBzIPWqGWDLuuW iSWvQEQzCzAtgSsKXXNhfevm8GAzmQX4cM/Yw3XOTcplReIkGXu9d8oK7gbt4T/MpjNcqDDBV5FfX Mz6DxzkQSnDyudDhSakqNZFGM9cBOCYrM8hUceOyb6VYoY/FkrvhOlHXQeTKtKH8RQ3AUfZRdswVz N2OdMfIr4ivMWMmbgD/dTktCo6Kk1/kvSAY5qUf4nLiVc7l4UMkwpSMMq6vl7jU7//X9hjDoLzalO oA5ucD3YWHdK/g==; In-Reply-To: <87v7wzl30n.fsf@gmail.com> (message from Robert Pluim on Thu, 07 Nov 2024 12:03:20 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295015 Archived-At: > From: Robert Pluim > Cc: me@eshelyaron.com, 74218@debbugs.gnu.org, stefankangas@gmail.com, > me@fabionatali.com > Date: Thu, 07 Nov 2024 12:03:20 +0100 > > >>>>> On Thu, 07 Nov 2024 12:49:47 +0200, Eli Zaretskii said: > > >> From: Robert Pluim > >> Cc: Eshel Yaron , 74218@debbugs.gnu.org, > >> stefankangas@gmail.com, me@fabionatali.com > >> Date: Thu, 07 Nov 2024 10:02:00 +0100 > >> > >> >>>>> On Thu, 07 Nov 2024 10:53:23 +0200, Eli Zaretskii said: > >> > Eli> Also, does anyone have an opinion about asking for confirmation only > Eli> for regions that are large enough? E.g., when the region is a single > Eli> word, do we want to ask for confirmation anyway? > >> > >> The default for sending stuff to remote servers should be not to do it > >> unless explicitly authorized, even if the amount of data is small: the > >> submission itself provides data about your machine, IP, location etc. > > Eli> We are talking about a command which is document as follows: > > Eli> (eww-search-words) > > Eli> Search the web for the text in the region. > Eli> If region is active (and not whitespace), search the web for > Eli> the text between region beginning and end. Else, prompt the > Eli> user for a search string. See the variable ‘eww-search-prefix’ > Eli> for the search engine used. > > Eli> It should be clear from this that a Web search engine is used, and > Eli> that the word or the region are sent to it. Since the user invokes > Eli> this command, how is it reasonable not to do what the user requested? > Eli> If the user doesn't want to reveal details to the Internet, the user > Eli> can avoid invoking the command in the first place. > > Eli> I feel that I'm missing something here. > > And so am I. Why are we discussing adding a confirmation to an > explicit request from the user? Or is the intent to leave it as 'off', > but allow customizing it to 'ask'? My take on it is that the user might not realize that the region is very large and includes parts she didn't intend to send. IOW, a cockpit error.