emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient not working on RHEL 6.8 (non-sudo) [master branch]


From: Kaushal Modi
Subject: Re: emacsclient not working on RHEL 6.8 (non-sudo) [master branch]
Date: Wed, 5 Dec 2018 14:17:07 -0500

These issues go away if I rebuild emacs using the 9-day old commit
f3328f995ee316cffa1a86117e6da2ba299d2c90 [1], before any of the
changes happened to emacsclient.c.

[1]: 
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f3328f995ee316cffa1a86117e6da2ba299d2c90

--
Kaushal Modi

On Wed, Dec 5, 2018 at 12:36 PM Kaushal Modi <address@hidden> wrote:
>
> Some more information ..
>
> Earlier "emacsclient -c&" used to work. Now doing that auto-suspends that 
> process and on doing fg, I get "broken pipe".
>
> But "emacsclient -c" seems to be working (without that &). But then I need to 
> block a new terminal for each new emacsclient invocation (with or without -c) 
> ..
>
> Also, I fixed a regression in one of the 3rd party Elisp packages that got 
> updated in last month.
>
> After that, instead of "broken pipe" error, I now see "*ERROR*: Assertion 
> failed: (eq (match-end 0) (length string))"
>
> That error is originating from servel.el:
>
> =====
>   (condition-case err
>       (progn
> (server-add-client proc)
> ;; Send our pid
> (server-send-string proc (concat "-emacs-pid "
> (number-to-string (emacs-pid)) "\n"))
> (if (not (string-match "\n" string))
>             ;; Save for later any partial line that remains.
>             (when (> (length string) 0)
>               (process-put proc 'previous-string string))
>
>           ;; In earlier versions of server.el (where we used an `emacsserver'
>           ;; process), there could be multiple lines.  Nowadays this is not
>           ;; supported any more.
>           (cl-assert (eq (match-end 0) (length string)))
> =====
>
> I get that assertion error if I do "emacsclient -c&". But if I do just 
> "emacsclient -c", a new Emacsclient frame launches fine.



reply via email to

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