From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Guillaume J. Charmes" Newsgroups: gmane.emacs.bugs Subject: bug#17857: 24.3; terminal issue on darwin/emacsclient Date: Thu, 26 Jun 2014 12:28:52 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb04dd26e37cd04fcbfb18d X-Trace: ger.gmane.org 1403800959 11690 80.91.229.3 (26 Jun 2014 16:42:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2014 16:42:39 +0000 (UTC) To: 17857@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 26 18:42:32 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X0Ckk-00069F-K2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 18:42:26 +0200 Original-Received: from localhost ([::1]:45987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Ckk-0006RK-8W for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 12:42:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CkX-0006Qo-Ms for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:42:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0CkN-0000LZ-Md for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:42:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CkN-0000LK-KK for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X0CkN-0000x1-1X for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:42:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Guillaume J. Charmes" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jun 2014 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14038009143628 (code B ref -1); Thu, 26 Jun 2014 16:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2014 16:41:54 +0000 Original-Received: from localhost ([127.0.0.1]:33914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0Ck9-0000wJ-2B for submit@debbugs.gnu.org; Thu, 26 Jun 2014 12:41:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56183) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0CYY-0000ME-Lo for submit@debbugs.gnu.org; Thu, 26 Jun 2014 12:29:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0CYJ-0004Yy-9L for submit@debbugs.gnu.org; Thu, 26 Jun 2014 12:29:45 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CYJ-0004Yo-7F for submit@debbugs.gnu.org; Thu, 26 Jun 2014 12:29:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CYA-0000jl-IR for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:29:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0CY1-0004VP-UQ for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:29:26 -0400 Original-Received: from mail-we0-f174.google.com ([74.125.82.174]:46861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0CY1-0004V6-L6 for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:29:17 -0400 Original-Received: by mail-we0-f174.google.com with SMTP id u57so4034105wes.19 for ; Thu, 26 Jun 2014 09:29:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=i9ESRtjeblMVwndseaD44qNg+dYBuivHyO9xCkWYlCI=; b=FQL8HdKjm0tSXbiJzbWUe69URVPNds2PHngDzqEMSHtB3DbKVlSOr20LAgRYzW62+B raadlVayjBFo1GXUmnqLrtrY7o44gM2YxIGsNIB4yLRJRQkOebn2mqKO7tV9LryCJiML a56xc0HaDIKLoay+PZDrlt2frgbhHy2vOd8AdicqyXjrimY3sjIOx6GiLbnBmxCTR6A7 13qJ6SHCUS/G3+agjIK89JaCG8p5L+k2xe2sTpZGJQqnKpd7iRlhtTGPXNAHoak1fKKu P3zjvscc5h5BIG99sKd4NVSsrddw5jcrVKShH42W/tcng23sHpvOwQTM/GntdeD+buCh zyDA== X-Gm-Message-State: ALoCoQm6Bar06eE+5DGgYoW8cq5BOTteDon8GEyRn48acFb5ShAIR5xHO9+zAj7pX6SxiKUHrkhI X-Received: by 10.194.186.178 with SMTP id fl18mr18609717wjc.83.1403800152571; Thu, 26 Jun 2014 09:29:12 -0700 (PDT) Original-Received: by 10.216.146.4 with HTTP; Thu, 26 Jun 2014 09:28:52 -0700 (PDT) X-Originating-IP: [23.29.105.96] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 26 Jun 2014 12:41:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90847 Archived-At: --047d7bb04dd26e37cd04fcbfb18d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, On OSX, with emacs 24.3, the terminal management as issue with emacsclient. Simple case: Start emacs server, start a client, enable xterm-mouse-mode, ctrl-z, open an other client, enable xterm-mouse-mode, emacs will tell you that the terminal is suspended and will refuse to enable it. Very anoying to be able to have the mouse support only on one instance of emacsclient. Where it start to be a real blocking issue: (xterm-mouse-mode t) in .emacs will fail with emacsclient, as a workaround, I use this: (add-hook 'after-make-frame-functions ' (lambda (frame) (unless window-system (xterm-mouse-mode)))) which works fine. However, due to the suspended bug, if I have one emacsclient suspended, I any new emacsclient will crash at sartup and mess with the terminal. In GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0) of 2014-06-02 on Guillaumes-MacBook-Pro.local Configured using: `configure '--prefix=3D/usr/local/Cellar/emacs/24.3' '--without-dbus' '--enable-locallisppath=3D/usr/local/share/emacs/site-lisp' '--infodir=3D/usr/local/Cellar/emacs/24.3/share/info/emacs' '--without-gnutls' '--without-x' 'CC=3Dclang'' Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: xterm-mouse-mode: t show-paren-mode: t winner-mode: t global-hl-line-mode: t global-linum-mode: t linum-mode: t global-flycheck-mode: t global-auto-complete-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-x 3 DEL DEL C-x 3 ESC [ < 0 ; 3 2 0 ; 5 2 M ESC [ < 0 ; 3 2 0 ; 5 2 m ESC [ < 0 ; 2 1 5 ; 3 4 M ESC [ < 0 ; 2 1 5 ; 3 4 m ESC [ < 0 ; 1 6 2 ; 2 9 M ESC [ < 0 ; 1 6 1 ; 2 9 m ESC [ < 0 ; 1 4 4 ; 2 7 M ESC [ < 0 ; 1 4 4 ; 2 7 m ESC x r e p o TAB r TAB RET Recent messages: ("emacs") Starting Emacs daemon. Loading term/xterm...done a has auto save data; consider M-x recover-this-file Loading vc-git...done When done with a buffer, type C-x # delete-backward-char: Beginning of buffer Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils vc-git image xt-mouse server advice advice-preload solarized-dark-theme solarized-definitions paren ido winner hl-line linum flycheck pcase easy-mmode find-func help-mode easymenu rx f dash s jka-compr sh-script smie executable package compile comint regexp-opt ansi-color tool-bar auto-complete-config go-autocomplete auto-complete popup go-eldoc thingatpt go-mode cl-macs gv derived url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap find-file ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util time-date mm-util mail-prsvr password-cache url-vars etags ring cl eldoc help-fns cl-lib edmacro kmacro go-mode-load mouse ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer 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 minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) =E2=80=94 Guillaume J. Charmes --047d7bb04dd26e37cd04fcbfb18d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

On OSX, with emacs 24= .3, the terminal management as issue with
emacsclient.
=
Simple case: Start emacs server, start a client, enable
xterm-mouse-mode, ctrl-z, open an other client, enable xterm-mouse-mod= e,
emacs will tell you that the terminal is suspended and will re= fuse to
enable it.

Very anoying to be ab= le to have the mouse support only on one instance
of emacsclient.

Where it start to be a real b= locking issue:

(xterm-mouse-mode t) in .emacs will= fail with emacsclient, as a
workaround, I use this:
(add-hook 'after-make-frame-functions '
=C2=A0(lambda (frame) (unless window-sys= tem (xterm-mouse-mode))))
which works fine.

<= div> However, due to the suspended bug, if I have one
emacsclient suspended, I any new emacsclient will crash at sartup and<= /div>
mess with the terminal.


I= n GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0)
of 2014-06-02 on G= uillaumes-MacBook-Pro.local
Configured using:
`configure '--prefix=3D/usr/local/Cell= ar/emacs/24.3' '--without-dbus'
'--enable-localli= sppath=3D/usr/local/share/emacs/site-lisp'
'--infodir=3D/= usr/local/Cellar/emacs/24.3/share/info/emacs'
'--without-gnutls' '--without-x' 'CC=3Dclang'&= #39;

