A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/291 below:

Suboptimal failure modes for markdown-open and markdown commands · Issue #291 · jrblevin/markdown-mode · GitHub

Expected Behavior

The commands markdown-open and markdown should provide a meaningful error message when markdown-open-command and markdown-command fail or don't exist, respectively.

Actual Behavior

Both commands silently do nothing if the external subprocess fails. In addition, markdown silently does nothing if the program file doesn't exist.

Steps to Reproduce

In a Markdown buffer:

(let ((markdown-command "/bin/false")) (markdown))
(let ((markdown-command "/does/not/exist")) (markdown))
(let ((markdown-open-command "/bin/false")) (markdown-open))
Software Versions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4