Issue 130 in ergoemacs: Wrong type argument: integer-or-marker-p, curr-prefix

59 views
Skip to first unread message

ergo...@googlecode.com

unread,
May 7, 2013, 8:18:47 AM5/7/13
to ergo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 130 by berdario: Wrong type argument: integer-or-marker-p,
curr-prefix
http://code.google.com/p/ergoemacs/issues/detail?id=130

What steps will reproduce the problem?
Ubuntu 13.04 w/ emacs24, install latest ergoemacs package from MELPA

What is the expected output? What do you see instead?
Emacs is completely borked: you can't even successfully open a file... the
error is displayed in the minibuffer and you're forced to remove ergoemacs
if you want to work

this is the same bug that has been reported here
https://groups.google.com/forum/?fromgroups=#!topic/ergoemacs/xuF3eP0LNBU
but since it hasn't been solved yet, and it can affect everyone who uses
ergoemacs from MELPA, I decided to open this report

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Matthew Fidler

unread,
May 7, 2013, 8:40:37 AM5/7/13
to ergo...@googlegroups.com

Could you post your initialization file so I can try to reproduce this bug. I thought it had been resolved.

You received this message because you are subscribed to the Google Groups "ErgoEmacs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ergoemacs+unsubscribe@googlegroups.com.
To post to this group, send email to ergo...@googlegroups.com.
Visit this group at http://groups.google.com/group/ergoemacs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


ergo...@googlecode.com

unread,
May 7, 2013, 9:10:26 AM5/7/13
to ergo...@googlegroups.com

Comment #1 on issue 130 by xah...@gmail.com: Wrong type argument:
integer-or-marker-p, curr-prefix
http://code.google.com/p/ergoemacs/issues/detail?id=130

if you are desperate, possibly try a earlier version that's not as complex.
you can get it at
http://ergoemacs.org/emacs/ergonomic_emacs_keybinding.html

i tried to reproduce this, from fresh emacs, but wasn't able to reproduce
for me.

Matt might give you a answer. But right now i'm not able to look into.

here's what i did trying to reproduce:

rename your .emacs and .emacs.d to something backup.

create a new ~/.emacs with this content:

