unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4931: cua-selection-mode with Caps Lock turned on selects region
@ 2009-11-16  0:16 Deniz Dogan
  2010-04-21 22:05 ` bug#4931: Deniz Dogan
  2016-06-05  2:51 ` Noam Postavsky
  0 siblings, 2 replies; 8+ messages in thread
From: Deniz Dogan @ 2009-11-16  0:16 UTC (permalink / raw)
  To: emacs-pretest-bug

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 emacs-pretest-bug@gnu.org mailing list.

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

When I have cua-selection-mode turned on at the same time as Caps
Lock, Emacs starts selecting a region when I move point as if I were
holding shift.

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
/home/deniz/usr/share/emacs/23.1.50/etc/DEBUG for instructions.


In GNU Emacs 23.1.50.3 (i686-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-08-23 on stalin
Windowing system distributor `The X.Org Foundation', version 11.0.10701000
configured using `configure  '--without-rsvg' '--without-tiff'
'--without-xpm' '--prefix=/home/deniz/usr''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: rcirc

Minor modes in effect:
  shell-dirtrack-mode: t
  rcirc-track-minor-mode: t
  global-auto-complete-mode: t
  cua-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: 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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> C-t o C-a C-p
C-p C-p C-p C-p C-p C-p C-l C-l C-l C-l C-p C-p M-v
M-v M-v C-v C-s s h i f t C-s C-s C-s C-s C-s C-r C-r
C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r
C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r C-r
C-r C-r C-s C-s <return> C-a C-n C-n C-n C-n C-n C-n
C-l C-n C-n C-n C-l C-p C-l C-n C-n C-n C-n C-l C-n
C-l C-n C-l C-n C-n C-n C-l C-p M-p M-p M-n M-n M-p
C-l C-l C-n C-n C-n C-n C-n C-n C-n C-n 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-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-t
o C-c C-SPC C-t C-n a n n a r s SPC d å SPC s t a r
<tab> <return> C-t o C-c C-SPC C-t C-n C-t k <return>
C-t o C-t o C-t o SPC v
a <backspace> <backspace> <return> C-t o C-t C-n C-t
C-n C-t C-n C-- C-l C-t C-n C-t o C-h c C-g C-h f M-x
r C-g M-x r e p o r t - b u f <tab> <backspace> <tab>
<return>

Recent messages:
uncompressing cua-base.el.gz...done
mouse-2, RET: find function's definition
Mark saved where search started
uncompressing crisp.el.gz...done
Quit
Searching for `todo'....
Quit
Mark saved where search started
C-g runs the command keyboard-quit
Quit [2 times]

Load-path shadows:
~/.emacs.d/newsticker/newst-ticker hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newst-ticker
~/.emacs.d/newsticker/newst-reader hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newst-reader
~/.emacs.d/newsticker/newsticker hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newsticker
~/.emacs.d/newsticker/newst-plainview hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newst-plainview
~/.emacs.d/newsticker/newst-backend hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newst-backend
~/.emacs.d/newsticker/newst-treeview hides
/home/deniz/usr/share/emacs/23.1.50/lisp/net/newst-treeview





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931:
  2009-11-16  0:16 bug#4931: cua-selection-mode with Caps Lock turned on selects region Deniz Dogan
@ 2010-04-21 22:05 ` Deniz Dogan
  2010-04-22 17:33   ` bug#4931: cua-selection-mode with Caps Lock turned on selects region Chong Yidong
  2016-06-05  2:51 ` Noam Postavsky
  1 sibling, 1 reply; 8+ messages in thread
From: Deniz Dogan @ 2010-04-21 22:05 UTC (permalink / raw)
  To: 4931

To reproduce:

1. Turn on cua-selection-mode.
2. Turn on caps lock.
3. Move point and notice how a region is being selected.

Still can't reproduce it?






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2010-04-21 22:05 ` bug#4931: Deniz Dogan
@ 2010-04-22 17:33   ` Chong Yidong
  2010-04-22 20:12     ` Deniz Dogan
  0 siblings, 1 reply; 8+ messages in thread
From: Chong Yidong @ 2010-04-22 17:33 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: 4931

Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:

> To reproduce:
>
> 1. Turn on cua-selection-mode.
> 2. Turn on caps lock.
> 3. Move point and notice how a region is being selected.
>
> Still can't reproduce it?

Nope (you didn't specify `emacs -Q', but I assume you've tested with
it).  Maybe you've done something wrong with your .Xmodmap, or your
keyboard is faulty.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2010-04-22 17:33   ` bug#4931: cua-selection-mode with Caps Lock turned on selects region Chong Yidong
@ 2010-04-22 20:12     ` Deniz Dogan
  2011-03-03  7:36       ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Deniz Dogan @ 2010-04-22 20:12 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 4931

