ergoemacs / ergoemacs-mode

ergoemacs-mode
ergoemacs.github.io/
GNU General Public License v3.0
293 stars 35 forks source link

M-e only deletes one character #306

Closed rongcuid closed 9 years ago

rongcuid commented 10 years ago

I think M-e is said to delete one word, but it only deletes one character on my config. Everything in configuration files about ergoemacs are the following:

; Ergo Emacs 
(add-to-list 'load-path "~/.emacs.d/ergoemacs-mode")                  
(require 'ergoemacs-mode)
(setq ergoemacs-theme "lvl2") ;; Uses Standard Ergoemacs keyboard theme
(ergoemacs-theme-option-off '(apps apps-apps apps-punctuation apps-swap))
(setq ergoemacs-keyboard-layout "us") ;; Assumes QWERTY keyboard layout
(ergoemacs-mode 1)

I don't know what M-e is binded to though.

mattfidler commented 10 years ago

I can't reproduce your behavior.

Did you rebind either <C-backspace> or M-DEL?

You can find out the key by pressing <f1> h k M-e

rongcuid commented 10 years ago

Do you mean C-h k or describe-key? It seems that it does not show what my key is binded to by my configuration, but the default ones. I will post it here anyway:

M-e runs the command forward-sentence, which is an interactive
compiled Lisp function in `paragraphs.el'.

It is bound to M-e.

(forward-sentence &optional ARG)

Move forward to next end of sentence.  With argument, repeat.
With negative argument, move backward repeatedly to start of sentence.

The variable `sentence-end' is a regular expression that matches ends of
sentences.  Also, every paragraph boundary terminates sentences as well.
mattfidler commented 10 years ago

Is ergoemacs-mode enabled? You shoud be able to tell if there ls a menu item or something in the mode-line

rongcuid commented 10 years ago

Yes. Every other key bindings work except M-e

mattfidler commented 10 years ago

Did you change either <C-backspace> or M-DEL ?

rongcuid commented 10 years ago

I don't think so. What information should I provide?

runs the command backward-kill-word, which is an interactive compiled Lisp function in `simple.el'. It is bound to , M-DEL. (backward-kill-word ARG) Kill characters backward until encountering the beginning of a word. With argument ARG, do this that many times. M-DEL (translated from ) runs the command backward-kill-word, which is an interactive compiled Lisp function in `simple.el'. It is bound to , M-DEL. (backward-kill-word ARG) Kill characters backward until encountering the beginning of a word. With argument ARG, do this that many times. On 2014-08-29T12:35:27 EDT, Matthew Fidler wrote: > Did you change either || or |M-DEL| ? > > — > Reply to this email directly or view it on GitHub > https://github.com/ergoemacs/ergoemacs-mode/issues/306#issuecomment-53899704. ## Rongcui Dong
mattfidler commented 10 years ago

Probably your configuration

mattfidler commented 10 years ago

Could you provide your configuration so I can figure out what the issue is?

rongcuid commented 10 years ago

The only config about ergoemacs is: ; Ergo Emacs (add-to-list 'load-path "~/.emacs.d/ergoemacs-mode") (require 'ergoemacs-mode) (setq ergoemacs-theme "lvl2") ;; Uses Standard Ergoemacs keyboard theme (ergoemacs-theme-option-off '(apps apps-apps apps-punctuation apps-swap)) (setq ergoemacs-keyboard-layout "us") ;; Assumes QWERTY keyboard layout (ergoemacs-mode 1)

Looking for overwrite of M-e in other files does not give anything: $ find .emacs.d/ -path '.emacs.d/ergoemacs-mode' -prune -o -type f -exec egrep -H '' {} \; .emacs.d/elpa/markdown-mode-20140819.602/markdown-mode.el:;; \ Movement by Defun: C-M-a, C-M-e, and C-M-h .emacs.d/elpa/markdown-mode-20140819.602/markdown-mode.el:;;
beginning of the current or preceding defun, C-M-e will move .emacs.d/elpa/python-mode-6.1.3/python-mode.el: "When non-nil, keys C-M-a, C-M-e address top-level form. .emacs.d/elpa/python-mode-6.1.3/python-mode.el:
:help "When non-nil, keys C-M-a, C-M-e address top-level form. .emacs.d/elpa/python-mode-6.1.3/python-mode.el:
:help "When non-nil, keys C-M-a, C-M-e address top-level form. .emacs.d/elpa/python-mode-6.1.3/NEWS:- Keys C-M-a, C-M-e usable for all top-level form, lp:1191078 .emacs.d/elpa/python-mode-6.1.3/NEWS:Keys C-M-a, C-M-e usable for all top-level form, lp:1191078 .emacs.d/elpa/python-mode-6.1.3/doc/variables-python-mode.rst:When non-nil, keys C-M-a, C-M-e address top-level form. .emacs.d/elpa/python-mode-6.1.3/doc/variables-python-mode.org: When non-nil, keys C-M-a, C-M-e address top-level form. Binary file .emacs.d/elpa/python-mode-6.1.3/python-mode.elc matches

On 2014-09-06T10:22:16 EDT, Matthew Fidler wrote:

Could you provide your configuration so I can figure out what the issue is?

— Reply to this email directly or view it on GitHub https://github.com/ergoemacs/ergoemacs-mode/issues/306#issuecomment-54713570.

Rongcui Dong

mattfidler commented 10 years ago
; Ergo Emacs 
(add-to-list 'load-path "~/.emacs.d/ergoemacs-mode")                  
(require 'ergoemacs-mode)
(setq ergoemacs-theme "lvl2") ;; Uses Standard Ergoemacs keyboard theme
;;(ergoemacs-theme-option-off '(apps apps-apps apps-punctuation apps-swap))
(setq ergoemacs-keyboard-layout "us") ;; Assumes QWERTY keyboard layout
(ergoemacs-mode 1)

Could you try commenping out the ergoemacs-theme-option-off line?