From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 10284ca3d3: Encode and decode filenames correctly on Haiku
Date: Wed, 04 May 2022 15:26:02 +0800 [thread overview]
Message-ID: <87bkwdn4hh.fsf@yahoo.com> (raw)
In-Reply-To: <838rrh4vtp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 May 2022 10:10:26 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> Isn't this backwards? File names need to be _encoded_ when passed to
> system APIs, and _decoded_ when returning them back to Emacs.
Ah, damn. I got confused by the order of the wording in this comment:
/* Encode or decode a file name, to or from a unibyte string suitable
for passing to C library functions. */
namely how the function immediately following that is
`decode_file_name', but the comment talks about encoding first.
Thanks for pointing this out.
prev parent reply other threads:[~2022-05-04 7:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.321.1651645857.3113.emacs-diffs@gnu.org>
2022-05-04 7:10 ` master 10284ca3d3: Encode and decode filenames correctly on Haiku Eli Zaretskii
2022-05-04 7:26 ` Po Lu [this message]
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=87bkwdn4hh.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.