* bug#10497: cua mode C-x not working
@ 2012-01-13 21:22 Mike Fitzgerald
2012-01-13 21:53 ` Glenn Morris
2012-01-14 8:38 ` Eli Zaretskii
0 siblings, 2 replies; 5+ messages in thread
From: Mike Fitzgerald @ 2012-01-13 21:22 UTC (permalink / raw
To: 10497
[-- Attachment #1: Type: text/plain, Size: 3632 bytes --]
From:
mfitzgerald@MFITZGERALD-LPT.i-did-not-set--mail-host-address--so-tickle-me
To: bug-gnu-emacs@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@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)
[-- Attachment #2: Type: text/html, Size: 4301 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10497: cua mode C-x not working
2012-01-13 21:22 bug#10497: cua mode C-x not working Mike Fitzgerald
@ 2012-01-13 21:53 ` Glenn Morris
2012-01-13 22:15 ` Drew Adams
2012-01-14 15:41 ` Mike Fitzgerald
2012-01-14 8:38 ` Eli Zaretskii
1 sibling, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2012-01-13 21:53 UTC (permalink / raw
To: Mike Fitzgerald; +Cc: 10497
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))
...)
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10497: cua mode C-x not working
2012-01-13 21:53 ` Glenn Morris
@ 2012-01-13 22:15 ` Drew Adams
2012-01-14 15:41 ` Mike Fitzgerald
1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2012-01-13 22:15 UTC (permalink / raw
To: 'Glenn Morris', 'Mike Fitzgerald'; +Cc: 10497
> 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...
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10497: cua mode C-x not working
2012-01-13 21:53 ` Glenn Morris
2012-01-13 22:15 ` Drew Adams
@ 2012-01-14 15:41 ` Mike Fitzgerald
1 sibling, 0 replies; 5+ messages in thread
From: Mike Fitzgerald @ 2012-01-14 15:41 UTC (permalink / raw
To: Glenn Morris
[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]
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@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))
> ...)
>
[-- Attachment #2: Type: text/html, Size: 1594 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#10497: cua mode C-x not working
2012-01-13 21:22 bug#10497: cua mode C-x not working Mike Fitzgerald
2012-01-13 21:53 ` Glenn Morris
@ 2012-01-14 8:38 ` Eli Zaretskii
1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2012-01-14 8:38 UTC (permalink / raw
To: Mike Fitzgerald; +Cc: 10497
> Date: Fri, 13 Jan 2012 15:22:09 -0600
> From: Mike Fitzgerald <mikef656@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?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-14 15:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 21:22 bug#10497: cua mode C-x not working Mike Fitzgerald
2012-01-13 21:53 ` Glenn Morris
2012-01-13 22:15 ` Drew Adams
2012-01-14 15:41 ` Mike Fitzgerald
2012-01-14 8:38 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.