all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Albinus <michael.albinus@gmx.de>,
	 rms@gnu.org, emacs-devel@gnu.org,  jonas@bernoul.li
Subject: Re: with-editor seems like a bug fix
Date: Sun, 30 Jun 2024 13:51:21 +0200	[thread overview]
Message-ID: <87y16mejie.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <86o77jj470.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Jun 2024 15:58:43 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Michael Albinus <michael.albinus@gmx.de>
>> Cc: manuel@ledu-giraud.fr,  rms@gnu.org,  emacs-devel@gnu.org,
>>   jonas@bernoul.li
>> Date: Sat, 29 Jun 2024 14:47:07 +0200
>> 
>> >> TL;DR: I don't believe with-editor is just a bug fix. There are reasons
>> >>        for the implementation as-it-is. It might profit from using
>> >>        emacsclient also for the remote case (when possible), but nobody
>> >>        has taken the stab.
>> >
>> > I don't see how we can discuss a package which solves problems we
>> > don't understand.
>> 
>> Oh, we understand. When there is no emacsclient on the remote host, we
>> cannot use it. with-editor solves this problems.
>
> I meant in the local case.

FWIW, I have never yet encountered a case, where having the emacs server
started and EDITOR set to "emacsclient" failed in the local case.

That said, skimming through the with-editor's code, it seems to try real
hard to find a correct emacsclient (even "remacsclient" for remacs!)  It
even seems to start the emacs server if it is not already the case.  So
I agree that it could be declared "broken" installations.
-- 
Manuel Giraud



  parent reply	other threads:[~2024-06-30 11:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  3:07 with-editor seems like a bug fix Richard Stallman
2024-06-27  5:58 ` Eli Zaretskii
2024-06-27  6:14   ` Po Lu
2024-06-27  9:44   ` Manuel Giraud via Emacs development discussions.
2024-06-27 10:29     ` Eli Zaretskii
2024-06-27 10:58       ` Michael Albinus
2024-06-29 11:06       ` Michael Albinus
2024-06-29 12:38         ` Eli Zaretskii
2024-06-29 12:47           ` Michael Albinus
2024-06-29 12:58             ` Eli Zaretskii
2024-06-29 14:39               ` Michael Albinus
2024-06-29 15:58                 ` Eli Zaretskii
2024-06-29 16:08                   ` Michael Albinus
2024-07-02 19:43                     ` Jonas Bernoulli
2024-07-06 11:15                       ` Michael Albinus
2024-06-30 11:51               ` Manuel Giraud via Emacs development discussions. [this message]
2024-07-01  1:52                 ` Stefan Kangas

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=87y16mejie.fsf@ledu-giraud.fr \
    --to=emacs-devel@gnu.org \
    --cc=eliz@gnu.org \
    --cc=jonas@bernoul.li \
    --cc=manuel@ledu-giraud.fr \
    --cc=michael.albinus@gmx.de \
    --cc=rms@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 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.