unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: stardiviner <numbchild@gmail.com>
Cc: help-gnu-emacs@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: [QUESTION] How to use :filter in `make-process'?
Date: Tue, 03 Mar 2020 16:25:31 +0100	[thread overview]
Message-ID: <87h7z5h34k.fsf@web.de> (raw)
In-Reply-To: <87o8td79xz.fsf@gmail.com> (stardiviner's message of "Tue, 03 Mar 2020 23:08:24 +0800")

stardiviner <numbchild@gmail.com> writes:

> Use lexical-binding in your example, it does not work. report error:
>
> : error in process sentinel: Symbol’s value as variable is void: op-fn
> [2 times]

Note that you need to bind the buffer-local variable lexical-binding to
a non-nil value before you eval the example.  Typically as file-local
variable in your source file.

Michael.



  reply	other threads:[~2020-03-03 15:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03  7:49 [QUESTION] How to use :filter in `make-process'? stardiviner
2020-03-03  8:19 ` Joost Kremers
2020-03-03 16:18   ` [SOLVED] " stardiviner
2020-03-03 16:51     ` Stefan Monnier
2020-03-03 17:33       ` stardiviner
2020-03-03 14:39 ` Stefan Monnier
2020-03-03 15:08   ` stardiviner
2020-03-03 15:25     ` Michael Heerdegen [this message]
2020-03-03 17:34       ` stardiviner
2020-03-03 16:49     ` Stefan Monnier
2020-03-03 17:35       ` stardiviner

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=87h7z5h34k.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=numbchild@gmail.com \
    /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.
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).