-
Notifications
You must be signed in to change notification settings - Fork 53
feat: New citar-no-export-fields variable #872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This ensures that the `bibtex-beginning-of-entry', `bibtex-search-forward-field', and `bibtex-set-dialect' functions in citar.el are loaded before attempting to byte-compile the file. This should resolve the issue in emacs-citar#872 (comment).
This ensures that the `bibtex-beginning-of-entry', `bibtex-search-forward-field', and `bibtex-set-dialect' functions in citar.el are loaded before attempting to byte-compile the file. This should resolve the issue in emacs-citar#872 (comment).
a9be5af to
a763d58
Compare
This ensures that the `bibtex-beginning-of-entry', `bibtex-search-forward-field', and `bibtex-set-dialect' functions in citar.el are loaded before attempting to byte-compile the file. This should resolve the issue in emacs-citar#872 (comment).
c2b4779 to
e1b59d6
Compare
This ensures that the `bibtex-beginning-of-entry', `bibtex-search-forward-field', and `bibtex-set-dialect' functions in citar.el are loaded before attempting to byte-compile the file. This should resolve the issue in emacs-citar#872 (comment).
e1b59d6 to
ed3776c
Compare
|
I unfortunately did not realise that force pushes on my forked branch would trigger the workflows despite having changed this PR to a draft. Please ignore those workflow requests. This PR is put on hold until #873 is reviewed and accepted, as that PR resolves the CI byte-compilation check issue raised above, and more. |
This ensures that the `bibtex-beginning-of-entry', `bibtex-search-forward-field', and `bibtex-set-dialect' functions in citar.el are loaded before attempting to byte-compile the file. This should resolve the issue in #872 (comment).
ed3776c to
b5f5798
Compare
|
Now that #873 has been merged, this PR is ready to be reviewed again. |
roshanshariff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just suggested renaming the customization option, but otherwise this looks good to me!
b5f5798 to
c99a7fe
Compare
This commit adds a new custom variable, i.e., `citar-bibtex-no-export-fields', which serves a similar purpose to `bibtex-completion-no-export-fields' found in bibtex-completion. It is a list of bibtex fields that will be used to inform `citar--insert-bibtex' to omit out when exporting/inserting bibtex entries.
…ields This commit extends the `citar--insert-bibtex' function to omit bibtex fields that were declared in `citar-bibtex-no-export-fields' in the bibtex entry that is to be exported/inserted. This mirrors what is done by `bibtex-completion-insert-bibtex' when the `bibtex-completion-no-export-fields' variable is non-nil.
c99a7fe to
1698123
Compare
|
Thanks again! |
Refer to #868