joostkremers / ebib

A BibTeX database manager for Emacs.
https://joostkremers.github.io/ebib/
BSD 3-Clause "New" or "Revised" License
275 stars 37 forks source link

Cannot delete field called "Date-Modified" #67

Closed brabalan closed 9 years ago

brabalan commented 9 years ago

I have an entry that looks like this:

@book{SangiorgiWalker2001,
    Author = {Sangiorgi, Davide and Walker, David},
    Date-Added = {2011-02-28 10:59:01 +0100},
    Date-Modified = {2011-02-28 10:59:03 +0100},
    Publisher = {Cambridge University Press},
    Title = {The $\pi$-calculus: a Theory of Mobile Processes},
    Year = {2001}
}

I'm trying to delete the fields called "Date-Modified" and "Date-Added", but I can't do it from ebib. If I try to do so (hitting 'd' on the field), then it becomes "Date" but the file is not changed.

joostkremers commented 9 years ago

Yes, I can confirm the bug. I probably didn't consider the possibility that field names contain dashes. I'll look into it and see about a fix.

joostkremers commented 9 years ago

Ok, found the problem. Latest version should fix it.

brabalan commented 9 years ago

It works great, thanks.