[Top][All Lists]

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

Re: ielm uses the cat program

From: Kevin Rodgers
Subject: Re: ielm uses the cat program
Date: Thu, 30 Jan 2003 12:25:20 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Juanma Barranquero wrote:

On the trunk it's already fixed:

  ;; A dummy process to keep comint happy. It will never get any input
  (unless (comint-check-proc (current-buffer))
    ;; Was cat, but on non-Unix platforms that might not exist, so
    ;; use hexl instead, which is part of the Emacs distribution.
    (condition-case nil
        (start-process "ielm" (current-buffer) "hexl")
      (file-error (start-process "ielm" (current-buffer) "cat")))
    (process-kill-without-query (ielm-process))
    (goto-char (point-max))

If hexl is distributed with Emacs, how could start-process signal a file-error?

And if it doess, why is cat considered a viable fallback?

<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>

reply via email to

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