rpdillon / todotxt.el

A todo.txt client for Emacs
55 stars 18 forks source link

todotxt-nuke-item works poorly in filtered views #3

Closed jml closed 11 years ago

jml commented 11 years ago

To reproduce:

Observed: Everything prior to the nuked item will be gone. The buffer will be marked as modified & needing saving, but will not be editable.

Expected: The nuked item to be gone but all other items restored. The buffer marked as saved & read-only.

rpdillon commented 11 years ago

This issue is due to misuse of (beginning-of-line) in a bunch of the code, though it doesn't harm correct functionality in most cases. For now, I've inserted a work-around for nuking specifically.

Thanks for the report. The new version should be up on Marmalade shortly.