emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: Scott Randby <srandby@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [org] different key binding between GUI emacs and emacs -nw
Date: Wed, 31 May 2017 08:28:31 +1000	[thread overview]
Message-ID: <CAC=50j_9nnwLsEmPCZ69Bj2jVOcfjwiwVDPZM1g6HC1m6VA4tA@mail.gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.20.1705300853160.783@charles-berrys-macbook.local>

[-- Attachment #1: Type: text/plain, Size: 3121 bytes --]

Just add my confirmation that I have no issues with GUI bindings on either
MacOS Sierra with emacs 25.2 and org 9.0.7 or under Linux with Ubuntu 17.04
(same emacs and org versions).

What happens if

1. You use emacs -q and just load the version of org which is bundled with
emacs?
2. you use emacs -q and just load latest org from elpa?

On the mac, I do have

#+BEGIN_SRC emacs-lisp
  (when *is-a-mac*
    (setq mac-command-modifier 'meta)
    (setq mac-option-modifier 'none)
    (setq dired-free-space-program "gdf")
    (setq insert-directory-program "gls")
    (setq default-input-method "MacOSX")
    ;; Make mouse wheel / trackpad scrolling less jerky
    (setq mouse-wheel-scroll-amount '(1 ((shift) . 5)
                                        ((control))))
    (dolist (multiple '("" "double-" "triple-"))
      (dolist (direction '("right" "left"))
        (global-set-key (read-kbd-macro
                         (concat "<" multiple "wheel-" direction ">"))
'ignore)))
    (bind-key "M-'" 'ns-next-frame)
    (bind-key "M-h" 'ns-do-hide-emacs)
    (bind-key "M-`" 'ms-do-hide-others)
    (use-package applescript-mode
      :ensure t
      :mode ("\\.applescript" . applescript-mode))
    (use-package osx-plist
      :ensure t)
    (use-package osx-trash
      :ensure t
      :config (osx-trash-setup)))


#+END_SRC


On 31 May 2017 at 02:49, Charles C. Berry <ccberry@ucsd.edu> wrote:

> On Tue, 30 May 2017, Scott Randby wrote:
>
> On 05/30/2017 08:29 AM, Jean-Christophe Helary wrote:
>>
>>> It is the opposite that's happening. Terminal works fine. It is the GUI
>>> that does not accept the bindings. And as I wrote, it is not limited to
>>> my macOS (Emacs.app and Aquamacs show the same behavior) but to other
>>> people's GTK+ linux or Xubuntu. So it seems that's something that aught
>>> to be investigated and eventually fixed.
>>>
>>
> Not by the org team, I think. As Scott reports:
>
>
>> I have no issues on Xubuntu with Org key bindings. I'm using Emacs
>> 24.5.1 and Org 9.0.3 on Xubuntu 16.04.
>>
>
> I have no issues either on
>
>         macOS Sierra 10.12.5 Emacs.app 25.1.1 Org 9.0.7
>
>
> AFAICS, the GUI Emacs.app runs as advertised and there is nothing wrong
> with Org.  There are a lot of us who use macOS and Org with no issues with
> M-<left/right>, so it is hard to see how this is an org-mode issue.
>
> Some additional data points:
>
> M-<left> promotes and M-<right> demotes headlines using the usual GUI app.
>
> The Terminal is tricky:
>
> In the Terminal using Emacs.app, with Edit Menu - Use Option As Meta Key
> selected:
>
> I get promote/demote if I use S-<Option Key> <left/right> or C-<Option
> Key> <left/right>.
>
> ESC <left/right> runs promote/demote regardless of Option as Meta setting.
>
> <Option Key>-<left/right> runs M-b/f regardless of Option as Meta setting.
>
> Running C-h k <some key combo involving Option> shows that the Terminal
> doesn't see Option as Meta in the way I would expect.
>
> So, if there is a problem on my setup it lies in the Terminal.app or some
> plist that governs it.
>
> HTH,
>
> Chuck
>
>


-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 4914 bytes --]

  reply	other threads:[~2017-05-30 22:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30  6:20 different key binding between GUI emacs and emacs -nw Jean-Christophe Helary
2017-05-30  6:51 ` Nicolas Goaziou
2017-05-30  7:37   ` Jean-Christophe Helary
2017-05-30 12:21     ` Tim Visher
2017-05-30 12:29       ` [org] " Jean-Christophe Helary
2017-05-30 13:29         ` Scott Randby
2017-05-30 16:49           ` Charles C. Berry
2017-05-30 22:28             ` Tim Cross [this message]
2017-05-30 22:44               ` Jean-Christophe Helary
2017-05-31  2:38                 ` Tim Cross
2017-05-31  3:51                   ` Jean-Christophe Helary
2017-05-31  6:20                     ` Jean-Christophe Helary
     [not found]                 ` <08b74f516e674173b7489d0e2e813e83@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-05-31 10:01                   ` Eric S Fraga
2017-05-31 10:19                     ` Jean-Christophe Helary
2017-05-30 13:50         ` Tim Visher

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to='CAC=50j_9nnwLsEmPCZ69Bj2jVOcfjwiwVDPZM1g6HC1m6VA4tA@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).