unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11414: 23.2; Caps lock problem on English-Dvorak layout
@ 2012-05-05 14:45 Gian Fontanilla
  2012-05-08 23:08 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Gian Fontanilla @ 2012-05-05 14:45 UTC (permalink / raw)
  To: 11414

[-- Attachment #1: Type: text/plain, Size: 6583 bytes --]


When switching to the English-Dvorak layout using C-\ or C-x RET C-\ ,
and then turning on caps lock, the following letters do not capitalize:
w, v, z, and s. Other letters capitalize just fine. Moreover, some
secondary punctuation marks appear without pressing the shift key. For
instance, when pressing the semi-colon/colon ';' key, the colon ';'
character appears. The following punctuation keys are affected:
comma/less-than, period/greater-than, and semi-colon/colon. All other
keys in the main typing area of the keyboard do not seem to be
affected. The above error occurs even when running 'emacs -Q' and in all
editable buffers.

Here is a brief overview of the environment. The hardware keyboard used
is a typical US ANSI (QWERTY) keyboard. The operating system is Trisquel
5.0 GNU/Linux with GNOME 2.32.1, with USA as the default keyboard
layout. The GNU Emacs version is 23.2 installed from the
repository. Locale settings are:

LANG=en_PH.UTF-8
LANGUAGE=en
LC_CTYPE="en_PH.UTF-8"
LC_NUMERIC="en_PH.UTF-8"
LC_TIME="en_PH.UTF-8"
LC_COLLATE="en_PH.UTF-8"
LC_MONETARY="en_PH.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_PH.UTF-8"
LC_NAME="en_PH.UTF-8"
LC_ADDRESS="en_PH.UTF-8"
LC_TELEPHONE="en_PH.UTF-8"
LC_MEASUREMENT="en_PH.UTF-8"
LC_IDENTIFICATION="en_PH.UTF-8"
LC_ALL=

Pasted below are details generated using the report-emacs-bug command. I will try to fix the problem myself, but in the meantime, I'm forwarding this bug report.

Thanks,
Gian

In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
 of 2011-04-04 on rothera, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11001000
configured using `configure  '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_PH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  ido-everywhere: t
  show-paren-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
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode view remember
org-remember org-datetree org byte-opt bytecomp byte-compile advice
help-fns advice-preload org-footnote org-src org-list org-faces
org-compat org-macs easymenu time-date noutline outline easy-mmode avoid
ido paren preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting 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 dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)


[-- Attachment #2: Type: text/html, Size: 7085 bytes --]

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

* bug#11414: 23.2; Caps lock problem on English-Dvorak layout
  2012-05-05 14:45 bug#11414: 23.2; Caps lock problem on English-Dvorak layout Gian Fontanilla
@ 2012-05-08 23:08 ` Glenn Morris
  2012-05-09  1:31   ` Glenn Morris
  2012-05-12 17:10   ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2012-05-08 23:08 UTC (permalink / raw)
  To: Gian Fontanilla; +Cc: 11414

Gian Fontanilla wrote:

> When switching to the English-Dvorak layout using C-\ or C-x RET C-\ ,
> and then turning on caps lock, the following letters do not capitalize:
> w, v, z, and s.

So to summarize, with a standard QWERTY English keyboard:

emacs -Q
C-x RET C-\ english-dvorak RET

Now pressing the key labelled "," produces "w" as it should, and
pressing "shift ," (ie, "<") correctly produces "W". This is because
latin-post.el has the correct mapping:

 ("W" ?<)

But when caps-lock is active, pressing "," still generates "," (not "<")
so Emacs still translates it to "w" (not "W").

I don't know if quail has any way to solve this...





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

* bug#11414: 23.2; Caps lock problem on English-Dvorak layout
  2012-05-08 23:08 ` Glenn Morris
@ 2012-05-09  1:31   ` Glenn Morris
  2012-05-12 17:10   ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2012-05-09  1:31 UTC (permalink / raw)
  To: Gian Fontanilla; +Cc: 11414


One thing you can do is redefine your Caps Lock key to be a Shift Lock.
Eg using the following in Xmodmap works for me:

  keycode 66 = Shift_Lock
  add lock = Shift_Lock

I don't know if there is, or should be, an equivalent Emacs-only solution.





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

* bug#11414: 23.2; Caps lock problem on English-Dvorak layout
  2012-05-08 23:08 ` Glenn Morris
  2012-05-09  1:31   ` Glenn Morris
@ 2012-05-12 17:10   ` Stefan Monnier
  2021-08-23 15:09     ` Lars Ingebrigtsen
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2012-05-12 17:10 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Gian Fontanilla, 11414

> emacs -Q
> C-x RET C-\ english-dvorak RET
> Now pressing the key labelled "," produces "w" as it should, and
> pressing "shift ," (ie, "<") correctly produces "W". This is because
> latin-post.el has the correct mapping:
>  ("W" ?<)
> But when caps-lock is active, pressing "," still generates "," (not "<")
> so Emacs still translates it to "w" (not "W").
> I don't know if quail has any way to solve this...

I think that at the Lisp level, the necessary information is not
available, so we'd have to change the C code to provide extra info for
Quail to try and use it.
It's not clear to me how best to do it, so I think it'll have to stay as
one of those "patches welcome" items.


        Stefan





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

* bug#11414: 23.2; Caps lock problem on English-Dvorak layout
  2012-05-12 17:10   ` Stefan Monnier
@ 2021-08-23 15:09     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-23 15:09 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Glenn Morris, 11414, Gian Fontanilla

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I think that at the Lisp level, the necessary information is not
> available, so we'd have to change the C code to provide extra info for
> Quail to try and use it.
> It's not clear to me how best to do it, so I think it'll have to stay as
> one of those "patches welcome" items.

This was nine years ago, but I can still reproduce this issue in Emacs
28, so I guess nobody's implemented this yet.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-08-23 15:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-05 14:45 bug#11414: 23.2; Caps lock problem on English-Dvorak layout Gian Fontanilla
2012-05-08 23:08 ` Glenn Morris
2012-05-09  1:31   ` Glenn Morris
2012-05-12 17:10   ` Stefan Monnier
2021-08-23 15:09     ` Lars Ingebrigtsen

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).