all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: passing data to process sentinel
Date: Mon, 18 Sep 2006 14:42:10 +0200	[thread overview]
Message-ID: <yoijfyepz6ql.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: 450a8bcc$0$19463$8404b019@news.wineasy.se

Gordon Beaton <n.o.t@for.email> writes:

> I'd like to be able to pass the name of the temporary file to a
> process sentinel so it can be cleaned up after tkdiff exits, for
> example by attaching the filename to the process object itself where
> it can be retrieved in the sentinel. To me this seems more elegant
> than storing the filename elsewhere and looking it up.

For the record, Emacs 22 has that feature:

    *** Processes now have an associated property list where programs
    can maintain process state and other per-process related
    information.

    Use the new functions `process-get' and `process-put' to access,
    add, and modify elements on this property list. Use the new
    functions `process-plist' and `set-process-plist' to access and
    replace the entire property list of a process.

-- 
Johan Bockgård

  parent reply	other threads:[~2006-09-18 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15 11:17 passing data to process sentinel Gordon Beaton
2006-09-15 17:01 ` Kevin Rodgers
     [not found] ` <mailman.6985.1158339733.9609.help-gnu-emacs@gnu.org>
2006-09-16  7:37   ` Gordon Beaton
2006-09-18 12:42 ` Johan Bockgård [this message]
2006-09-18 13:45   ` Gordon Beaton

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijfyepz6ql.fsf@gamma02.me.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.