From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: emacs vs emacs -nw Date: Wed, 31 May 2017 08:34:55 +1000 Message-ID: References: <2F1B5934-A250-4A91-82DA-BE33CDF02DAE@gmail.com> <83efv7ftcz.fsf@gnu.org> <20170530183308.GA71827@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c043626b5d6920550c56963" X-Trace: blaine.gmane.org 1496183754 4786 195.159.176.226 (30 May 2017 22:35:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 22:35:54 +0000 (UTC) Cc: Jean-Christophe Helary , emacs-devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 31 00:35:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFpjv-0000tb-F9 for ged-emacs-devel@m.gmane.org; Wed, 31 May 2017 00:35:47 +0200 Original-Received: from localhost ([::1]:56608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFpk0-0000uH-3P for ged-emacs-devel@m.gmane.org; Tue, 30 May 2017 18:35:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFpj7-0000sk-J3 for emacs-devel@gnu.org; Tue, 30 May 2017 18:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFpj6-0000Zz-Fl for emacs-devel@gnu.org; Tue, 30 May 2017 18:34:57 -0400 Original-Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:34083) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFpj6-0000Zo-BL for emacs-devel@gnu.org; Tue, 30 May 2017 18:34:56 -0400 Original-Received: by mail-qk0-x234.google.com with SMTP id d14so40414845qkb.1 for ; Tue, 30 May 2017 15:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4gEimu8KYZR5ArHZCNdReLU7INCkgVpFZ0Uv2Ip481I=; b=Jn1MkqR2/f8JWHGgtrB3Gje3AeIBdfYjsVxj83/Ll2FewAM7qLVK6KLDVJx4nEdjBo qQOQN43qYVEV8trwoR4BJiXtBkM+55KgOC3pdvgVcQRM2MctzHso9EE4DQ70NwwmCSoo pWcsJwXbA2Fd3urq55McCfzB/flqyuqZjHTkRYZLUmjqxUlbZ3Q95FFjCXlmkmqE/J/Z hdmrhVwJrjlqiarqiWfkC6hWONXjP1D07ctZlixyZlu82/LTfkSkJ+tE/Ofbh/qdnisO b/fyG3SjtfdBup+2AsIgKwTtqVurBZSzUauDUzeD6ihziu8MPfojJEMFUSYwtkptOEjU Ae8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4gEimu8KYZR5ArHZCNdReLU7INCkgVpFZ0Uv2Ip481I=; b=ERrnXKE2MdGubRjxzfGu0SsxoJz+ScmUOgOABMMlbxmjoOwnihxyjFDP3xAWeo0321 smHyve3v2fRIoVLS8ZGDE5s/+YLQoa4iRx/xwadI30JtTH9pVdinpWQoACpUwY7vx8ww 8EtRPGA9dMKYJn2NCxJ+F8PyC057sI7IBAECuIRqbcZ5ynZw4B5AmH6vFDkk0GC9ixfv Y6nnlmfzRWQseSfR38zJnerahzEih40ePrXCmz2WrlKN7VpQHCF05YceLsjDRzKcnBNa uvw7TKLpyQe/3UFugZl1fcVXowhksMflcV8MMaz/7QI4MivJeBrCLTMWgW6ukah9Uvww s+zA== X-Gm-Message-State: AODbwcA9soBy3cDrcpBHer/Ew8nAKw0UD+arj4e7ObzGOT4OJORZYBGB 8BQLQ7JsK3v2wLz8fDvckBgMziP9YA== X-Received: by 10.55.186.132 with SMTP id k126mr15946710qkf.243.1496183695855; Tue, 30 May 2017 15:34:55 -0700 (PDT) Original-Received: by 10.237.62.142 with HTTP; Tue, 30 May 2017 15:34:55 -0700 (PDT) In-Reply-To: <20170530183308.GA71827@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215355 Archived-At: --94eb2c043626b5d6920550c56963 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable While a long shot, also check that the GUI and terminal emacs are the same version. I have seen a situation where emacs was installed from brew using the cask (i.e. emacsforosx binary), which creates Emacs.app but does not create a link for 'emacs'. As a result, when you run GUI via dock you get latest Emacs.app version, but when you run from terminal, you get /usr/bin/emacs (very old emacs 21 or 22, cna't remember). Unlikely, but worth checking. On 31 May 2017 at 04:33, Alan Third wrote: > On Tue, May 30, 2017 at 08:09:58AM +0900, Jean-Christophe Helary wrote: > > > > > On May 30, 2017, at 2:47, Eli Zaretskii wrote: > > > > > >> emacs and emacs -nw seem to have different initialisation > > >> parameters that I can't seem to disable even when I run emacs -Q. > > >> I'd like to have hints for further investigation... > > >> > > >> Practically speaking, emacs in a graphical frame seems to re-bind > > >> a number of org-mode keys while emacs -nw gets the expected > > >> bindings. > > >> > > >> This happens *even* when I run emacs -Q vs emacs -Q -nw > > > > > > On what OS? > > > > macOS. I also get this behavior in Aquamacs. > > Check list/term/ns-win.el. It claims it=E2=80=99s loaded when Emacs detec= ts > that NS windows are going to be used, in which case it might be the > source of your mystery rebindings. > -- > Alan Third > > --=20 regards, Tim -- Tim Cross --94eb2c043626b5d6920550c56963 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
While a long shot, also check that the GUI and terminal em= acs are the same version. I have seen a situation where emacs was installed= from brew using the cask (i.e. emacsforosx binary), which creates Emacs.ap= p but does not create a link for 'emacs'. As a result, when you run= GUI via dock you get latest Emacs.app version, but when you run from termi= nal, you get /usr/bin/emacs (very old emacs 21 or 22, cna't remember). = Unlikely, but worth checking.

On 31 May 2017 at 04:33, Alan Third <= ;alan@idiocy.org&g= t; wrote:
On Tue,= May 30, 2017 at 08:09:58AM +0900, Jean-Christophe Helary wrote:
>
> > On May 30, 2017, at 2:47, Eli Zaretskii <eliz@gnu.org> wrote:
> >
> >> emacs and emacs -nw seem to have different initialisation
> >> parameters that I can't seem to disable even when I run e= macs -Q.
> >> I'd like to have hints for further investigation...
> >>
> >> Practically speaking, emacs in a graphical frame seems to re-= bind
> >> a number of org-mode keys while emacs -nw gets the expected > >> bindings.
> >>
> >> This happens *even* when I run emacs -Q vs emacs -Q -nw
> >
> > On what OS?
>
> macOS. I also get this behavior in Aquamacs.

Check list/term/ns-win.el. It claims it=E2=80=99s loaded when Emacs = detects
that NS windows are going to be used, in which case it might be the
source of your mystery rebindings.
--
Alan Third




--
regards,

Tim

--
Tim Cross

--94eb2c043626b5d6920550c56963--