From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Is there something like `file-name-concat', but for urls? Date: Wed, 26 Jul 2023 00:35:33 +0700 Message-ID: References: <87edkxnb68.fsf@mbork.pl> <877cqoynaa.fsf@dataswamp.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="29269"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 25 19:36:20 2023 Return-path: Envelope-to: geh-help-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 1qOLxL-0007MF-S8 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Jul 2023 19:36:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOLws-0004Cv-Uw; Tue, 25 Jul 2023 13:35:50 -0400 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 1qOLwr-0004Cg-8e for help-gnu-emacs@gnu.org; Tue, 25 Jul 2023 13:35:49 -0400 Original-Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOLwp-0002fG-MQ for help-gnu-emacs@gnu.org; Tue, 25 Jul 2023 13:35:48 -0400 Original-Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-44387d40adaso64451137.0 for ; Tue, 25 Jul 2023 10:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690306546; x=1690911346; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=X/us2CCATu+IWLxDS9ukjESXNGYDEzdgcDfUc7OG1RE=; b=C4NezdgLMirTBn5uhgngtuGgibq/RPIPCJhFWo5l9AEvm2+yRNuMHsXPxRK2eFeNKs LVCllp4JfOV7JJmPRO/EtaIXoJjFJgp34p/0k7ElxGZxfbLH9Lhiz7MUFTchJmPoY8ar kpufnXmzxrvflJK9KKeOS5rOf4w6+BgxsOolleSUwAjMoRzJsPlEeWR5xUIWgh8VuIY4 zXF0y6X8t9+hxZeCaoRT5XOREiAek0QAWhy6Tjn2n3q9+u31ug8JdzfWHRLtX8wirFkC 30EXZPMwPOxYCHqd67lOJM+WAAePE9BUtgS99Vit71D1n/SerSnRg96y6YZt/NllQcPr sMWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690306546; x=1690911346; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X/us2CCATu+IWLxDS9ukjESXNGYDEzdgcDfUc7OG1RE=; b=kzopCf24AFgryVZCPoWTZFQWUEWxeLT8IpWYM+qVFqVV25axODuKBr/a8340uoTkNB oOZkjXLUqZO6T1BiYpAM2cu2rvhDZx3+ZW275A4q9lzb6EqpfOPVMfV28YHaK0ZA0OfH IvEph+0DY/vN5CZkqYkErllOxpwQ5M5VBCa3MZhDfKutwPtYbcZfelO1I+8X4QiNOZEc YzmWmlMHrbODzVvmlfgztoivGfRYFS3suS7OkLN+V8PAojSS9vxc6fd5PNr4M4HcvPMJ wmU3nFMceDIBGjlscblIxOc13H9HNhZ9p5QCqmGI6dPjcno1esGY45H7Gj2iPjQMr0CA w6Og== X-Gm-Message-State: ABy/qLZrIOYtrFboZ9wwXvJTZRoCcHHpVsM3FSqyqSISq//ozCwIqzrG Dv1xVR5vye0f0G9EwToml6T7G1dNdiPEMdvR8tUvdJ/V X-Google-Smtp-Source: APBJJlHZ8b20BNsglxgwFLV0vyvRUWLxzZ0/J0vU01wDQe1igRFFE9a+IpJnAjJjVtVh/wnq1pi7ohxJ3BLMwQTLzFk= X-Received: by 2002:a05:6102:3f43:b0:443:8053:f969 with SMTP id l3-20020a0561023f4300b004438053f969mr1427573vsv.17.1690306545745; Tue, 25 Jul 2023 10:35:45 -0700 (PDT) In-Reply-To: <877cqoynaa.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe32.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144442 Archived-At: On Tue, 25 Jul 2023 at 23:39, Emanuel Berg wrote: > If so, you can use the correct URL terminology, which is > > 1. scheme: > 2. //server It=E2=80=99s host rather than server, and you left out the user and passwor= d. > 3. [:port] > 4. [/path] > 5. [/program?q=3Dargument] No such thing as program in URIs. It=E2=80=99s all part of the path. Also, query does not have to be structured as k1=3Dv1&k2=3Dv2&=E2=80=A6. > 6. [#fragment] But yes, the correct answer to the OP would be =E2=80=98url-split=E2=80=99 = and =E2=80=98url-unsplit=E2=80=99 if only such functions were defined.