unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.50; Emacs server and -nw
@ 2007-12-05  1:03 Markus Triska
  2007-12-05  5:01 ` Dan Nicolaescu
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Triska @ 2007-12-05  1:03 UTC (permalink / raw)
  To: emacs-pretest-bug


In an xterm, start Emacs with:

   $ emacs -nw -Q --eval "(server-start)"

In another xterm, do:

   $ emacsclient a

and it immediately asks:

   Buffer `a' still has clients; kill it? (yes or no)

This does not happen if you invoke emacsclient with the "-t" option or
emacs (built using --with-x) without the "-nw" option.

In GNU Emacs 23.0.50.1 (i386-apple-darwin8.11.1, X toolkit)
 of 2007-12-04 ...
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '--with-x' '--without-carbon' '--without-tiff' '--without-gif''

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 23.0.50; Emacs server and -nw
  2007-12-05  1:03 23.0.50; Emacs server and -nw Markus Triska
@ 2007-12-05  5:01 ` Dan Nicolaescu
  2007-12-10  3:46   ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2007-12-05  5:01 UTC (permalink / raw)
  To: Markus Triska; +Cc: emacs-pretest-bug, Stefan Monnier

Markus Triska <markus.triska@gmx.at> writes:

  > In an xterm, start Emacs with:
  > 
  >    $ emacs -nw -Q --eval "(server-start)"
  > 
  > In another xterm, do:
  > 
  >    $ emacsclient a
  > 
  > and it immediately asks:
  > 
  >    Buffer `a' still has clients; kill it? (yes or no)
  > 
  > This does not happen if you invoke emacsclient with the "-t" option or
  > emacs (built using --with-x) without the "-nw" option.
  > 
  > In GNU Emacs 23.0.50.1 (i386-apple-darwin8.11.1, X toolkit)
  >  of 2007-12-04 ...
  > Windowing system distributor `The X.Org Foundation', version 11.0.60802000
  > configured using `configure  '--with-x' '--without-carbon' '--without-tiff' '--without-gif''

This works fine with server.el version 1.136, it does not with versions
after that. 
Stefan, you made the changes in version 1.137, can you please take a
look at this?

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 23.0.50; Emacs server and -nw
  2007-12-05  5:01 ` Dan Nicolaescu
@ 2007-12-10  3:46   ` Stefan Monnier
  2007-12-10  8:08     ` Dan Nicolaescu
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2007-12-10  3:46 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-pretest-bug, Markus Triska

>> In an xterm, start Emacs with:
>> 
>> $ emacs -nw -Q --eval "(server-start)"
>> 
>> In another xterm, do:
>> 
>> $ emacsclient a
>> 
>> and it immediately asks:
>> 
>> Buffer `a' still has clients; kill it? (yes or no)
>> 
>> This does not happen if you invoke emacsclient with the "-t" option or
>> emacs (built using --with-x) without the "-nw" option.
>> 
>> In GNU Emacs 23.0.50.1 (i386-apple-darwin8.11.1, X toolkit)
>> of 2007-12-04 ...
>> Windowing system distributor `The X.Org Foundation', version 11.0.60802000
>> configured using `configure  '--with-x' '--without-carbon' '--without-tiff' '--without-gif''

> This works fine with server.el version 1.136, it does not with versions
> after that. 
> Stefan, you made the changes in version 1.137, can you please take a
> look at this?

Does the patch below fix it?


        Stefan


--- server.el.~1.153.~	2007-11-29 11:02:58.000000000 -0500
+++ server.el	2007-12-09 22:44:34.000000000 -0500
@@ -339,7 +338,7 @@
                      display
                      ;; Make it display (and remember) some dummy buffer, so
                      ;; we can detect later if the frame is in use or not.
-                     `((server-dummmy-buffer . ,buffer)
+                     `((server-dummy-buffer . ,buffer)
                        ;; This frame may be deleted later (see
                        ;; server-unselect-display) so we want it to be as
                        ;; unobtrusive as possible.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 23.0.50; Emacs server and -nw
  2007-12-10  3:46   ` Stefan Monnier
@ 2007-12-10  8:08     ` Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2007-12-10  8:08 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-pretest-bug, Markus Triska

Stefan Monnier <monnier@iro.umontreal.ca> writes:

  > >> In an xterm, start Emacs with:
  > >> 
  > >> $ emacs -nw -Q --eval "(server-start)"
  > >> 
  > >> In another xterm, do:
  > >> 
  > >> $ emacsclient a
  > >> 
  > >> and it immediately asks:
  > >> 
  > >> Buffer `a' still has clients; kill it? (yes or no)
  > >> 
  > >> This does not happen if you invoke emacsclient with the "-t" option or
  > >> emacs (built using --with-x) without the "-nw" option.
  > >> 
  > >> In GNU Emacs 23.0.50.1 (i386-apple-darwin8.11.1, X toolkit)
  > >> of 2007-12-04 ...
  > >> Windowing system distributor `The X.Org Foundation', version 11.0.60802000
  > >> configured using `configure  '--with-x' '--without-carbon' '--without-tiff' '--without-gif''
  > 
  > > This works fine with server.el version 1.136, it does not with versions
  > > after that. 
  > > Stefan, you made the changes in version 1.137, can you please take a
  > > look at this?
  > 
  > Does the patch below fix it?

The sequence above works, but after that doing a C-z in the "emacs -nw"
frame produces this error: "Suspending an Emacs running under X makes no sense"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-10  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05  1:03 23.0.50; Emacs server and -nw Markus Triska
2007-12-05  5:01 ` Dan Nicolaescu
2007-12-10  3:46   ` Stefan Monnier
2007-12-10  8:08     ` Dan Nicolaescu

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).