[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2176: Observations on the splash screen - and signal-process
From: |
Chong Yidong |
Subject: |
bug#2176: Observations on the splash screen - and signal-process |
Date: |
Sat, 01 Dec 2012 10:12:38 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) |
storm@cua.dk (Kim F. Storm) writes:
> 1) Shouldn't "Meta-x" be "M-x" here ?
> 2) Couldn't we make this a "clickable" "Recover Session" button
> like the Open file... instead of the text?
> 3) Maybe rephrase it to something like:
Done in trunk, thanks.
> Maybe emacs should check the saved sessions and filter out the
> currently running sessions ...
> A simple (signal-process PID 0) would suffice -- unfortunately, the
> doc string for signal-process does not describe the return value
> in this case (currently it is 0 if the process exists and -1 otherwise
> - but better return values would probably be t or nil).
I don't think this would be strictly correct, since pids are reusable.
Anyway, it seems like over-engineering.
> Finally, wouldn't it make sense if (signal-process PID nil) checked
> for the existense of process PID - using signal 0 is probably
> non-portable.
I don't think it makes sense to overload `signal-process' for this
purpose; there is already `process-attributes'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#2176: Observations on the splash screen - and signal-process,
Chong Yidong <=