Important settings:
=C2=A0 value of= $LC_CTYPE: en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
<= div>=C2=A0 locale-coding-system: utf-8-unix
=C2=A0 default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
=C2=A0 xterm-mouse-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 winner-mode: t
=C2=A0 global-hl-line-mode: t
=C2=A0 global-linum-mode: t
=C2=A0 linum-mode: t
=C2=A0 global-flycheck-mode: t
=
=C2=A0 global-auto-complete-mode: t
=C2=A0 file-name-shadow-= mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mod= e: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mo= de: t
=C2=A0 transient-mark-mode: t

Recent input:
C-x C-x 3 DEL DEL C-x 3 ESC [ &= lt; 0 ; 3 2 0 ; 5 2 M ESC=C2=A0
[ < 0 ; 3 2 0 ; 5 2 m ESC [ &l= t; 0 ; 2 1 5 ; 3 4 M ESC=C2=A0
[ < 0 ; 2 1 5 ; 3 4 m ESC [ <= ; 0 ; 1 6 2 ; 2 9 M ESC=C2=A0
[ < 0 ; 1 6 1 ; 2 9 m ESC [ < 0 ; 1 4 4 ; 2 7 M ESC=C2=A0
<= div>[ < 0 ; 1 4 4 ; 2 7 m ESC x r e p o TAB r TAB RET

Recent messages:
("emacs")
Starting Em= acs daemon.
Loading term/xterm...done
a has auto save data; consider M-x= recover-this-file
Loading vc-git...done
When done with= a buffer, type C-x #
delete-backward-char: Beginning of buffer
Making completion list...

Load-path shadows:<= /div>
None found.

Features:
(shadow = sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
=
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils vc-git image=
xt-mouse server advice advice-preload solarized-dark-theme
solarized-definitions paren ido winner hl-line linum flycheck pcase
easy-mmode find-func help-mode easymenu rx f dash s jka-compr sh-sc= ript
smie executable package compile comint regexp-opt ansi-color= tool-bar
auto-complete-config go-autocomplete auto-complete popup go-eldoc
thingatpt go-mode cl-macs gv derived url url-proxy url-privacy
<= div>url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap find-file ffap url-parse auth-source eieio byte-opt bytecomp
byte-compile cconv gnus-util time-date mm-util mail-prsvr password= -cache
url-vars etags ring cl eldoc help-fns cl-lib edmacro kmacr= o go-mode-load
mouse ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lo= ck
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 minibuffer loadde= fs
button faces cus-face macroexp files text-properties overlay sha1 md5<= /div>
base64 format env code-pages mule custom widget hashtable-print-r= eadable
backquote make-network-process multi-tty emacs)


=E2=80=94=C2=A0
Guillaume J. C= harmes
--047d7bb04dd26e37cd04fcbfb18d--