bug#3273: 23.0.93; "M" getting bound as prefix key instead of meta?

David Abrahams <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
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 [email protected] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I'm at a loss to explain this, but when I do `M-x remember', shift+M ends
up being used as a prefix key for a few commands:

  ...
  M -             Prefix Command

  <remap> <delete-backward-char>  org-delete-backward-char
  <remap> <delete-char>           org-delete-char
  <remap> <self-insert-command>   org-self-insert-command

  M-TAB           org-complete
  M-RET           org-insert-heading
  M-a             org-forward-sentence
  M-b             org-backward-sentence
  ...

For what it's worth, these changes in org.el have no apparent effect:

  -(define-key org-mode-map "\M-a" 'org-backward-sentence)
  -(define-key org-mode-map "\M-e" 'org-forward-sentence)
  +(define-key org-mode-map [(meta ?b)] 'org-backward-sentence)
  +(define-key org-mode-map [(meta ?a)] 'org-forward-sentence)

Any help you can offer much appreciated.  Thanks!

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'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.


In GNU Emacs 23.0.93.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-05-02 on black.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
  org-remember-mode: t
  show-paren-mode: t
  server-mode: t
  global-auto-revert-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-M-r t M C-g C-g C-h b C-x C-p C-s C-q C-j M = - <backspace> 
<backspace> - C-s C-s C-s C-r C-r C-. C-. C-. C-. C-, 
C-x C-n M-x r g r e p <return> o r g - f o r w M-/ 
<return> * . e l <return> 2 <backspace> e l <tab> 3 
<tab> <M-backspace> <M-backspace> s r c / e l <tab> 
3 <tab> o <tab> <return> C-x C-p C-n C-n C-n C-n C-n 
C-n C-n C-p C-n C-p <return> C-e C-n C-n C-n C-n C-n 
C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-n C-n C-n C-n C-n C-n C-n C-n C-x C-p C-n C-n C-p 
C-p C-p C-n C-n C-n C-e C-p C-e C-, C-, C-, C-, C-, 
C-, C-p C-p C-n C-n C-n C-x C-b M-x r e p o r t - e 
m <tab> <return>

Recent messages:
Loading /Users/dave/elisp/autoload.d/org-agenda-setup...done
Select template: [t] [n]
Use C-c C-c to remember the data.
Quit
Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help.
Mark saved where search started
Scanning for dabbrevs...99%
Grep finished (matches found)
Mark set
Loading vc-git...done

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.