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 12:49:47 +0200 Message-ID: <867c9fqpx0.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> 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="18555"; 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 11:50:29 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 1t905s-0004dk-VU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 11:50:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t905Y-0007dx-RN; Thu, 07 Nov 2024 05:50:09 -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 1t905U-0007bp-2E for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 05:50: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 1t905S-00076w-2i for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 05:50: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=yYuFVweS+R6jwEdSmRLEfLQL7cqpNsMsLtLxmvL3iiY=; b=MxMJQQZiGPG4ssygedg82MHzUQgefNpXX3q9VWTPd6ObjX8graRwTKZICRv80gY1pdp2n1nfaJcLcOxkZPOjVKEKM9jZjIK0VmWicwlUKxVVR3Stw6AV3SLCG3byvwfMLT4VQE+sluuV30yZdmvI0I77ejMf5omx3lDOVgQqhCKpbHWKgJcIfO59MShXfMI5ex6voWQZ2Er1ckS4U1HGYJPOsxbF64V3zKRgHhkowDc5/nqakyknl/1VjfyIKNcWL0KWPdywvKR+6IMAvg8p4HfTW1LPjjJcpkSkE4nEkfT8qFd1g+Nqvwkw7X6veeq+rrUHwls88KO/GNVpB7GTIw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t905R-0000jk-U2 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 05:50: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 10:50: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.17309766002819 (code B ref 74218); Thu, 07 Nov 2024 10:50:01 +0000 Original-Received: (at 74218) by debbugs.gnu.org; 7 Nov 2024 10:50:00 +0000 Original-Received: from localhost ([127.0.0.1]:47326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t905P-0000jN-Jz for submit@debbugs.gnu.org; Thu, 07 Nov 2024 05:49:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t905N-0000jB-M0 for 74218@debbugs.gnu.org; Thu, 07 Nov 2024 05:49:58 -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 1t905H-00075R-TF; Thu, 07 Nov 2024 05:49:51 -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=yYuFVweS+R6jwEdSmRLEfLQL7cqpNsMsLtLxmvL3iiY=; b=i11MKL8PSMxmi41/90Et MnOcFakimf1puJvYxiBnEPpAtXSfDnQYP2u03f5IuhrMyo5ZR14Hy+jWb+SIkIgNJgVN/qUMSxxY5 xmpiBtlOt2mP0xJXKH4+8B00KOZDPAqGXErZC4vp87R2ugx2CHdJtbKZkoycjG38+CcbC+OYTCKDd FzKM/MsPDD8boV4Bp+Y9c/XM44x8YYLN12D5jvRxpSS7L0DKOUxWjh/Qzf5aWKbpF0xdikHDKjtS2 OMv7D9zRp6OnqAxzHXxJhZOziNRa/lPdscy80+AcuExzuMnpcUqf2ZjZ6qHHp7yuRwSZvwdzFjUX4 /lxC3AadpFMQpA==; In-Reply-To: <877c9fmn7b.fsf@gmail.com> (message from Robert Pluim on Thu, 07 Nov 2024 10:02:00 +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:295012 Archived-At: > 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. We are talking about a command which is document as follows: (eww-search-words) Search the web for the text in the region. If region is active (and not whitespace), search the web for the text between region beginning and end. Else, prompt the user for a search string. See the variable ‘eww-search-prefix’ for the search engine used. It should be clear from this that a Web search engine is used, and that the word or the region are sent to it. Since the user invokes this command, how is it reasonable not to do what the user requested? If the user doesn't want to reveal details to the Internet, the user can avoid invoking the command in the first place. I feel that I'm missing something here.