help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: todo-did.el complete rewrite


From: Stefan Monnier
Subject: Re: todo-did.el complete rewrite
Date: Tue, 26 Mar 2019 13:35:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> (defun todo-show-file ()
>   (interactive)
>   (let ((todo-buffer (todo-get-buffer)))
>     (set-buffer todo-buffer)
>
>     ;; this if if the file doesn't exist
>     ;; but the env is set correctly
>     (save-buffer)
>
>     ;; this is if the file
>     ;; has changed from the shell
>     (revert-buffer t t) ; IGNORE-AUTO NOCONFIRM
>     (todo-sort-and-save)
>
>     (switch-to-buffer todo-buffer)
>     ))

Have you considered using todo-mode or org-mode for the buffer into
which you add those entries?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]