Closed mpedramfar closed 11 months ago
Actually, I don't see a use case for passing name to the save function, only extension should be enough. Besides, the regular expression used to find the extension in file-name-extension
is not identical to the one used in url-file-extension
.
In general, I don't have a problem with the basic request, since customizability is key design goal of citar.
OTOH, I don't really have time to implement this myself ATM, and it's easy enough to write your own command.
Or if you like, you could submit a PR, since you've already thought about the implementation details. That makes it much easier to evaluate and comment on the details on our end.
Great! I'll make a PR soon.
Is your feature request related to a problem? Please describe. Currently, the behavior of the function
citar-add-file-to-library
is not that customizable. For example:file
field of the bibtex entry?Describe the solution you'd like One way to implement it would be to have something like this: