From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master 118e05f570 2/2: New user option browse-url-guess-default-scheme Date: Sun, 10 Jul 2022 11:15:40 -0700 Message-ID: References: <8335f90wi3.fsf@gnu.org> <25290.65361.184285.629594@orion.rgrjr.com> <25291.3862.320236.897950@orion.rgrjr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35007"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 10 20:17:03 2022 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 1oAbUN-0008pV-4A for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 20:17:03 +0200 Original-Received: from localhost ([::1]:55332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAbUL-0002am-HM for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 14:17:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAbT7-0001fs-I4 for emacs-devel@gnu.org; Sun, 10 Jul 2022 14:15:45 -0400 Original-Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:42595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAbT5-0003cw-7i; Sun, 10 Jul 2022 14:15:45 -0400 Original-Received: by mail-pj1-x1030.google.com with SMTP id i8-20020a17090a4b8800b001ef8a65bfbdso3050239pjh.1; Sun, 10 Jul 2022 11:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=gy2Ms0pQfESOVp3XTt5gRPQqL8Gvmtd+HjxhhQDiPGs=; b=Lir9HcYunmpB0JjcerKw8Tcl04fsB1ll+J86YN7rqJxbwz7AI9U95IfEKZ//ZtCEuu o7eiwdTHb9O7wdPVC4wxPrSgaqI3znkQpLsXgwc4WUqDMSG1I9zV80Saxkrb2pbA4xqf DUw3lgCVoTyLLNvB6pXf0s321Tw/QKjOi51W7I/qHXgOP/E0jAeC+Mz/5NHK1bnJQjCw E2XK/NWuyKtOe1tLQxiotpD6YbiJmZ9GP69HfpX3vDobtug/yeTwpUsMVUR4A80uGGWr Pya+FF5fElwy78SU0KyYvueub09JS/yFYZ15fY/TlHpo3zRqdNG3jw5jfRLe9yluUlIU V6uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=gy2Ms0pQfESOVp3XTt5gRPQqL8Gvmtd+HjxhhQDiPGs=; b=r/p/HjNxtJjG0kpDYS7oWj1pTggLEJTeJK16TPUJN/HCLn50kFtOLRv6rDG9B2i5IZ DoeXnpm8Qom4RbatkEEBdPzh3r1UtqVgC7LqmHnRwqF0uNbSPos3neYSAN8cpIsJOOVf PsiqoGID9HcvM23INK3FteDBfInmrYJbYo0my9bgUatMsiThjWCT9TcV8fDAAcZRNCSf MD24xs/ai5ceR/PbwPFLSF6YgCXynmoR8LVNmybh6e2az2nSoUfdHloE9TiJoFeU7C/u olKdzXMqFo60Y/Hs/CV64UYu2n/6+5Ank+872JoR3UAfYaaI6+gWbezCmlZZPMcRB2aq NBvA== X-Gm-Message-State: AJIora/jZ2UOA6E5PrF7o8ySi+jVfHfqkmqD5OVyxDowUEzVOcMy4Bvm GPWa9w49+2Lmbg3qXCJkUtAKC1WkrCWzcHpa7ig= X-Google-Smtp-Source: AGRyM1um3jJ/JU+HEQ+LlY4A012IF99KbCg4W/fI2mzS4TNL/6SCIfK4mkmoe40fxs/0Zd/QhlxhY4IXZWONsMpG/LQ= X-Received: by 2002:a17:903:2444:b0:16b:917e:3b04 with SMTP id l4-20020a170903244400b0016b917e3b04mr14564841pls.145.1657476941033; Sun, 10 Jul 2022 11:15:41 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 10 Jul 2022 11:15:40 -0700 In-Reply-To: <25291.3862.320236.897950@orion.rgrjr.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=stefankangas@gmail.com; helo=mail-pj1-x1030.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" Xref: news.gmane.io gmane.emacs.devel:292033 Archived-At: Bob Rogers writes: > I mean that if given just a domain, or even a partial domain, browsers > have gotten to be pretty smart about guessing which schemes to try, > e.g. preferring HTTPS over HTTP, and whether to prefix "www." or "ftp.", > etc. Better if emacs doesn't try to duplicate that. Indeed. It would be nice to have built-in support for something like HTTPS Everywhere in EWW. Until we have that, I guess there is still some need for this new option (at least in my own use). > On the other hand, anyone thinks there are security problems with > guessing at this point, perhaps it is better not to do anything with > partial URLs, and leave it up to the user. Yes, well this only provides a way to customize the default for `browse-url' et al. So it gives the user more choice than before (which doesn't mean that we can't do even better, of course).