From: Chong Yidong <cyd@gnu.org>
To: storm@cua.dk (Kim F. Storm)
Cc: 2176@debbugs.gnu.org
Subject: bug#2176: Observations on the splash screen - and signal-process
Date: Sat, 01 Dec 2012 10:12:38 +0800 [thread overview]
Message-ID: <87ehjaed0p.fsf@gnu.org> (raw)
In-Reply-To: <hgr62gupgg.fsf@fencepost.gnu.org> (Kim F. Storm's message of "Sat, 24 Jan 2009 19:08:34 +0100")
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 parent reply other threads:[~2012-12-01 2:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <hgr62gupgg.fsf@fencepost.gnu.org>
2011-07-26 3:13 ` bug#2176: 2176 proposal Zachary Kanfer
2011-07-26 4:58 ` Eli Zaretskii
2011-07-28 5:59 ` Zachary Kanfer
2012-04-11 12:40 ` Lars Magne Ingebrigtsen
2012-12-01 2:12 ` Chong Yidong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehjaed0p.fsf@gnu.org \
--to=cyd@gnu.org \
--cc=2176@debbugs.gnu.org \
--cc=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).