From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: browse-url and URL handlers (MS-Windows) Date: Wed, 12 Oct 2022 09:25:04 +0200 Message-ID: <87y1tlcxm7.fsf@gmail.com> References: <825yh1b5si.fsf@gmail.com> <87czb61xv1.fsf@gnu.org> <82k056r7zw.fsf@gmail.com> <87fsfuee22.fsf@gmail.com> <87tu4agtq0.fsf@gnus.org> <83czaydzue.fsf@gnu.org> <87pmeygrtx.fsf@gnus.org> <874jwagpkp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , pquessev@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 12 09:28:56 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 1oiWAh-0002qq-Bm for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Oct 2022 09:28:55 +0200 Original-Received: from localhost ([::1]:41088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiWAg-0001iN-2j for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Oct 2022 03:28:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiW74-0008Gh-9X for emacs-devel@gnu.org; Wed, 12 Oct 2022 03:25:13 -0400 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:40538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiW72-0002CC-9t; Wed, 12 Oct 2022 03:25:09 -0400 Original-Received: by mail-ej1-x62d.google.com with SMTP id r17so36114697eja.7; Wed, 12 Oct 2022 00:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=Ts82VULPGlislP324Z7wnBiOGnK7jynr+FR1HXgHDGg=; b=W5k/tdVuc/PtWoWAaqNCbNlanRRMHxzKhNlZi5OFsreLERUdx/urC9GjyrH+xSaUtF tqnCZ+nFquvlfHDxLeypXO4Rp96p9OHC48jC16FC32Rj5wDh49YCYqyyS1sYhjcRiZrZ BUBUiLDfylwJ63ftIBIULtgr9PSqnek6quZd/66lv8QMdcX+5pZgrqgsTevG72YvIMJH +/zUiY3kAklU5UP3iu7Vn4UnuWFGf2jtwiZb/Q9UTFmhafNHZkczCO0nIabP2W5/Ujfj rbFT8/AD7z+g8LvEhpnlC2Vm68ItkxzHYujMHcgtuzvzc6Ueq/26RNvqILRHZ1RQ+vR4 cq4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=Ts82VULPGlislP324Z7wnBiOGnK7jynr+FR1HXgHDGg=; b=Imu/hEj9CuwibKUnp0mA4yYmfg9xE/5hC6q+UmMTXniszLTd433zgKWesYkuU/xfe/ xYSwF2DplnukKmvpXNCyHQLcnelfqG/DDXzmsOwc3S2uTSMCXRmiuWerEMY0jdmOe6DS PL/widf3iCJsgHF4OQ3QhNORcTVZPu4AsDyz8ZJE6I7iQTgIOSB+TvTFyNxnW/TQPhnZ qXDl4/LScQrTeoZAD4+fEyDBGhD1vIEhs/X2NpzFl6PzfwtD167yStuPAs4W1kOCPaAQ mR4TlUSdZOPkTvkuruOVP57syVolnSakNfikQp3ly+lP8Sod1CdRmjtiV3XeS9OPB9kn i1vg== X-Gm-Message-State: ACrzQf1jvpTtJSSBrlA5ZcOhF4q4xri5xG2V9m4xrtxZUAdORrAOMKoj PeLnDnelq06QvCt2IfqCthcWvdLZqbQ= X-Google-Smtp-Source: AMsMyM6ggl/UlQgiRtspcpkq3GWc5lf35O3xlJvoK+voqYLiFklYhgt4k9euvBxEuvXxUKuMTqkDOA== X-Received: by 2002:a17:906:eec1:b0:782:6384:76be with SMTP id wu1-20020a170906eec100b00782638476bemr21663476ejb.756.1665559505818; Wed, 12 Oct 2022 00:25:05 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::89aa]) by smtp.gmail.com with ESMTPSA id w21-20020aa7da55000000b0044e01e2533asm10580200eds.43.2022.10.12.00.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 00:25:05 -0700 (PDT) In-Reply-To: <874jwagpkp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 11 Oct 2022 20:52:54 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x62d.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 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:297582 Archived-At: On Tue, 11 Oct 2022 at 20:52, Lars Ingebrigtsen wrote: > But it's up to the local host to interpret the local part, and > apparently the conventions on Windows is to do further processing on the > "/C:/some/file" part of the URL to end up at "C:/some/file", but that > has to be done on a much higher level. This sounds reasonable. I just wanted to note that browse-url-emacs would be third place I know of that need this kind of processing (the other two being eglot and comint-mime). So I guess a helper function is in order here.