GNU bug report logs -
#10497
cua mode C-x not working
Previous Next
Reported by: Mike Fitzgerald <mikef656 <at> gmail.com>
Date: Fri, 13 Jan 2012 21:23:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: Mike Fitzgerald <mikef656 <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10497 in the body.
You can then email your comments to 10497 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10497
; Package
emacs
.
(Fri, 13 Jan 2012 21:23:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mike Fitzgerald <mikef656 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 13 Jan 2012 21:23:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From:
mfitzgerald <at> MFITZGERALD-LPT.i-did-not-set--mail-host-address--so-tickle-me
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; cua-mode C-x not working
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your report will be posted to the bug-gnu-emacs <at> gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
1) emacs-q
2) M-x cua-mode
3) C-x b
4) type in some random letters to create a randomly named buffer
5) type in some random letters to create a random word in my new buffer
6) select the new word
7) C-x (expect to cut the selected text)
8) get message in mode line:
'Symbol's function definition is void: cua--register'
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'.
For information about debugging Emacs, please read the file
c:/Users/mfitzgerald/Downloads/emacs-23.3-bin-i386/emacs-23.3/etc/DEBUG.
In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600)
of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 6.1.7600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/imagesupport/include'
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: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
cua-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x c u a - m <tab> <return> C-x b s l d k f j l s
k d j f <return> s l d k f j l s k d j f <return> <up>
<C-S-right> C-x <timeout> <help-echo> <down-mouse-1>
<mouse-1> M-x r e p o r t - b <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Cua mode enabled
cua-cut-region: Symbol's function definition is void: cua--register
Load-path shadows:
None found.
Features:
(shadow sort mail-extr message ecomplete rfc822 mml easymenu mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug cus-start cus-load cua-base
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10497
; Package
emacs
.
(Fri, 13 Jan 2012 21:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10497 <at> debbugs.gnu.org (full text, mbox):
Mike Fitzgerald wrote:
> 1) emacs-q
> 2) M-x cua-mode
> 3) C-x b
> 4) type in some random letters to create a randomly named buffer
> 5) type in some random letters to create a random word in my new buffer
> 6) select the new word
> 7) C-x (expect to cut the selected text)
> 8) get message in mode line:
> 'Symbol's function definition is void: cua--register'
[...]
> In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600)
[...]
> Cua mode enabled
> cua-cut-region: Symbol's function definition is void: cua--register
Thanks for the report, but I cannot reproduce this with Emacs 23.3 on
GNU/Linux. cua--register is a variable, not a function. It's hard to see
how this error could happen. It almost looks like your cua-base.el has
been mis-compiled, since the only reference to cua--register in
cua-cut-region is:
(cond
(cua--register
(copy-to-register cua--register start end t))
...)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10497
; Package
emacs
.
(Fri, 13 Jan 2012 22:17:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 10497 <at> debbugs.gnu.org (full text, mbox):
> Thanks for the report, but I cannot reproduce this with Emacs 23.3 on
> GNU/Linux. cua--register is a variable, not a function. It's
> hard to see
> how this error could happen. It almost looks like your cua-base.el has
> been mis-compiled, since the only reference to cua--register in
> cua-cut-region is:
>
> (cond
> (cua--register
> (copy-to-register cua--register start end t))
> ...)
I couldn't repro it either, and I too see nowhere the value of variable
`cua--register' being called as a function.
Mike sent me a screenshot separately (he originally thought it was a conflict
between Icicles and CUA mode), and in the screenshot there is this error message
in buffer *Messages*:
cua-cut-region: Symbol's function definition is void: cua--register
IOW, it was indeed `cua-cut-region' that tried to invoke `cua--register' as a
function. No idea why.
He's using the 23.3.1 release. Dunno why I cannot repro it using the same
release.
Maybe if he byte-compiles cua-base.el anew the problem will go away...
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10497
; Package
emacs
.
(Sat, 14 Jan 2012 08:40:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 10497 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 13 Jan 2012 15:22:09 -0600
> From: Mike Fitzgerald <mikef656 <at> gmail.com>
>
> 1) emacs-q
Is this a type, and you really invoked "emacs -q"?
Can you try with "emacs -Q" (capital Q)?
> 2) M-x cua-mode
> 3) C-x b
> 4) type in some random letters to create a randomly named buffer
> 5) type in some random letters to create a random word in my new buffer
> 6) select the new word
> 7) C-x (expect to cut the selected text)
> 8) get message in mode line:
> 'Symbol's function definition is void: cua--register'
I cannot reproduce this in that very binary. C-x works as expected
for me in CUA Mode.
Could it be that you have some local customizations which cause this?
Reply sent
to
Mike Fitzgerald <mikef656 <at> gmail.com>
:
You have taken responsibility.
(Sat, 14 Jan 2012 19:18:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mike Fitzgerald <mikef656 <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 14 Jan 2012 19:18:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 10497-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Glenn,
Re-byte compiling seems to have made the issue go away
However it has been a bit random in its appearance.
Seems reasonable to to close the ticket at this time.
Thanks
Mike
On Fri, Jan 13, 2012 at 3:53 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> Mike Fitzgerald wrote:
>
> > 1) emacs-q
> > 2) M-x cua-mode
> > 3) C-x b
> > 4) type in some random letters to create a randomly named buffer
> > 5) type in some random letters to create a random word in my new buffer
> > 6) select the new word
> > 7) C-x (expect to cut the selected text)
> > 8) get message in mode line:
> > 'Symbol's function definition is void: cua--register'
> [...]
> > In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600)
> [...]
> > Cua mode enabled
> > cua-cut-region: Symbol's function definition is void: cua--register
>
> Thanks for the report, but I cannot reproduce this with Emacs 23.3 on
> GNU/Linux. cua--register is a variable, not a function. It's hard to see
> how this error could happen. It almost looks like your cua-base.el has
> been mis-compiled, since the only reference to cua--register in
> cua-cut-region is:
>
> (cond
> (cua--register
> (copy-to-register cua--register start end t))
> ...)
>
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 12 Feb 2012 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 190 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.