2010/4/22 Chong Yidong <cyd@stupidchicken.com>:
> Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
>
>> To reproduce:
>>
>> 1. Turn on cua-selection-mode.
>> 2. Turn on caps lock.
>> 3. Move point and notice how a region is being selected.
>>
>> Still can't reproduce it?
>
> Nope (you didn't specify `emacs -Q', but I assume you've tested with
> it).  Maybe you've done something wrong with your .Xmodmap, or your
> keyboard is faulty.
>

It seems that when using the arrow keys to move point, no region
becomes selected. When using next-line and previous-line for example,
the region does become selected.

I'm using an Emacs build with no special configuration on Arch Linux
if that matters.

-- 
Deniz Dogan






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2010-04-22 20:12     ` Deniz Dogan
@ 2011-03-03  7:36       ` Glenn Morris
  2011-03-03  7:54         ` Deniz Dogan
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2011-03-03  7:36 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: 4931


Are you using KDE?

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7637





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2011-03-03  7:36       ` Glenn Morris
@ 2011-03-03  7:54         ` Deniz Dogan
  0 siblings, 0 replies; 8+ messages in thread
From: Deniz Dogan @ 2011-03-03  7:54 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 4931

2011/3/3 Glenn Morris <rgm@gnu.org>:
>
> Are you using KDE?
>
> See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7637
>

I was not using KDE at the time. I was using XMonad without a DE.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2009-11-16  0:16 bug#4931: cua-selection-mode with Caps Lock turned on selects region Deniz Dogan
  2010-04-21 22:05 ` bug#4931: Deniz Dogan
@ 2016-06-05  2:51 ` Noam Postavsky
  2016-06-05  8:10   ` Vincent Lefevre
  1 sibling, 1 reply; 8+ messages in thread
From: Noam Postavsky @ 2016-06-05  2:51 UTC (permalink / raw)
  To: 4931; +Cc: Deniz Dogan, Mitja Uršič, Vincent Lefevre

merge 4931 7637 17781
severity 4931 minor
quit

I see this too (Arch Linux, i3wm, no keyboard customizations that I
know of). I see characters being translated to upper case in xev as
well.

In GNU Emacs 25.0.94.6 (x86_64-unknown-linux-gnu, X toolkit)
 of 2016-06-04 built on zony
Repository revision: 7eb3bd56d0f0410d5053ee01f4b458d868682df6
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
Configured using:
 'configure --cache-file=../debug-config.cache 'CFLAGS=-Og -g3
 -march=native' --enable-checking --with-x-toolkit=lucid
 --without-toolkit-scroll-bars --with-gif=no --with-jpeg=no'

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565199223, (-125,284), root:(679,322),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XLookupString gives 1 bytes: (78) "x"
    XmbLookupString gives 1 bytes: (78) "x"
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565199335, (-125,284), root:(679,322),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XLookupString gives 1 bytes: (78) "x"
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565201384, (-125,284), root:(679,322),
    state 0x0, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565201449, (-125,284), root:(679,322),
    state 0x2, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565202637, (-125,284), root:(679,322),
    state 0x2, keycode 53 (keysym 0x58, X), same_screen YES,
    XLookupString gives 1 bytes: (58) "X"
    XmbLookupString gives 1 bytes: (58) "X"
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
    root 0x95, subw 0x0, time 565202715, (-125,284), root:(679,322),
    state 0x2, keycode 53 (keysym 0x58, X), same_screen YES,
    XLookupString gives 1 bytes: (58) "X"
    XFilterEvent returns: False

~$ setxkbmap -query -v
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
rules:      evdev
model:      pc105
layout:     us





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4931: cua-selection-mode with Caps Lock turned on selects region
  2016-06-05  2:51 ` Noam Postavsky
@ 2016-06-05  8:10   ` Vincent Lefevre
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent Lefevre @ 2016-06-05  8:10 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Deniz Dogan, 4931, Mitja Uršič

On 2016-06-04 22:51:18 -0400, Noam Postavsky wrote:
> I see this too (Arch Linux, i3wm, no keyboard customizations that I
> know of). I see characters being translated to upper case in xev as
> well.

What matters for Control + letters is the state.
  1 = Shift
  2 = Caps_Lock

With Control (4), this will give 5 and 6 respectively.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-05  8:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16  0:16 bug#4931: cua-selection-mode with Caps Lock turned on selects region Deniz Dogan
2010-04-21 22:05 ` bug#4931: Deniz Dogan
2010-04-22 17:33   ` bug#4931: cua-selection-mode with Caps Lock turned on selects region Chong Yidong
2010-04-22 20:12     ` Deniz Dogan
2011-03-03  7:36       ` Glenn Morris
2011-03-03  7:54         ` Deniz Dogan
2016-06-05  2:51 ` Noam Postavsky
2016-06-05  8:10   ` Vincent Lefevre

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).