(when (>= emacs-major-version 24)
(require 'package)

(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")
t)
)

start emacs, by
emacs &

do list-packages, install ergoemacs.
Then, type Alt+x ergoemacs-mode
to turn it on.

no problem for me though. Does the above cause problem? If not, then it
means the problem arise with perhaps together with something else.

thanks a lot for the report. We want critical errors fixed.
i'm on
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2013-03-11 on
xah-p6813w

ergo...@googlecode.com

unread,
May 7, 2013, 10:28:28 AM5/7/13
to ergo...@googlegroups.com

Comment #2 on issue 130 by berdario: Wrong type argument:
integer-or-marker-p, curr-prefix
http://code.google.com/p/ergoemacs/issues/detail?id=130

yes, the problem is the same also by creating a new emacs profile with your
steps

i'm on
"Gnu Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09
on allspice, modified by Debian"

Matthew Fidler

unread,
May 7, 2013, 10:32:10 AM5/7/13
to ergo...@googlegroups.com
Could you try:

rename your .emacs and .emacs.d to something backup.

create a new ~/.emacs with this content:

(when (>= emacs-major-version 24)
  (require 'package)
  (setq ergoemacs-debug t)
  (setq debug-on-error t)

  (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
  )

start emacs, by
emacs &

do list-packages, install ergoemacs.
Then, type Alt+x ergoemacs-mode
to turn it on.

Then, could you post the value of your *Backtrace* and *Messages* buffers.  That way, I might be able to figure out what is going on.  I don't understand it because I can't reproduce it.


rodf...@gmail.com

unread,
May 17, 2013, 12:05:51 PM5/17/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com

I tried to get the traceback without success... after some time the message "Entering debug.." disapear like if nothing happened...

rodf...@gmail.com

unread,
May 17, 2013, 12:08:05 PM5/17/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
Messages buffer:


Variable: M-o (M-o) -> forward-word [134217839]
Variable: M-U (M-U) -> ergoemacs-backward-block [134217813]
Variable: M-O (M-O) -> ergoemacs-forward-block [134217807]
Variable: M-h (M-h) -> move-beginning-of-line [134217832]
Variable: M-H (M-H) -> move-end-of-line [134217800]
Variable: M-I (M-I) -> scroll-down [134217801]
Variable: M-K (M-K) -> scroll-up [134217803]
Variable: M-n (M-n) -> beginning-of-buffer [134217838]
Variable: M-N (M-N) -> end-of-buffer [134217806]
Variable: M-J (M-J) -> ergoemacs-backward-open-bracket [134217802]
Variable: M-L (M-L) -> ergoemacs-forward-close-bracket [134217804]
Variable: M-y (M-y) -> isearch-forward [134217849]
Variable: M-Y (M-Y) -> isearch-backward [134217817]
Variable: M-p (M-p) -> recenter-top-bottom [134217840]
Variable: M-d (M-d) -> delete-backward-char [134217828]
Variable: M-f (M-f) -> delete-char [134217830]
Variable: M-e (M-e) -> backward-kill-word [134217829]
Variable: M-r (M-r) -> kill-word [134217842]
Variable: M-x (M-x) -> ergoemacs-cut-line-or-region [134217848]
Variable: M-c (M-c) -> ergoemacs-copy-line-or-region [134217827]
Variable: M-v (M-v) -> yank [134217846]
Variable: M-V (M-V) -> yank-pop [134217814]
Variable: M-C (M-C) -> ergoemacs-copy-all [134217795]
Variable: M-X (M-X) -> ergoemacs-cut-all [134217816]
Variable: M-Z (M-Z) -> redo [134217818]
Variable: M-z (M-z) -> undo [134217850]
Variable: M-g (M-g) -> kill-line [134217831]
Variable: M-G (M-G) -> ergoemacs-kill-line-backward [134217799]
Variable: M-S-SPC (M-S-SPC) -> mark-paragraph [167772192]
Variable: M-w (M-w) -> ergoemacs-shrink-whitespaces [134217847]
Variable: M-' (M-') -> comment-dwim [134217767]
Variable: M-? (M-?) -> ergoemacs-toggle-camel-case [134217791]
Variable: M-/ (M-/) -> ergoemacs-toggle-letter-case [134217775]
Variable: M-t (M-t) -> ergoemacs-call-keyword-completion [134217844]
Variable: M-q (M-q) -> ergoemacs-compact-uncompact-block [134217841]
Variable: <escape> (<escape>) -> keyboard-quit [escape]
Variable: M-SPC (M-SPC) -> set-mark-command [134217760]
Variable: M-a (M-a) -> execute-extended-command [134217825]
Variable: M-A (M-A) -> shell-command [134217793]
Variable: M-s (M-s) -> ergoemacs-move-cursor-next-pane [134217843]
Variable: M-S (M-S) -> ergoemacs-move-cursor-previous-pane [134217811]
Variable: M-~ (M-~) -> ergoemacs-switch-to-previous-frame [134217854]
Variable: M-` (M-`) -> ergoemacs-switch-to-next-frame [134217824]
Variable: M-5 (M-5) -> query-replace [134217781]
Variable: M-% (M-%) -> query-replace-regexp [134217765]
Variable: M-3 (M-3) -> delete-other-windows [134217779]
Variable: M-2 (M-2) -> delete-window [134217778]
Variable: M-4 (M-4) -> split-window-vertically [134217780]
Variable: M-$ (M-$) -> split-window-horizontally [134217764]
Variable: M-8 (M-8) -> ergoemacs-extend-selection [134217784]
Variable: M-* (M-*) -> ergoemacs-select-text-in-quote [134217770]
Variable: M-6 (M-6) -> ergoemacs-select-current-block [134217782]
Variable: M-7 (M-7) -> ergoemacs-select-current-line [134217783]
Variable: <C-home> (<C-home>) -> beginning-of-buffer [C-home]
Variable: <C-end> (<C-end>) -> end-of-buffer [C-end]
Variable: <apps> j (<apps> j) -> ergoemacs-ctl-c [apps 106]
Variable: <apps> u (<apps> u) -> ergoemacs-ctl-c-unchorded [apps 117]
Variable: <apps> f (<apps> f) -> ergoemacs-ctl-x [apps 102]
Variable: <apps> r (<apps> r) -> ergoemacs-ctl-x-unchorded [apps 114]
Variable: <apps> h (<apps> h) -> ergoemacs-ctl-h [apps 104]
Variable: <apps> y (<apps> y) -> ergoemacs-ctl-h-unchorded [apps 121]
Variable: <apps> m (<apps> m) -> ergoemacs-ctl-c-ctl-c [apps 109]
Variable: <apps> SPC (<apps> SPC) -> set-mark-command [apps 32]
Variable: <apps> k (<apps> k) -> ergoemacs-alt-keys [apps 107]
Variable: <apps> i (<apps> i) -> ergoemacs-alt-shift-keys [apps 105]
Variable: <apps> <return> (<apps> <return>) -> ergoemacs-smex-if-exists [apps return]
Ergoemacs Keys have loaded.
CUA rectangle modifier wasn't changed.
Cua mode enabled
byte-code: Buffer is read-only: #<buffer *GNU Emacs*>
hook: keyboard-quit->[escape] minibuffer-keyboard-quit nil
hook: previous-line->[134217833] previous-history-element nil
hook: next-line->[134217835] next-history-element nil
hook: <f11>->[f11] previous-history-element nil
hook: <f12>->[f12] next-history-element nil
hook: S-<f11>->[S-f11] previous-matching-history-element nil
hook: S-<f12>->[S-f12] next-matching-history-element nil
Quit [3 times]
hook: keyboard-quit->[escape] minibuffer-keyboard-quit nil
hook: previous-line->[134217833] previous-history-element nil
hook: next-line->[134217835] next-history-element nil
hook: <f11>->[f11] previous-history-element nil
hook: <f12>->[f12] next-history-element nil
hook: S-<f11>->[S-f11] previous-matching-history-element nil
hook: S-<f12>->[S-f12] next-matching-history-element nil
Making completion list...
Entering debugger...

Wrong type argument: integer-or-marker-p, curr-prefix
Making completion list...
Entering debugger...

Wrong type argument: integer-or-marker-p, curr-prefix
Making completion list...
Entering debugger...

Wrong type argument: integer-or-marker-p, curr-prefix
Making completion list...
Entering debugger...

Wrong type argument: integer-or-marker-p, curr-prefix
Quit [9 times]
setq: Beginning of buffer [2 times]
read-from-minibuffer: Buffer is read-only: #<buffer *GNU Emacs*>



On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

rodf...@gmail.com

unread,
May 17, 2013, 12:09:46 PM5/17/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
There are no *Backtrace* buffer...


On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

Matthew Fidler

unread,
May 17, 2013, 6:07:34 PM5/17/13
to ergo...@googlegroups.com

try the *messages* buffer

You received this message because you are subscribed to the Google Groups "ErgoEmacs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ergoemacs+...@googlegroups.com.

rodf...@gmail.com

unread,
May 17, 2013, 8:41:02 PM5/17/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

Matthew Fidler

unread,
May 18, 2013, 12:15:33 AM5/18/13
to ergo...@googlegroups.com

Thanks.  Its a bit closer to a solution.

Are there any site lisp packages that are loaded?  It seems to be querying if you entered a command with a prefix...

rodf...@gmail.com

unread,
May 18, 2013, 10:06:42 AM5/18/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
No, I did exactly what you said.. a new environment with just ergoemacs..

Did you see the image I post before? when I run M-a and write hi<tab> the problem happen.

regards,
Rodrigo


On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

Matthew Fidler

unread,
May 18, 2013, 2:43:58 PM5/18/13
to ergo...@googlegroups.com

I will test it in windows when I get a chance. Thanks.

rodf...@gmail.com

unread,
May 18, 2013, 7:32:20 PM5/18/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
Ok Mathew, but I'm using Ubuntu 12.10

Regards,

Rodrigo

On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

Matthew Fidler

unread,
May 20, 2013, 1:40:27 PM5/20/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com, rodf...@gmail.com
Ok.  I finally reproduced in in Emacs 24.1.  It doesn't complain in emacs 24.3

Matthew Fidler

unread,
May 20, 2013, 3:21:49 PM5/20/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com, rodf...@gmail.com
Ok.  I posted some fixes that should resolve this issue.  I don't have Ubuntu, but you can check to see if the latest version works well.

ergo...@googlecode.com

unread,
May 20, 2013, 3:23:58 PM5/20/13
to ergo...@googlegroups.com

Comment #3 on issue 130 by matthew....@gmail.com: Wrong type argument:
integer-or-marker-p, curr-prefix
http://code.google.com/p/ergoemacs/issues/detail?id=130

I believe this has been fixed.

rodf...@gmail.com

unread,
May 20, 2013, 7:06:33 PM5/20/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
Hi Matthew,

Is the fixes already into melpa? if yes, didn't work here.

Since now thanks,

Rodrigo

On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

Matthew Fidler

unread,
May 20, 2013, 7:27:44 PM5/20/13
to ergo...@googlegroups.com

If it has the exact same error, then it hasn't updated.

What's the error and what exactly is the version of emacs that you are using.  24.1?

rodf...@gmail.com

unread,
May 21, 2013, 8:42:00 AM5/21/13
to ergo...@googlegroups.com
Hi Matthew,

Here at work ergoemacs is working fine.. I'll try again at home tonight.

Thanks,
Rodrigo

rodf...@gmail.com

unread,
May 21, 2013, 8:36:45 PM5/21/13
to ergo...@googlegroups.com, codesite...@google.com, ergo...@googlecode.com
Good evening Matthew,

Now Ergoemacs is working fine at home too (I deleted the previous install into elpa directory).

Thank you very much for your attention!


Rodrigo

On Tuesday, May 7, 2013 9:18:47 AM UTC-3, ergo...@googlecode.com wrote:

ergo...@googlecode.com

unread,
May 22, 2013, 8:57:15 AM5/22/13
to ergo...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 130 by matthew....@gmail.com: Wrong type argument:
integer-or-marker-p, curr-prefix
http://code.google.com/p/ergoemacs/issues/detail?id=130

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages