Comments on OpenWith

changes highlighted by “garberw” (email william.garber (at) ): on line 111 of openwith.el:

        (when (save-match-data (string-match (car oa) file))
          (let ((params (mapcar (lambda (x) (if (eq x 'file) file x))
                                (nth 2 oa))))
            (when (or (not openwith-confirm-invocation)
                      (y-or-n-p (format "%s %s? " (cadr oa)
                                        (mapconcat #'identity params " "))))
              ;; garberw myprocess LINE 110 HERE
              (let ((myprocess (if (eq system-type 'windows-nt)
                                   (openwith-open-windows file)
                                 (openwith-open-unix (cadr oa) params)) ))
                (set-process-query-on-exit-flag myprocess nil)
              (kill-buffer nil)
              (when (featurep 'recentf)
                (recentf-add-file file))
              ;; inhibit further actions
              (error "Opened %s in external program"
                     (file-name-nondirectory file))))))))

– Anonymous 2020-08-12 15:27 UTC

Please make sure you contribute only your own work. IP numbers are made available via the page history. If you want to keep it a secret, you need to use Tor. See TextFormattingRules for how to format text. See StyleGuide for the suggested writing style on this wiki.

To save this page you must answer this question:

What is the greatest editor out there?