Jim Porter
673c906a5b
Improve evaluation of conditional Eshell forms
...
This simplifies the logic for building these forms and also fixes an
issue where a subcommand in a "&&" or "||" conditional had its output
suppressed.
* lisp/eshell/esh-cmd.el (eshell-structure-basic-command): Make
obsolete.
(eshell-silence-test-command): New function...
(eshell-rewrite-while-command, eshell-rewrite-if-command): ... use it,
and make the command form ourselves.
(eshell-parse-pipeline): Use 'and' and 'or' to make the conditional
command sequence.
(eshell-command-success): New macro.
(eshell-do-eval): Add support for 'and' and 'or' forms.
* test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/and-operator/output)
(esh-cmd-test/or-operator/output): New tests.
2024-11-01 11:41:21 -07:00
..
2024-01-29 14:50:45 +02:00
2024-08-15 08:17:15 +02:00
2024-01-02 10:28:14 +08:00
2024-10-31 10:46:27 +01:00
2024-10-25 22:26:06 -04:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-11-01 11:41:21 -07:00
2024-01-02 09:47:10 +08:00
2024-09-11 10:04:24 +02:00
2024-04-20 11:07:51 +02:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-10-12 15:30:05 +03:00
2024-01-02 10:28:14 +08:00
2024-10-30 10:39:02 +01:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-11-01 02:32:10 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-05-07 15:50:03 +02:00
2024-04-18 13:04:13 +03:00
2024-05-18 13:30:45 +03:00
2024-08-21 03:41:18 +03:00
2024-02-23 13:02:27 +01:00
2024-07-15 19:25:42 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-05-20 09:22:41 +03:00
2024-09-06 16:02:12 -07:00
2024-02-07 11:11:38 -05:00
2024-01-02 09:47:10 +08:00
2024-10-20 10:05:19 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-05-19 11:14:56 +03:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-10-02 01:25:50 +02:00
2024-10-31 10:46:27 +01:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-10-19 10:51:34 +03:00
2024-01-02 09:47:10 +08:00
2024-09-22 12:57:08 +03:00
2024-01-20 11:40:22 +02:00
2024-01-02 09:47:10 +08:00
2024-09-22 10:10:35 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-06-03 12:53:04 +02:00
2024-04-20 13:12:30 +02:00
2024-01-07 12:39:47 +01:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-05-28 20:53:25 -04:00
2024-08-26 11:49:37 -04:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-03-30 16:35:11 +03:00
2024-01-02 09:47:10 +08:00
2024-02-11 09:25:19 +02:00
2024-01-13 20:38:34 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-04-27 12:28:42 +03:00
2024-06-02 08:59:16 +03:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-04-09 11:01:52 +03:00
2024-01-11 17:27:04 +02:00
2024-01-02 09:47:10 +08:00
2024-09-14 12:24:08 +03:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-05-01 13:08:30 +02:00
2024-01-02 09:47:10 +08:00
2024-02-23 13:02:27 +01:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-10-26 18:55:46 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-06-23 16:40:06 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-06-27 11:37:15 +03:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-10-19 10:14:37 +03:00
2024-03-11 15:23:55 +02:00
2024-01-02 09:47:10 +08:00
2024-05-13 12:39:41 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-05-28 13:23:12 +02:00
2024-01-02 09:47:10 +08:00
2024-10-04 00:56:37 -04:00
2024-05-20 13:24:11 -07:00
2024-01-02 10:28:14 +08:00
2024-11-01 09:36:07 -07:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-09-13 12:17:17 +02:00
2024-01-02 09:47:10 +08:00
2024-07-13 15:06:43 +03:00
2024-08-26 02:50:24 +02:00
2024-06-29 16:01:50 +03:00
2024-09-14 12:42:49 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00