all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: plaice.adam+lists@gmail.com
Cc: 37097@debbugs.gnu.org
Subject: bug#37097: 27.0.50; Opening a "large file" with `emacsclient -c' does not create a frame
Date: Thu, 07 Nov 2019 19:21:54 +0200	[thread overview]
Message-ID: <83mud7eh59.fsf@gnu.org> (raw)
In-Reply-To: <83blwjlwvi.fsf@gnu.org> (message from Eli Zaretskii on Tue, 20 Aug 2019 17:44:33 +0300)

> Date: Tue, 20 Aug 2019 17:44:33 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 37097@debbugs.gnu.org
> 
> > 1. Create a large enough file:
> > 
> > dd if=/dev/zero of=foobar bs=1024 count=10000
> > 
> > 2. Start emacs daemon (with a custom socket to avoid colliding with an
> >    existing daemon):
> > 
> > emacs -Q --daemon=unmodified
> > 
> > 3. Open the large file with emacsclient:
> > 
> > emacsclient -c --socket-name=unmodified foobar
> > 
> > (In all:
> > 
> > dd if=/dev/zero of=foobar bs=1024 count=10000
> > emacs -Q --daemon=unmodified
> > emacsclient -c --socket-name=unmodified foobar
> > 
> > )
> > 
> > * Expected result:
> > 
> > 2. An emacs daemon is started.
> > 
> > 3. A new frame is created with a dialog asking something like:
> > 
> > file foobar is large (nnn), really open? (y)es or (n)o or (l)iterally
> > 
> > * Actual result:
> > 
> > 2. An emacs daemon is started.
> > 
> > 3. No frame is created; the terminal just displays the usual
> >    "emacsclient message" (Waiting for Emacs...) and does nothing. The
> >    emacsclient can be normally killed with C-c (without killing the
> >    daemon).
> 
> This works in Emacs 26, so I'm guessing this is another consequence of
> fixing bug#24218, where we now create the frame only after visiting
> the file.  So when we ask the question, we have no usable frame to ask
> it in.

Please try the latest master, I hope this is now solved.





  reply	other threads:[~2019-11-07 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-20 10:30 bug#37097: 27.0.50; Opening a "large file" with `emacsclient -c' does not create a frame adam plaice
2019-08-20 14:44 ` Eli Zaretskii
2019-11-07 17:21   ` Eli Zaretskii [this message]
2019-11-07 21:56     ` Adam Plaice
2019-11-08  6:36       ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mud7eh59.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37097@debbugs.gnu.org \
    --cc=plaice.adam+lists@gmail.com \
    /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.