Skip to content
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

Feature request: add 'timestamp' and 'owner' to 'bibtex-clean-entry' #5

Open
basille opened this issue Oct 8, 2018 · 2 comments
Open

Comments

@basille
Copy link

basille commented Oct 8, 2018

I'm not sure if this belongs to bibtex-utils or should go straight to bibtex.el, but I couldn't find a way to ask this on the later (only solution seems to report bugs).

When I run bibtex-clean-entry (C-c C-c), I would like to automatically add the timestamp and the owner, just like I have when I create a new entry from template with:

(defun current-date ()
    (format-time-string "%Y.%m.%d"))    
(setq
    bibtex-user-optional-fields '(
                                 ("timestamp" "Time the entry was created" current-date)
                                 ("owner" "Owner of the entry" user-login-name)
)

Is this possible? Thanks!

@plantarum
Copy link
Owner

Hi,

That's a good suggestion. However, that is part of bibtex.el, and not bibtex-utils.el. It might be possible to add a work-around in bibtex-utils, but I won't have any time to look at this in the immediate future. Maybe later in the year, but my schedule is packed until the end of November.

Good luck,

Tyler

@basille
Copy link
Author

basille commented Oct 9, 2018

I also think it belongs to bibtex.el… but I cannot find a way to post such a request, or simply to ask directly for help (it might actually be already possible, but I cannot find it in the documentation either). In the meanwhile, I asked for help on Stack Exchange, let's see if I'm lucky. Next step would be to contact the maintainer directly, which seems to be Roland Winkler at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants