emacs-devel
[Top][All Lists]
Advanced

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

ielm needs cat in the path


From: Juanma Barranquero
Subject: ielm needs cat in the path
Date: Thu, 14 Feb 2002 17:46:45 +0100

ielm invokes cat to create a dummy process. cat is usually not found in
Windows environments (unless you're using cygwin o mingw tools or
equivalent).

hexl is a good substitute because:

1.- It is included with Emacs

2.- It is always available (because EMACSPATH is added to exec-path)

3.- Its memory footprint is smaller than cat's (at least on Windows and
Solaris...)



                                                           /L/e/k/t/u



2002-02-14  Juanma Barranquero  <address@hidden>

        * ielm.el (inferior-emacs-lisp-mode): Invoke hexl instead of cat.



Index: ielm.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ielm.el,v
retrieving revision 1.22
diff -u -r1.22 ielm.el
--- ielm.el     10 Oct 2000 17:27:38 -0000      1.22
+++ ielm.el     14 Feb 2002 16:34:39 -0000
@@ -459,7 +459,7 @@
 
   ;; A dummy process to keep comint happy. It will never get any input
   (if (comint-check-proc (current-buffer)) nil
-    (start-process "ielm" (current-buffer) "cat")
+    (start-process "ielm" (current-buffer) "hexl")
     (process-kill-without-query (ielm-process))
     (goto-char (point-max))
     ;; Add a silly header




reply via email to

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