unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gustaf Waldemarson <gustaf.waldemarson@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 38067@debbugs.gnu.org
Subject: bug#38067: Command Popup Hangs Emacsclient During Startup
Date: Wed, 20 Nov 2019 11:23:31 +0100	[thread overview]
Message-ID: <CABehr5cryB2FLzawWh38L99s4JP0am+7mzaqFGripoP47W2XgQ@mail.gmail.com> (raw)
In-Reply-To: <83d0ds6ldu.fsf@gnu.org>

As far as I can tell, this problem doesn't occur anymore, so this must
indeed have been fixed on the master branch.

Thanks!

Den lör 16 nov. 2019 kl 13:44 skrev Eli Zaretskii <eliz@gnu.org>:
>
> > From: Gustaf Waldemarson <gustaf.waldemarson@gmail.com>
> > Date: Tue, 5 Nov 2019 10:31:10 +0100
> >
> > I've run into a slightly annoying issue with the emacsclient hanging
> > during startup due to it being unable to display a command prompt. To
> > recreate the behavior:
> >
> > 1. create a file with the contents (e.g., init.el):
> >
> > ,----
> >  (defun my-hang-client ()
> >    "This is a test function."
> >    (condition-case nil
> >        (let* ((choices (list
> >                        "This function seems to hang Emacsclient."))
> >               (result (completing-read "This is a hang test:" choices nil t))
> >               (index (cl-position choices :test 'equal))))
> >      ('quit)))
> >
> >  (add-hook 'c-mode-hook      #'my-hang-client)
> >  (add-hook 'c++-mode-hook    #'my-hang-client)
> > `----
> >
> > 1. Start a new Emacs server: `emacs --load init.el -Q --daemon=hangtest'
> >
> > 2. Open a new C/C++ file from the terminal (doesn't need to exist):
> >    `emacsclient -nc -s hangtest main.cpp'
>
> Can you try this with the latest master branch?  I think the cause of
> this was lately fixed.
>
> Thanks.





  reply	other threads:[~2019-11-20 10:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05  9:31 bug#38067: Command Popup Hangs Emacsclient During Startup Gustaf Waldemarson
2019-11-16 12:44 ` Eli Zaretskii
2019-11-20 10:23   ` Gustaf Waldemarson [this message]
2019-11-20 16:21     ` Eli Zaretskii

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=CABehr5cryB2FLzawWh38L99s4JP0am+7mzaqFGripoP47W2XgQ@mail.gmail.com \
    --to=gustaf.waldemarson@gmail.com \
    --cc=38067@debbugs.gnu.org \
    --cc=eliz@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 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).