From: Jay Kamat <jaygkamat@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Philip Kaludercic <philipk@posteo.net>,
Jeremy Bryant <jb@jeremybryant.net>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?
Date: Fri, 01 Mar 2024 09:37:49 -0800 [thread overview]
Message-ID: <87edctetlf.fsf@eve> (raw)
In-Reply-To: <jwv7cipon72.fsf-monnier+emacs@gnu.org>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> Also, I see:
>
> (rmsbolt--convert-file-name-to-system-type
> (shell-quote-argument
>
> which is very weird. The reverse would make more sense.
I agree - this system-type function only does something on cygwin systems
currently and I don't have any windows machines - so I'm unable to test it at
all, which is why I avoided changing this. I might try to swap these around
(and probably remove some escaping in the system-type function) and see if
anyone complains.
> Also I think `shell-quote-argument` should be applied to most parts of
> `rmsbolt--demangle-command`. This function is also odd in that it
> calls `rmsbolt--convert-file-name-to-system-type` on the files
> of the demangler but not those of the `mv`.
I agree - I've been a little lax about that, especially in this function -
once I get some more time, I'll try to refactor things so there's one
"filename quoting" function, that simply runs `shell-quote-argument' on unix
and additionally does the cygwin conversion if needed - that way this logic is
consistent.
Thanks so much for taking a look, regardless, it really helps improve the
quality of the codebase!
-Jay
prev parent reply other threads:[~2024-03-01 17:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-25 21:07 NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ? Jeremy Bryant
2024-02-26 7:44 ` Philip Kaludercic
2024-02-26 22:40 ` Jeremy Bryant
2024-02-27 7:47 ` Philip Kaludercic
2024-02-27 16:13 ` Jay Kamat
2024-02-27 17:10 ` Philip Kaludercic
2024-02-27 17:14 ` Jay Kamat
2024-02-27 17:21 ` Philip Kaludercic
2024-02-27 17:21 ` Stefan Monnier
2024-02-27 17:27 ` Philip Kaludercic
2024-02-27 17:49 ` Stefan Monnier
2024-02-27 18:42 ` Philip Kaludercic
2024-02-27 19:43 ` Stefan Monnier
2024-02-27 18:46 ` Eli Zaretskii
2024-03-01 17:37 ` Jay Kamat [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edctetlf.fsf@eve \
--to=jaygkamat@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=jb@jeremybryant.net \
--cc=monnier@iro.umontreal.ca \
--cc=philipk@posteo.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).