unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-26 ec02c73: Update process filter example (Bug#35044)
Date: Fri, 03 May 2019 18:47:15 -0400	[thread overview]
Message-ID: <jwvftpv2m1s.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: CAM-tV-8PDnNEaY=KoXeU-5wL9MT_0QeJ8ubV=Wp==tA1ZgBG+g@mail.gmail.com

>> >     * doc/lispref/processes.texi (Filter Functions): Use
>> >     insert-before-markers in the "ordinary" filter example, like
>> >     internal-default-process-filter does.
>>
>> In my experience, insert-before-markers is a source of problems down the
>> road, so I'd recommend not to encourage its use by showing it in example
>> code where it's not strictly needed.
>
> But it's an example about "mimicking the actions of the default
> filter" which does currently use insert-before-markers.

But do we really want to mimic that undesirable part of the behavior?


        Stefan




  reply	other threads:[~2019-05-03 22:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190501005253.12791.10999@vcs0.savannah.gnu.org>
     [not found] ` <20190501005255.2DF9B2042B@vcs0.savannah.gnu.org>
2019-05-01  2:54   ` [Emacs-diffs] emacs-26 ec02c73: Update process filter example (Bug#35044) Stefan Monnier
2019-05-01 11:08     ` Noam Postavsky
2019-05-03 22:47       ` Stefan Monnier [this message]
2019-05-04  1:33         ` Noam Postavsky
2019-05-04 13:22           ` Stefan Monnier
2019-05-07 10:44             ` Noam Postavsky
2019-05-07 12:43               ` Stefan Monnier
2019-05-10  1:33                 ` Noam Postavsky
2019-05-10 13:17                   ` Stefan Monnier

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=jwvftpv2m1s.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /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).