Ticket #72583: minimal-example.el

File minimal-example.el, 838 bytes (added by william-r-greene (William R. (Bill) Greene), 5 weeks ago)

Minimal example of elisp code demonstrating problem

Line 
1(message "At line 1, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
2(setenv "SHELL"                "/bin/bash")
3(message "At line 3, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
4(setenv "BASH_ENV" "/Users/wrg/.bashrc")
5(message "At line 5, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
6(setenv "ENV"      wrg-bash-env)
7(message "At line 7, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
8(setenv "PAGER"    "/bin/cat")
9(message "At line 9, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
10(setenv "VERBOSE"  nil)
11(message "At line 11, (shell-command-to-string \"ls .emacs\") = %S" (shell-command-to-string "ls .emacs"))
12(message "Reached line 12")