From: Jonas Bernoulli <jonas@bernoul.li>
To: Michael Albinus <michael.albinus@gmx.de>, Eli Zaretskii <eliz@gnu.org>
Cc: manuel@ledu-giraud.fr, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: with-editor seems like a bug fix
Date: Tue, 02 Jul 2024 21:43:31 +0200 [thread overview]
Message-ID: <87frsrk2ak.fsf@bernoul.li> (raw)
In-Reply-To: <87zfr33f50.fsf@gmx.de>
Michael Albinus <michael.albinus@gmx.de> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
> Hi Eli,
>
>>> What if we install a simplified version in vanilla Emacs? That is
>>>
>>> - Use always emacsclient, locally or remote
>>> - Check for emacsclient only at the well know places
>>> - Recommend to use with-editor from ELPA if this fails
>>
>> I'd need to see the patch to understand what that means in practice.
>
> If Jonas agrees this approach, I could try to puzzle something together.
Sounds good to me in principal.
I am unsure whether you plan to add a stripped-down with-editor.el to
Emacs or implement the mentioned functionality in existing libraries.
The latter seems more reasonable to me (and I'm guessing that's what
you had in mind).
Please also consider these features:
- Add `server-window-alist'. This would allow both packages and users
to specify that certain buffers should be displayed differently from
the default specified by `server-window'.
- Allow running `server-start' in multiple emacs instances, without
the user/package who calls that, having figure out if another instance
is already using the same name. I.e., something to replace:
(unless (process-live-p server-process)
(when (server-running-p server-name)
(setq server-name (format "server%s" (emacs-pid)))
(when (server-running-p server-name)
(server-force-delete server-name)))
(server-start))
By the way, I really liked you summary of what with-editor.el does and
why.
Cheers,
Jonas
next prev parent reply other threads:[~2024-07-02 19:43 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 [this message]
2024-07-06 11:15 ` Michael Albinus
2024-06-30 11:51 ` Manuel Giraud via Emacs development discussions.
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=87frsrk2ak.fsf@bernoul.li \
--to=jonas@bernoul.li \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--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.