rougier / persid

Persistent identifier library for GNU Emacs
GNU General Public License v3.0
35 stars 3 forks source link

Make main command more intuitive #7

Closed fabcontigiani closed 6 months ago

fabcontigiani commented 7 months ago

This PR addresses the confusion raised on #5, which I also experienced, making the usage of the main command of persid more intuitive. The old behavior is still present under the same function (persid-bibtex-from), just removed the interactivity from that function since essentially it was intended to be called from elisp rather than M-x, kind of defeating the purpose of an interactive function in my opinion.

Also deleted an alias which I think is way too generic, it could easily be confused with functions provided by other packages that handle BibTeX bibliographies, and now the main function, persid-insert-bibtex, I feel has a name easy enough to remember.

rougier commented 6 months ago

Thanks! I got confused myself from to time so you PR is very much welcome.