When I run bibtex-fill-entry
it formats the current entry block where the cursor is at. Note that bibtex-fill-entry (C-c C-q) Fill current BibTeX entry
. So I have to traverse all the entries to align them one by one which is time consuming.
Instead I want to apply bibtex-fill-entry
for all fields in the bibtex buffer, after each save after-save-hook
.
How can I apply bibtex-fill-entry
to entire buffer (all the entries)?
Here cursor is at the beginning of the title = {Clique},
line. When I do M-x bibtex-fill-entry
it only aligns the first entry. I also want to align second entry (considering all entries in the buffer).
@electronic{clique,
title = {Clique},
url = {https://github.com/ethereum/EIPs/issues/225/},
}
@electronic{geth,
title = {Geth},
url = {https://github.com/ethereum/go-ethereum/wiki/geth/},
}