From d44f7188be84997f6660e6910bfadb5f7b1e9824 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 9 Oct 2023 20:34:44 +0100 Subject: ccwl: Deprecate auto-connection of single input commands. This seems like functionality that will be hard to support and will almost never be used in a real-world workflow. This feature is not even advertised in the manual. It is best to silently deprecate this feature now. * ccwl/ccwl.scm (collect-steps): Deprecate auto-connection of single input commands. --- ccwl/ccwl.scm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm index f3d5c36..07eaeae 100644 --- a/ccwl/ccwl.scm +++ b/ccwl/ccwl.scm @@ -464,21 +464,6 @@ represented by objects." key)) input-keys) (list))) - ;; ccwl functions with only a single input when only a single key - ;; is available at this step and when no inputs are passed to it - ((function (step-id)) - (and (function-object #'function) - (= (length input-keys) 1) - (= (length (function-input-keys - (function-object #'function))) - 1)) - (collect-steps #`(function (step-id) - #,(match (function-input-keys - (function-object #'function)) - ((command-key) (symbol->keyword command-key))) - #,(match input-keys - ((input-key) (key-name input-key)))) - input-keys)) ((function (step-id) args ...) ;; Run a whole bunch of tests so that we can produce useful error ;; messages. -- cgit v1.2.3