anchor.diff:  
   (in-package :nyxt)
   
  -(defun open-with-external-editor (&optional input-text)
  +(defun edit-with-external-editor (&optional input-text)
     "Edit `input-text' using `external-editor-program'.
   Create a temporary file and return its content.  The editor runs synchronously
   so invoke on a separate thread when possible."
  
positive.code: 
  (define-command fill-input-from-external-editor ()
    "Edit the current input field using `external-editor-program'."
    (bt:make-thread
     (lambda ()
       (select-input-field)
       (%paste :input-text (open-with-external-editor (%copy)))
       (set-caret-on-end))))
  
negative.code:       (with-open-file (f p :direction :io
                             :if-exists :append)
          (write-sequence input-text f)))
      (log:debug "External editor ~s opens ~s"
                 (external-editor-program *browser*) p)
      (with-muffled-body ("Failed editing: ~a" :condition)
        (uiop:run-program (list (external-editor-program *browser*)
                                (uiop:native-namestring p))
                          :ignore-error-status t))
      (uiop:read-file-string p)))
  
  (define-parenscript select-input-field ()
  