Project

General

Profile

Bug #1087

EmacsUI: get error "wrong-type-argument processp nil" when doing M-x cocoa5 when executable does not exist

Added by John Abbott almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
EmacsUI
Target version:
Start date:
04 Jul 2017
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

I tried starting CoCoA-5 inside a fresh emacs by typing M-x cocoa5, and got the error Wrong type argument processp nil.

The actual problem is that the CoCoA-5 executable does not exist. Supposedly this is checked in cocoa5-make-shell (see line 1286 in cocoa5.el, but for some reason I do not get the error message which it should produce.

Investigate and rectify.

History

#1 Updated by John Abbott almost 7 years ago

Emacs version is 24.5.1 running on Fedora 24 Linux.

#2 Updated by John Abbott almost 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

A simple workaround is to put a short sleep in the cocoa5 script so that the CoCoA-5 buffer still has a process.

Is this adequate?

#3 Updated by John Abbott almost 7 years ago

  • Status changed from In Progress to Resolved
  • Assignee set to John Abbott
  • Target version changed from CoCoA-5.?.? to CoCoA-5.2.2
  • % Done changed from 30 to 80

I have added a 1 sec sleep when the cocoa5 script prints out an error message.
This seems not to be inconvenient for an interactive user, and works around the Emacs problem.
Perhaps the emacs code should be changed slightly anyway? But I'm too busy now.

#4 Updated by John Abbott over 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100

Closing as it seems OK. (no point in investing more time)

Also available in: Atom PDF