From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#74218: [PATCH] Ask confirmation before sending region to search engine. Date: Thu, 07 Nov 2024 12:03:20 +0100 Message-ID: <87v7wzl30n.fsf@gmail.com> 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> 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="920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74218@debbugs.gnu.org, me@eshelyaron.com, stefankangas@gmail.com, me@fabionatali.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 07 12:05:24 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 1t90KJ-000Acz-2A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 12:05:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t90K2-0003MA-CV; Thu, 07 Nov 2024 06:05:06 -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 1t90Jy-0003JK-U7 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:05:03 -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 1t90Jy-0001PG-L3 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:05: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:Date:References:In-Reply-To:From:To:Subject; bh=rk3daiX8wwANLst62sCmNZhNoXcWYCbOLXCsADI5xXk=; b=QUzbb94slcwciqx/dSxvVw880KgMXDqbf5R+XIC0BJGprFJppAdjTSkcOyYchFbfuw/fE+XbNsl0i8ep1TeUJ+NKyF/Mjdqziit7WwHMb8ZXAGPgJJb8v/2qqVDe8HgJg/MUgAi5rotWRg31FOLqDtJAHOFBHQuUv/ccZc5DK2/XirbiG0wCQEyK/Fg5kpdlSXPdVdLiqCs9tcjxX2LCmSFHub371Qdw3Ov2NRMdipxbrzjNfHy8EYDXlacxRS+qM4+abV7BGfdtLHFrFN6n/gBnNXMr3ogmp5hy96R0pK9X2b8t2edHI5Q8I4V0wZAHywUinyH7aLx/R8B9Cr+9hg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t90Jy-0001Nb-3P for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 06:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2024 11:05:02 +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.17309774675253 (code B ref 74218); Thu, 07 Nov 2024 11:05:02 +0000 Original-Received: (at 74218) by debbugs.gnu.org; 7 Nov 2024 11:04:27 +0000 Original-Received: from localhost ([127.0.0.1]:47348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t90JO-0001Me-VJ for submit@debbugs.gnu.org; Thu, 07 Nov 2024 06:04:27 -0500 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:59573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t90JL-0001MU-4p for 74218@debbugs.gnu.org; Thu, 07 Nov 2024 06:04:25 -0500 Original-Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-37d533b5412so540171f8f.2 for <74218@debbugs.gnu.org>; Thu, 07 Nov 2024 03:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730977402; x=1731582202; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rk3daiX8wwANLst62sCmNZhNoXcWYCbOLXCsADI5xXk=; b=AnSCz5pHp7JqkugrvSEfALsWyfyeNmjullBBTy7zn0kDtwguACgmB1qTPOrgd/CqOj imZhujayWovV1lishntuDpy6utNjoBMEW9gl0vYOsFBXjPW92E7YDRuGe6z0EiCFNsxo gkqGQlXL9Wv3TQEt4Fpqhk29GevWnMDpY+SwtCqUlKWE1kbKyf6oVYvaJREQ6P65fqA8 I9Yy/A+9LI20+nBZZkVJe5swno8ajL5iTKnCDwJOmowVv3L4q5OzfnUoh+CGPCCBs+qc oaZKXFOEtdVks+sdNfpW34K3cHe4+PvWKfV/bNF6/qSSjwfKdLCppTqypSJPgY2w7Q+8 VUtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730977402; x=1731582202; h=content-transfer-encoding:mime-version: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=rk3daiX8wwANLst62sCmNZhNoXcWYCbOLXCsADI5xXk=; b=hSXkozeqH72wmYJRvSJ+71P8bnklbO/gP3ot9YqrgzJvU7bMxeZO047L4/bj05GI6H /cVHaTaOcVNhD0xD+Dq1P6VDNHCDKgnHzOCMxnL/PDHEbfJ6c1QtaYhX2x7yFeCpWLo+ KCylZptzpBZJUhYwqiP1mPNEZEWcW46p/ZEFB1e8ebDi0pcwizs86f3Leas11dhPMG5z Pi6FZgs02hJJDU24yvtbzdn8qSri+wkA5CII8k5RzxXkgBv2ymmIjsZ2FlAI94OJFhbb cfFBiV9d70xCNlYKQGMKUsa+XtHF9hJHILdUV4CPwIt2dQv3dhR6arMEcTtn3TugG0ve 7FPA== X-Forwarded-Encrypted: i=1; AJvYcCUDY8pRZAzDmkNDAR3vTJ7qALv3cT+gPJnZqhOZWJv4vhVXxAfSsYXb/Im9zXlMTLPEyMu4nQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy+cm/ErvHo9bR7HaZK+K0wCO5Yk/bGGaI8cnt66V8IELG0D70l LrydCic9F2wQYrga4vAe+IIWDyUBBd+0luhVQG67Omchsl8ZcDJ/ X-Google-Smtp-Source: AGHT+IGc+3mYRUIQp2V1v7tI5vnCrAdcRZnjhIWiu2V5VJQRzLFRsFFHIYNUOTrhaTRSNfIlKXUblg== X-Received: by 2002:a5d:6192:0:b0:37d:4956:b0b4 with SMTP id ffacd0b85a97d-3806122fc7emr31122428f8f.59.1730977401973; Thu, 07 Nov 2024 03:03:21 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:cfd4:b576:ecc8:5796]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381eda13780sm1381255f8f.109.2024.11.07.03.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 03:03:21 -0800 (PST) In-Reply-To: <867c9fqpx0.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Nov 2024 12:49:47 +0200") 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:295014 Archived-At: >>>>> 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 >>=20 >> >>>>> On Thu, 07 Nov 2024 10:53:23 +0200, Eli Zaretskii said: >>=20 Eli> Also, does anyone have an opinion about asking for confirmation on= ly Eli> for regions that are large enough? E.g., when the region is a sin= gle Eli> word, do we want to ask for confirmation anyway? >>=20 >> 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: t= he >> 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 =E2=80=98eww-search-= prefix=E2=80=99 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 request= ed? Eli> If the user doesn't want to reveal details to the Internet, the us= er 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'? Robert --=20