 (defcustom elfeed-search-refresh-rate 5
   "How often the buffer should update against the datebase in seconds.")
 
-(defvar elfeed-search--offset 1
+(defvar elfeed-search--offset 2
   "Offset between line numbers and entry list position.")
 
 (defvar elfeed-search-mode-map

            (standard-output (current-buffer))
            (line (line-number-at-pos)))
        (erase-buffer)
        (setf elfeed-search-entries (elfeed-search-filter (elfeed-db-entries)))
        (loop for entry in elfeed-search-entries
              do (elfeed-search-print entry)

    (setf elfeed-search-filter new-filter)
    (elfeed-search-update :force)))

(defun elfeed-search-insert-header ()
  "Insert a one-line status header."
  (insert
   (propertize
    (if elfeed-waiting
        (format "%d feeds pending, %d in process ...\n"
                (length elfeed-waiting) (length elfeed-connections))
      (let ((time (seconds-to-time (elfeed-db-last-update))))
        (format "Database last updated %s\n"
                (format-time-string "%A, %B %d %H:%M:%S %Z" time))))
    'face '(widget-inactive italic))))

(defun elfeed-search-update (&optional force)
  "Update the display to match the database."
  (interactive)
