[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbo
From: |
Stefan Monnier |
Subject: |
Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ? |
Date: |
Tue, 27 Feb 2024 12:21:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> -(defun rmsbolt--convert-file-name-to-system-type (file-name)
>> +(defun rmsbolt--convert-file-name-to-system-type (file-name) ;perhaps use
>> `convert-standard-filename'?
>
> Right now, a contributor is trying to improve this area/enable tramp
> support - so I'd like to keep this as stable as possible while they do
> so. But this is a great suggestion - I'll let them know about this function
> and hopefully it will help them in their change as well!
I haven't looked at the code but I'll point out that
`convert-standard-filename` is meant to *define* the name of a "standard"
file, so its argument is usually very static.
It doesn't make sense to apply it to something like `buffer-file-name`
which is already supposed to be a valid filename.
Also, I see:
(rmsbolt--convert-file-name-to-system-type
(shell-quote-argument
which is very weird. The reverse would make more sense.
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`.
Stefan
- NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Jeremy Bryant, 2024/02/25
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/26
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Jeremy Bryant, 2024/02/26
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Jay Kamat, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Jay Kamat, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?,
Stefan Monnier <=
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Stefan Monnier, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Philip Kaludercic, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Stefan Monnier, 2024/02/27
- Re: NonGNU ELPA: Conditions for accepting a potential new package 'rmsbolt' ?, Eli Zaretskii, 2024/02/27