all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there something like `file-name-concat', but for urls?
Date: Mon, 24 Jul 2023 17:26:59 +0200	[thread overview]
Message-ID: <87cz0hmit8.fsf@mbork.pl> (raw)
In-Reply-To: <83r0oxsepv.fsf@gnu.org>


On 2023-07-24, at 13:58, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Mon, 24 Jul 2023 07:14:23 +0200
>> 
>> given e.g. "https", "example.com" (or "example.com/") and "page", I want
>> to get "https://example.com/page".  Is there a built-in Elisp function
>> to do that?
>
> url-expand-file-name ?

Thanks, that looks close enough!

-- 
Marcin Borkowski
http://mbork.pl



  reply	other threads:[~2023-07-24 15:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  5:14 Is there something like `file-name-concat', but for urls? Marcin Borkowski
2023-07-24 11:58 ` Eli Zaretskii
2023-07-24 15:26   ` Marcin Borkowski [this message]
2023-07-25 16:21 ` Emanuel Berg
2023-07-25 17:24   ` tomas
2023-07-25 18:33     ` Emanuel Berg
2023-07-26  4:34       ` tomas
2023-07-26 12:13         ` Emanuel Berg
2023-07-25 19:00     ` Marcin Borkowski
2023-07-25 19:07       ` Emanuel Berg
2023-07-25 19:38         ` Emanuel Berg
2023-07-25 17:35   ` Yuri Khan
2023-07-25 18:23     ` Emanuel Berg
2023-07-25 20:01       ` Yuri Khan
2023-07-25 21:51         ` Emanuel Berg
2023-07-26 12:44         ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cz0hmit8.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.