* bug#7629: 23.2; Remote X Emacsclient Frame Issue
@ 2010-12-13 5:33 William Gardella
2010-12-21 8:07 ` Chong Yidong
0 siblings, 1 reply; 7+ messages in thread
From: William Gardella @ 2010-12-13 5:33 UTC (permalink / raw
To: 7629
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
Bug occurs under the following circumstances:
1. An emacs server is launched on the host system (via emacs --daemon).
2. A remote system connects to the host system via ssh -X.
3. I get an X emacsclient frame on the remote system with a shell
script that runs emacsclient -c --alternate-editor=""
4. I have the same script on the host machine.
5. If I attempt to launch a local emacsclient frame on the host
machine, after launching an X emacsclient on the remote system,
emacsclient cannot find the server and launches a fresh emacs
--daemon.
6. If I have already closed my remote X emacsclient, the first server
appears completely unresponsive and cannot be revived with, e.g.,
emacsclient --eval \(server-start\). All subsequent attempts to
connect an emacsclient go to the new server process.
7. If I keep the remote emacsclient frame open, I can recover by first
killing the second server process and then running (server-start).
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/23.2/etc/DEBUG.
In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-08-15 on barber, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8
default enable-multibyte-characters: t
Major mode: notmuch-show
Minor modes in effect:
goto-address-mode: t
gpm-mouse-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-netsplit-mode: t
erc-log-mode: t
erc-bbdb-mode: t
xterm-mouse-mode: t
diff-auto-refine-mode: t
erc-highlight-nicknames-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
iswitchb-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
visual-line-mode: t
transient-mark-mode: t
Recent input:
f SPC / t m p / e m a c s 1 0 0 0 / s e r v e r C-a
b u t SPC <return> C-x 1 M-v C-v <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-x b
e m RET C-x C-c C-× <up> <down> <down> C-x b C-g C-x
C-c <help-echo> <down-mouse-5> <mouse-5> n <backspace>
<menu> n o t m <tab> <return> <tab> <tab> <tab> <tab>
<return> <down> <return> <switch-frame> <up> <down>
<down> <up> <down> <up> <down> M-v C-v M-> t h u <backspace>
<backspace> <backspace> C-c P C-x C-x b g r m <return>
C-x b <return> / w h o i s SPC t w b <return> C-g /
w h o i s SPC t h u n k <return> C-g / w h o i s SPC
w g r e n <backspace> e n M-d <tab> <return> C-g C-c
C-c C-SPC C-x b & <backspace> C-g / j o i n SPC # s
t u m p w m <return> / j o i n SPC # c o n k e r o
r <return> C-c E b i d e n t i f y SPC ( N e 4 ~ p
A ? ) <return> C-x 1 C-r C-r w i k i l <return> C-e
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> C-c C-SPC C-c C-SPC M-v
M-v M-> M-> <switch-frame> M-× M-x r e p o r <tab>
<tab> b <tab> <return>
Recent messages:
Connecting to 127.0.0.1:6667... ...done
Logging in as 'wgreenhouse'...
Logging in without password
Logging in as 'wgreenhouse'... done
Formatting...done.
Type M-x switch-to-buffer-other-window RET to restore old contents of the bbdb-list window.
Formatting...done.
Mark saved where search started
Mark set
Making completion list...
Load-path shadows:
/usr/share/emacs/site-lisp/speechd-el/speechd-bug hides /usr/share/emacs23/site-lisp/speechd-el/speechd-bug
/usr/share/emacs/site-lisp/speechd-el/speechd hides /usr/share/emacs23/site-lisp/speechd-el/speechd
/usr/share/emacs/site-lisp/speechd-el/braille hides /usr/share/emacs23/site-lisp/speechd-el/braille
/usr/share/emacs/site-lisp/speechd-el/speechd-common hides /usr/share/emacs23/site-lisp/speechd-el/speechd-common
/usr/share/emacs/site-lisp/speechd-el/mmanager hides /usr/share/emacs23/site-lisp/speechd-el/mmanager
/usr/share/emacs/site-lisp/speechd-el/speechd-speak hides /usr/share/emacs23/site-lisp/speechd-el/speechd-speak
/usr/share/emacs/site-lisp/speechd-el/brltty hides /usr/share/emacs23/site-lisp/speechd-el/brltty
/usr/share/emacs/site-lisp/speechd-el/speechd-version hides /usr/share/emacs23/site-lisp/speechd-el/speechd-version
/usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.2/site-lisp/cscope/xcscope hides /usr/share/emacs/site-lisp/xcscope
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/cedet-common/ezimage hides /usr/share/emacs/23.2/lisp/ezimage
/usr/share/emacs23/site-lisp/speedbar/speedbar hides /usr/share/emacs/23.2/lisp/speedbar
/usr/share/emacs23/site-lisp/speedbar/sb-image hides /usr/share/emacs/23.2/lisp/sb-image
/usr/share/emacs23/site-lisp/speedbar/dframe hides /usr/share/emacs/23.2/lisp/dframe
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/org-mode/org-colview hides /usr/share/emacs/23.2/lisp/org/org-colview
/usr/share/emacs23/site-lisp/org-mode/org-ascii hides /usr/share/emacs/23.2/lisp/org/org-ascii
/usr/share/emacs23/site-lisp/org-mode/org-protocol hides /usr/share/emacs/23.2/lisp/org/org-protocol
/usr/share/emacs23/site-lisp/org-mode/org-timer hides /usr/share/emacs/23.2/lisp/org/org-timer
/usr/share/emacs23/site-lisp/org-mode/org-xoxo hides /usr/share/emacs/23.2/lisp/org/org-xoxo
/usr/share/emacs23/site-lisp/org-mode/org-plot hides /usr/share/emacs/23.2/lisp/org/org-plot
/usr/share/emacs23/site-lisp/org-mode/org-faces hides /usr/share/emacs/23.2/lisp/org/org-faces
/usr/share/emacs23/site-lisp/org-mode/org-latex hides /usr/share/emacs/23.2/lisp/org/org-latex
/usr/share/emacs23/site-lisp/org-mode/org-mhe hides /usr/share/emacs/23.2/lisp/org/org-mhe
/usr/share/emacs23/site-lisp/org-mode/org-mouse hides /usr/share/emacs/23.2/lisp/org/org-mouse
/usr/share/emacs23/site-lisp/org-mode/org-clock hides /usr/share/emacs/23.2/lisp/org/org-clock
/usr/share/emacs23/site-lisp/org-mode/org-install hides /usr/share/emacs/23.2/lisp/org/org-install
/usr/share/emacs23/site-lisp/org-mode/org-mobile hides /usr/share/emacs/23.2/lisp/org/org-mobile
/usr/share/emacs23/site-lisp/org-mode/org-compat hides /usr/share/emacs/23.2/lisp/org/org-compat
/usr/share/emacs23/site-lisp/org-mode/org-w3m hides /usr/share/emacs/23.2/lisp/org/org-w3m
/usr/share/emacs23/site-lisp/org-mode/org-habit hides /usr/share/emacs/23.2/lisp/org/org-habit
/usr/share/emacs23/site-lisp/org-mode/org hides /usr/share/emacs/23.2/lisp/org/org
/usr/share/emacs23/site-lisp/org-mode/org-attach hides /usr/share/emacs/23.2/lisp/org/org-attach
/usr/share/emacs23/site-lisp/org-mode/org-id hides /usr/share/emacs/23.2/lisp/org/org-id
/usr/share/emacs23/site-lisp/org-mode/org-remember hides /usr/share/emacs/23.2/lisp/org/org-remember
/usr/share/emacs23/site-lisp/org-mode/org-publish hides /usr/share/emacs/23.2/lisp/org/org-publish
/usr/share/emacs23/site-lisp/org-mode/org-jsinfo hides /usr/share/emacs/23.2/lisp/org/org-jsinfo
/usr/share/emacs23/site-lisp/org-mode/org-macs hides /usr/share/emacs/23.2/lisp/org/org-macs
/usr/share/emacs23/site-lisp/org-mode/org-irc hides /usr/share/emacs/23.2/lisp/org/org-irc
/usr/share/emacs23/site-lisp/org-mode/org-exp-blocks hides /usr/share/emacs/23.2/lisp/org/org-exp-blocks
/usr/share/emacs23/site-lisp/org-mode/org-feed hides /usr/share/emacs/23.2/lisp/org/org-feed
/usr/share/emacs23/site-lisp/org-mode/org-bibtex hides /usr/share/emacs/23.2/lisp/org/org-bibtex
/usr/share/emacs23/site-lisp/org-mode/org-list hides /usr/share/emacs/23.2/lisp/org/org-list
/usr/share/emacs23/site-lisp/org-mode/org-freemind hides /usr/share/emacs/23.2/lisp/org/org-freemind
/usr/share/emacs23/site-lisp/org-mode/org-html hides /usr/share/emacs/23.2/lisp/org/org-html
/usr/share/emacs23/site-lisp/org-mode/org-docbook hides /usr/share/emacs/23.2/lisp/org/org-docbook
/usr/share/emacs23/site-lisp/org-mode/org-datetree hides /usr/share/emacs/23.2/lisp/org/org-datetree
/usr/share/emacs23/site-lisp/org-mode/org-archive hides /usr/share/emacs/23.2/lisp/org/org-archive
/usr/share/emacs23/site-lisp/org-mode/org-footnote hides /usr/share/emacs/23.2/lisp/org/org-footnote
/usr/share/emacs23/site-lisp/org-mode/org-inlinetask hides /usr/share/emacs/23.2/lisp/org/org-inlinetask
/usr/share/emacs23/site-lisp/org-mode/org-rmail hides /usr/share/emacs/23.2/lisp/org/org-rmail
/usr/share/emacs23/site-lisp/org-mode/org-gnus hides /usr/share/emacs/23.2/lisp/org/org-gnus
/usr/share/emacs23/site-lisp/org-mode/org-crypt hides /usr/share/emacs/23.2/lisp/org/org-crypt
/usr/share/emacs23/site-lisp/org-mode/org-wl hides /usr/share/emacs/23.2/lisp/org/org-wl
/usr/share/emacs23/site-lisp/org-mode/org-exp hides /usr/share/emacs/23.2/lisp/org/org-exp
/usr/share/emacs23/site-lisp/org-mode/org-info hides /usr/share/emacs/23.2/lisp/org/org-info
/usr/share/emacs23/site-lisp/org-mode/org-agenda hides /usr/share/emacs/23.2/lisp/org/org-agenda
/usr/share/emacs23/site-lisp/org-mode/org-vm hides /usr/share/emacs/23.2/lisp/org/org-vm
/usr/share/emacs23/site-lisp/org-mode/org-mac-message hides /usr/share/emacs/23.2/lisp/org/org-mac-message
/usr/share/emacs23/site-lisp/org-mode/org-bbdb hides /usr/share/emacs/23.2/lisp/org/org-bbdb
/usr/share/emacs23/site-lisp/org-mode/org-indent hides /usr/share/emacs/23.2/lisp/org/org-indent
/usr/share/emacs23/site-lisp/org-mode/org-table hides /usr/share/emacs/23.2/lisp/org/org-table
/usr/share/emacs23/site-lisp/org-mode/org-icalendar hides /usr/share/emacs/23.2/lisp/org/org-icalendar
/usr/share/emacs23/site-lisp/org-mode/org-mew hides /usr/share/emacs/23.2/lisp/org/org-mew
/usr/share/emacs23/site-lisp/org-mode/org-src hides /usr/share/emacs/23.2/lisp/org/org-src
/usr/share/emacs23/site-lisp/erc/erc-match hides /usr/share/emacs/23.2/lisp/erc/erc-match
/usr/share/emacs23/site-lisp/erc/erc-autoaway hides /usr/share/emacs/23.2/lisp/erc/erc-autoaway
/usr/share/emacs23/site-lisp/erc/erc-replace hides /usr/share/emacs/23.2/lisp/erc/erc-replace
/usr/share/emacs23/site-lisp/erc/erc-stamp hides /usr/share/emacs/23.2/lisp/erc/erc-stamp
/usr/share/emacs23/site-lisp/erc/erc-join hides /usr/share/emacs/23.2/lisp/erc/erc-join
/usr/share/emacs23/site-lisp/erc/erc-identd hides /usr/share/emacs/23.2/lisp/erc/erc-identd
/usr/share/emacs23/site-lisp/erc/erc-fill hides /usr/share/emacs/23.2/lisp/erc/erc-fill
/usr/share/emacs23/site-lisp/erc/erc-ibuffer hides /usr/share/emacs/23.2/lisp/erc/erc-ibuffer
/usr/share/emacs23/site-lisp/erc/erc-imenu hides /usr/share/emacs/23.2/lisp/erc/erc-imenu
/usr/share/emacs23/site-lisp/erc/erc-spelling hides /usr/share/emacs/23.2/lisp/erc/erc-spelling
/usr/share/emacs23/site-lisp/erc/erc-backend hides /usr/share/emacs/23.2/lisp/erc/erc-backend
/usr/share/emacs23/site-lisp/erc/erc-goodies hides /usr/share/emacs/23.2/lisp/erc/erc-goodies
/usr/share/emacs23/site-lisp/erc/erc-track hides /usr/share/emacs/23.2/lisp/erc/erc-track
/usr/share/emacs23/site-lisp/erc/erc-lang hides /usr/share/emacs/23.2/lisp/erc/erc-lang
/usr/share/emacs23/site-lisp/erc/erc-page hides /usr/share/emacs/23.2/lisp/erc/erc-page
/usr/share/emacs23/site-lisp/erc/erc-ezbounce hides /usr/share/emacs/23.2/lisp/erc/erc-ezbounce
/usr/share/emacs23/site-lisp/erc/erc-log hides /usr/share/emacs/23.2/lisp/erc/erc-log
/usr/share/emacs23/site-lisp/erc/erc-notify hides /usr/share/emacs/23.2/lisp/erc/erc-notify
/usr/share/emacs23/site-lisp/erc/erc-networks hides /usr/share/emacs/23.2/lisp/erc/erc-networks
/usr/share/emacs23/site-lisp/erc/erc-list hides /usr/share/emacs/23.2/lisp/erc/erc-list
/usr/share/emacs23/site-lisp/erc/erc-netsplit hides /usr/share/emacs/23.2/lisp/erc/erc-netsplit
/usr/share/emacs23/site-lisp/erc/erc-sound hides /usr/share/emacs/23.2/lisp/erc/erc-sound
/usr/share/emacs23/site-lisp/erc/erc-button hides /usr/share/emacs/23.2/lisp/erc/erc-button
/usr/share/emacs23/site-lisp/erc/erc-xdcc hides /usr/share/emacs/23.2/lisp/erc/erc-xdcc
/usr/share/emacs23/site-lisp/erc/erc-menu hides /usr/share/emacs/23.2/lisp/erc/erc-menu
/usr/share/emacs23/site-lisp/erc/erc-capab hides /usr/share/emacs/23.2/lisp/erc/erc-capab
/usr/share/emacs23/site-lisp/erc/erc-speedbar hides /usr/share/emacs/23.2/lisp/erc/erc-speedbar
/usr/share/emacs23/site-lisp/erc/erc hides /usr/share/emacs/23.2/lisp/erc/erc
/usr/share/emacs23/site-lisp/erc/erc-services hides /usr/share/emacs/23.2/lisp/erc/erc-services
/usr/share/emacs23/site-lisp/erc/erc-truncate hides /usr/share/emacs/23.2/lisp/erc/erc-truncate
/usr/share/emacs23/site-lisp/erc/erc-ring hides /usr/share/emacs/23.2/lisp/erc/erc-ring
/usr/share/emacs23/site-lisp/erc/erc-pcomplete hides /usr/share/emacs/23.2/lisp/erc/erc-pcomplete
/usr/share/emacs23/site-lisp/erc/erc-dcc hides /usr/share/emacs/23.2/lisp/erc/erc-dcc
/usr/share/emacs23/site-lisp/erc/erc-compat hides /usr/share/emacs/23.2/lisp/erc/erc-compat
/usr/share/emacs23/site-lisp/erc/erc-hecomplete hides /usr/share/emacs/23.2/lisp/erc/erc-hecomplete
/usr/share/emacs23/site-lisp/eieio/chart hides /usr/share/emacs/23.2/lisp/emacs-lisp/chart
/usr/share/emacs23/site-lisp/eieio/eieio-custom hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-custom
/usr/share/emacs23/site-lisp/eieio/eieio-base hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-base
/usr/share/emacs23/site-lisp/eieio/eieio-comp hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-comp
/usr/share/emacs23/site-lisp/eieio/eieio-opt hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-opt
/home/grml/.emacs.d/predictive/avl-tree hides /usr/share/emacs/23.2/lisp/emacs-lisp/avl-tree
/usr/share/emacs23/site-lisp/eieio/eieio-speedbar hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-speedbar
/usr/share/emacs23/site-lisp/emms/tq hides /usr/share/emacs/23.2/lisp/emacs-lisp/tq
/usr/share/emacs23/site-lisp/eieio/eieio hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio
/usr/share/emacs23/site-lisp/cedet-common/cedet-files hides /usr/share/emacs/23.2/lisp/cedet/cedet-files
/usr/share/emacs23/site-lisp/semantic/semantic hides /usr/share/emacs/23.2/lisp/cedet/semantic
/usr/share/emacs23/site-lisp/cedet-common/inversion hides /usr/share/emacs/23.2/lisp/cedet/inversion
/usr/share/emacs23/site-lisp/cedet-common/mode-local hides /usr/share/emacs/23.2/lisp/cedet/mode-local
/usr/share/emacs/23.2/site-lisp/ede/ede hides /usr/share/emacs/23.2/lisp/cedet/ede
/usr/share/emacs23/site-lisp/cedet-common/cedet hides /usr/share/emacs/23.2/lisp/cedet/cedet
Features:
(shadow mail-extr emacsbug multi-isearch goto-addr w3m-form w3m-symbol
w3m browse-url w3m-hist w3m-e23 w3m-ccl ccl w3m-fsf w3m-favicon
w3m-image w3m-proc w3m-util mule-util hl-line t-mouse tls erc-menu
erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track
erc-match erc-netsplit erc-log erc-bbdb bbdb-hooks bbdb-gui bbdb-com
warnings eieio-opt help-mode view vc-git org-wl org-w3m org-vm org-rmail
org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp
org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex
org-bbdb org ob-emacs-lisp ob-keys ob-comint comint ring ob-tangle
ob-ref ob-lob ob-table ob org-footnote org-src org-list org-faces
org-compat org-entities org-macs noutline outline xt-mouse server
semantic-el semantic-bovine bovine-debug semantic-debug eieio saveplace
speechd speechd-common emms-volume emms-volume-amixer emms-tag-editor
emms-i18n emms-mark emms-history emms-bookmarks emms-last-played
emms-stream-info emms-metaplaylist-mode emms-lastfm emms-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-util url-parse url-vars emms-browser sort emms-playlist-sort
emms-score emms-player-xine emms-player-mpd tq emms-playing-time
emms-lyrics emms-streams emms-mode-line emms-cache emms-info-ogginfo
emms-info-mp3info emms-info later-do emms-playlist-mode
emms-player-mplayer emms-player-simple emms-source-playlist
emms-source-file emms-setup emms emms-compat cal-china lunar solar
cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs howm-lang-ja
howm-lang-en howm-menu howm-reminder howm-date howm-misc howm-mode
howm-view howm-backend howm howm-common howm-vars howm-version
honest-report action-lock riffle gfunc illusion cheat-font-lock howm-cl
bbdb timezone notmuch notmuch-message notmuch-maildir-fcc notmuch-hello
notmuch-show notmuch-mua notmuch-address notmuch-wash diff-mode coolj
notmuch-query json notmuch-lib message byte-opt ecomplete rfc822 mml
mml-sec mailabbrev nnheader gmm-utils mailheader canlock sha1 hex-util
hashcash mail-utils mm-view smime password-cache dig mm-decode gnus-util
netrc mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp
ietf-drums mm-util time-date mail-prsvr erc-highlight-nicknames
easy-mmode erc-button erc-fill erc-stamp erc-goodies erc erc-backend
erc-compat format-spec thingatpt pp predictive-html auto-overlay-flat
predictive-texinfo predictive-latex predictive-auto-overlay-auto-dict
auto-overlay-nested auto-overlay-self auto-overlay-line
auto-overlay-word predictive timerfunctions auto-overlays
auto-overlay-common dict-tree bytecomp byte-compile trie tNFA queue heap
avl-tree semantic-util-modes semantic-util semantic inversion
semantic-lex semantic-tag semantic-fw mode-local find-func derived assoc
working fame completion-ui-sources completion-ui-menu
completion-ui-tooltip completion-ui-echo completion-ui-hotkeys
completion-ui-dynamic completion-ui-popup-frame completion-ui
color-theme edmacro kmacro wid-edit cl cl-19 sendmail reporter easymenu
dired regexp-opt zone tabify iswitchb w3m-load slime-autoloads
org-install erc-auto emms-auto cedet-autogen advice advice-preload
autoload help-fns bbdb-autoloads preview-latex tex-site auto-loads
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
--
William Gardella
J.D. Candidate
Class of 2011, University of Pittsburgh School of Law
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-13 5:33 bug#7629: 23.2; Remote X Emacsclient Frame Issue William Gardella
@ 2010-12-21 8:07 ` Chong Yidong
2010-12-21 19:57 ` William Gardella
0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2010-12-21 8:07 UTC (permalink / raw
To: William Gardella; +Cc: 7629
William Gardella <gardellawg@gmail.com> writes:
> 6. If I have already closed my remote X emacsclient, the first server
> appears completely unresponsive and cannot be revived with, e.g.,
> emacsclient --eval \(server-start\). All subsequent attempts to
> connect an emacsclient go to the new server process.
I believe this is a known problem with GTK builds of Emacs. GTK cannot
handle disconnections gracefully; see etc/PROBLEMS. In the current
pretest (which will be 23.3), Emacs will handle this by aborting if the
X connection closes.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-21 8:07 ` Chong Yidong
@ 2010-12-21 19:57 ` William Gardella
2010-12-22 22:35 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: William Gardella @ 2010-12-21 19:57 UTC (permalink / raw
To: Chong Yidong; +Cc: 7629
On Tue, 21 Dec 2010 16:07:34 +0800, Chong Yidong <cyd@stupidchicken.com> wrote:
> William Gardella <gardellawg@gmail.com> writes:
>
> > 6. If I have already closed my remote X emacsclient, the first server
> > appears completely unresponsive and cannot be revived with, e.g.,
> > emacsclient --eval \(server-start\). All subsequent attempts to
> > connect an emacsclient go to the new server process.
>
> I believe this is a known problem with GTK builds of Emacs. GTK cannot
> handle disconnections gracefully; see etc/PROBLEMS. In the current
> pretest (which will be 23.3), Emacs will handle this by aborting if the
> X connection closes.
Thank you for your reply--I have an additional piece of information,
discovered through trial and error.
If started locally with my emacsclient -c --alternate-editor="" script,
the Emacs server creates its socket at /tmp/emacs1000/server
If started remotely with the same script, but executed from my netbook
via ssh -X, the Emacs server creates its socket at
/tmp/user/1000/emacs1000/server.
I don't know if this is related to the issue or not, but it does prevent
"emacsclient -c" from finding itself on the host machine unless I
specify --socket-name.
Best,
--
William Gardella
J.D. Candidate
Class of 2011, University of Pittsburgh School of Law
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-21 19:57 ` William Gardella
@ 2010-12-22 22:35 ` Stefan Monnier
2010-12-23 1:58 ` William Gardella
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2010-12-22 22:35 UTC (permalink / raw
To: William Gardella; +Cc: Chong Yidong, 7629
> If started locally with my emacsclient -c --alternate-editor="" script,
> the Emacs server creates its socket at /tmp/emacs1000/server
> If started remotely with the same script, but executed from my netbook
> via ssh -X, the Emacs server creates its socket at
> /tmp/user/1000/emacs1000/server.
Looks like the two ways set the TMPDIR variable differently.
emacsclient (and the server) both obey TMPDIR, so if the TMPDIR is
different, they won't find each other.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-22 22:35 ` Stefan Monnier
@ 2010-12-23 1:58 ` William Gardella
2010-12-29 4:00 ` Chong Yidong
0 siblings, 1 reply; 7+ messages in thread
From: William Gardella @ 2010-12-23 1:58 UTC (permalink / raw
To: Stefan Monnier; +Cc: Chong Yidong, 7629
On Wed, 22 Dec 2010 17:35:58 -0500, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > If started locally with my emacsclient -c --alternate-editor="" script,
> > the Emacs server creates its socket at /tmp/emacs1000/server
>
> > If started remotely with the same script, but executed from my netbook
> > via ssh -X, the Emacs server creates its socket at
> > /tmp/user/1000/emacs1000/server.
>
> Looks like the two ways set the TMPDIR variable differently.
> emacsclient (and the server) both obey TMPDIR, so if the TMPDIR is
> different, they won't find each other.
>
>
> Stefan
The directory issue appears to have something to do with the setting of
the `server-socket-dir' variable. Setting this variable explicitly from
my initialization file prevents the TMPDIR conflict.
--
William Gardella
J.D. Candidate
Class of 2011, University of Pittsburgh School of Law
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-23 1:58 ` William Gardella
@ 2010-12-29 4:00 ` Chong Yidong
2014-02-03 23:46 ` Lars Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2010-12-29 4:00 UTC (permalink / raw
To: William Gardella; +Cc: 7629
William Gardella <gardellawg@gmail.com> writes:
> The directory issue appears to have something to do with the setting of
> the `server-socket-dir' variable. Setting this variable explicitly from
> my initialization file prevents the TMPDIR conflict.
That's because the initialization of server-socket-dir looks for TMPDIR,
so if TMPDIR differ on the two machines, fixing one of them will fix the
conflict.
What I don't understand is the symptoms:
> If I attempt to launch a local emacsclient frame on the host
> machine, after launching an X emacsclient on the remote system,
> emacsclient cannot find the server and launches a fresh emacs
> --daemon.
If TMPDIR is defined locally to /tmp/user/1000/, launching a server
locally and running emacsclient locally should use the same directory.
Is it possible that you're running emacs --daemon prior to TMPDIR being
set?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#7629: 23.2; Remote X Emacsclient Frame Issue
2010-12-29 4:00 ` Chong Yidong
@ 2014-02-03 23:46 ` Lars Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-03 23:46 UTC (permalink / raw
To: Chong Yidong; +Cc: William Gardella, 7629
Chong Yidong <cyd@stupidchicken.com> writes:
> If TMPDIR is defined locally to /tmp/user/1000/, launching a server
> locally and running emacsclient locally should use the same directory.
>
> Is it possible that you're running emacs --daemon prior to TMPDIR being
> set?
More information was requested three years ago, but no further progress
has been made, so I'm closing this bug report. If this problem is still
present, please reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-03 23:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 5:33 bug#7629: 23.2; Remote X Emacsclient Frame Issue William Gardella
2010-12-21 8:07 ` Chong Yidong
2010-12-21 19:57 ` William Gardella
2010-12-22 22:35 ` Stefan Monnier
2010-12-23 1:58 ` William Gardella
2010-12-29 4:00 ` Chong Yidong
2014-02-03 23:46 ` Lars Ingebrigtsen
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.