bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55696: 28.1; eshell fails to respect text-scale-increase


From: Eli Zaretskii
Subject: bug#55696: 28.1; eshell fails to respect text-scale-increase
Date: Thu, 09 Jun 2022 19:48:28 +0300

> From: Jim Porter <jporterbugs@gmail.com>
> Date: Thu, 9 Jun 2022 08:55:36 -0700
> 
> Do the tests work if you replace "list" in those two functions with 
> "listify"? (`eshell/listify' is a built-in Eshell alias function, which 
> is the highest priority for Eshell commands, so it should always work.)

If I make this replacement in 4 tests that use "list", then it doesn't
hang, but 2 tests fail:

  Test esh-var-test/interp-lisp-indices backtrace:
    (listify 1 2)
    eval((listify 1 2))
    eshell-exec-lisp(eshell-print eshell-error (listify 1 2) nil t)
    eshell-lisp-command((listify 1 2))
    eval((eshell-lisp-command '(listify 1 2)))
    eshell-do-eval((eshell-lisp-command '(listify 1 2)) t)
    eshell-do-eval((progn (eshell-lisp-command '(listify 1 2)) (symbol-v
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-temp .
    eval((let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-t
    eshell-do-eval((let ((eshell-current-handles '[nil (eshell-temp . 1)
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcall '#f
    eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcal
    eshell-do-eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil
    eshell-do-eval((eshell-apply-indices (let ((value 'eshell-temp) (esh
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((indices '((#("1" 0 1 (number t)))))) (funcall '#f(compiled-fu
    eval((let ((indices '((#("1" 0 1 ...))))) (funcall '#f(compiled-func
    eshell-do-eval((let ((indices '((#("1" 0 1 ...))))) (eshell-apply-in
    eshell-do-eval((eshell-escape-arg (let ((indices '((...)))) (eshell-
    eshell-do-eval((list (eshell-escape-arg (let ((indices '(...))) (esh
    eshell-do-eval((eshell-named-command '"+" (list (eshell-escape-arg (
    eshell-do-eval((prog1 (eshell-named-command '"+" (list (eshell-escap
    (condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"
    eval((condition-case err (eshell-do-eval '(prog1 (eshell-named-comma
    eshell-do-eval((condition-case err (eshell-do-eval '(prog1 (eshell-n
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-fu
    eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compil
    eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (conditio
    eshell-do-eval((progn (let ((eshell-this-command-hook '(ignore))) (c
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-temp .
    eval((let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-t
    eshell-do-eval((let ((eshell-current-handles '[nil (eshell-temp . 1)
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcall '#f
    eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcal
    eshell-do-eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-curren
    eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-c
    eshell-do-eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)])
    eshell-command-result("+ $(listify 1 2)[1] 3")
    (let ((eshell-history-file-name nil)) (eshell-command-result command
    (progn (let ((eshell-history-file-name nil)) (eshell-command-result 
    (unwind-protect (progn (let ((eshell-history-file-name nil)) (eshell
    (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct
    eshell-test-command-result("+ $(listify 1 2)[1] 3")
    (list (eshell-test-command-result "+ $(listify 1 2)[1] 3") 5)
    (let ((signal-hook-function #'ert--should-signal-hook)) (list (eshel
    (condition-case err (let ((signal-hook-function #'ert--should-signal
    (let* ((fn-140 #'equal) (args-141 (condition-case err (let ((signal-
    (closure (t) nil (let* ((fn-140 #'equal) (args-141 (condition-case e
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name esh-var-test/interp-lisp-indices :doc
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
    ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
    ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
    eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
    command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/eshell/esh-var-tests
    command-line()
    normal-top-level()
  Test esh-var-test/interp-lisp-indices condition:
      (void-function listify)
     FAILED  20/60  esh-var-test/interp-lisp-indices (0.015625 sec) at 
lisp/eshell/esh-var-tests.el:140
  [...]
  Test esh-var-test/quoted-interp-lisp-indices backtrace:
    (listify 1 2)
    eval((listify 1 2))
    eshell-exec-lisp(eshell-print eshell-error (listify 1 2) nil t)
    eshell-lisp-command((listify 1 2))
    eval((eshell-lisp-command '(listify 1 2)))
    eshell-do-eval((eshell-lisp-command '(listify 1 2)) t)
    eshell-do-eval((progn (eshell-lisp-command '(listify 1 2)) (symbol-v
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-temp .
    eval((let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-t
    eshell-do-eval((let ((eshell-current-handles '[nil (eshell-temp . 1)
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcall '#f
    eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcal
    eshell-do-eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil
    eshell-do-eval((eshell-apply-indices (let ((value 'eshell-temp) (esh
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((indices '((#("1" 0 1 (number t)))))) (funcall '#f(compiled-fu
    eval((let ((indices '((#("1" 0 1 ...))))) (funcall '#f(compiled-func
    eshell-do-eval((let ((indices '((#("1" 0 1 ...))))) (eshell-apply-in
    eshell-do-eval((eshell-stringify (let ((indices '((...)))) (eshell-a
    eshell-do-eval((eshell-escape-arg (eshell-stringify (let ((indices '
    eshell-do-eval((eshell-escape-arg (eshell-escape-arg (eshell-stringi
    eshell-do-eval((list (eshell-escape-arg (eshell-escape-arg (eshell-s
    eshell-do-eval((eshell-named-command '"concat" (list (eshell-escape-
    eshell-do-eval((prog1 (eshell-named-command '"concat" (list (eshell-
    (condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"
    eval((condition-case err (eshell-do-eval '(prog1 (eshell-named-comma
    eshell-do-eval((condition-case err (eshell-do-eval '(prog1 (eshell-n
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-fu
    eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compil
    eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (conditio
    eshell-do-eval((progn (let ((eshell-this-command-hook '(ignore))) (c
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-temp .
    eval((let ((eshell-current-handles '[nil (eshell-temp . 1) (eshell-t
    eshell-do-eval((let ((eshell-current-handles '[nil (eshell-temp . 1)
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcall '#f
    eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil)) (funcal
    eshell-do-eval((let ((value 'eshell-temp) (eshell-in-pipeline-p 'nil
    #f(compiled-function () #<bytecode -0x12ccc80303566d4e>)()
    funcall(#f(compiled-function () #<bytecode -0x12ccc80303566d4e>))
    (let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-curren
    eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-c
    eshell-do-eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)])
    eshell-command-result("concat \"$(listify 1 2)[1]\" cool")
    (let ((eshell-history-file-name nil)) (eshell-command-result command
    (progn (let ((eshell-history-file-name nil)) (eshell-command-result 
    (unwind-protect (progn (let ((eshell-history-file-name nil)) (eshell
    (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct
    eshell-test-command-result("concat \"$(listify 1 2)[1]\" cool")
    (list (eshell-test-command-result "concat \"$(listify 1 2)[1]\" cool
    (let ((signal-hook-function #'ert--should-signal-hook)) (list (eshel
    (condition-case err (let ((signal-hook-function #'ert--should-signal
    (let* ((fn-330 #'equal) (args-331 (condition-case err (let ((signal-
    (closure (t) nil (let* ((fn-330 #'equal) (args-331 (condition-case e
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name esh-var-test/quoted-interp-lisp-indic
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
    ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
    ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
    eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
    command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/eshell/esh-var-tests
    command-line()
    normal-top-level()
  Test esh-var-test/quoted-interp-lisp-indices condition:
      (void-function listify)
     FAILED  49/60  esh-var-test/quoted-interp-lisp-indices (0.015625 sec) at 
lisp/eshell/esh-var-tests.el:318





reply via email to

[Prev in Thread] Current Thread [Next in Thread]