help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to reliably edit a file from within Emacs Lisp and return a stri


From: Jean Louis
Subject: Re: How to reliably edit a file from within Emacs Lisp and return a string?
Date: Sat, 24 Aug 2019 19:17:11 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

* Eli Zaretskii <eliz@gnu.org> [2019-08-24 19:03]:
> > Date: Sat, 24 Aug 2019 19:55:58 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > 
> > > M-x shell
> > > 
> > > ยง emacsclient "file"
> > > 
> > > it works here inside of M-x shell where it says "Waiting for
> > > Emacs..."
> > > 
> > > So I can launch emacsclient from shell within Emacs with waiting
> > > stage.
> > 
> > Yes, but this won't get you anywhere past the waiting stage, because
> > there's no Emacs server that can serve the emacsclient's request.
> 
> Actually, you know what: it will work.  So if you insist on doing it
> via emacsclient, go ahead and do it via the shell buffer.

I have strong feeling that it can work. Please give me better
specification. Which function you propose?

Jean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]