unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: 56865@debbugs.gnu.org
Subject: bug#56865: M-x find-dired fails with "Wrong type: processp, nil"
Date: Tue, 02 Aug 2022 12:34:58 +0200	[thread overview]
Message-ID: <87pmhjylv1.fsf@gnus.org> (raw)
In-Reply-To: <CAG7BpaozBWzjHsTzqVCRSFWjf2Hhq-kxZdh-8hVYFW1uxBBmoA@mail.gmail.com> (Paul Pogonyshev's message of "Mon, 1 Aug 2022 10:06:50 +0200")

Paul Pogonyshev <pogonyshev@gmail.com> writes:

> Tested also with `emacs -Q', so this is not a problem of my configuration.
>
> 1. Open (a slow) remote connection, with TRAMP
> 2. Run M-x find-dired RET, arguments not important
> 3. Internal error "Wrong type: processp, nil" appears
>
> Debugging suggests that it happens in `find-dired-with-command' when calling
> `set-process-filter'. Apparently the asynchronously started shell command started ~
> 30 lines above counts as having finished (?) by then.

The proper fix here would be to have a way to specify the
filter/sentinel in `shell-command', since that's the only way to really
guarantee that we'll be getting the output here.

But some testing seems to indicate that just moving the settings up
until right after the `shell-command' makes things work, so I've now
made that trivial fix in Emacs 29.  Does this fix this issue for you,
too?







  reply	other threads:[~2022-08-02 10:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-01  8:06 bug#56865: M-x find-dired fails with "Wrong type: processp, nil" Paul Pogonyshev
2022-08-02 10:34 ` Lars Ingebrigtsen [this message]
2022-08-02 11:24   ` Paul Pogonyshev
2022-08-02 11:28     ` Lars Ingebrigtsen
2022-08-10 13:26       ` Paul Pogonyshev
2022-08-12 15:04         ` Lars Ingebrigtsen
2022-08-12 15:33           ` Michael Albinus
2022-08-13 11:43             ` Lars Ingebrigtsen
2022-12-01  7:33               ` Liu Hui
2022-12-01  9:21                 ` Michael Albinus
2022-12-03 13:38                   ` Paul Pogonyshev
2023-09-06 22:41                   ` Stefan Kangas
2022-08-12 15:12         ` Paul Pogonyshev

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=87pmhjylv1.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56865@debbugs.gnu.org \
    --cc=pogonyshev@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.
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).