* can't type upper case letters ?
@ 2009-10-29 7:59 black
2009-10-29 8:03 ` black
0 siblings, 1 reply; 4+ messages in thread
From: black @ 2009-10-29 7:59 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
hi all,
i'm using emacs under windows recently, i'm stuck now and have no idea how
to type upper case letters, capslock key doesn't work.
any help pls ???
Black Qin
--
Never end on learning~
[-- Attachment #2: Type: text/html, Size: 292 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't type upper case letters ?
2009-10-29 7:59 black
@ 2009-10-29 8:03 ` black
2009-10-29 8:10 ` black
0 siblings, 1 reply; 4+ messages in thread
From: black @ 2009-10-29 8:03 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
just found this post:
http://osdir.com/ml/bug-gnu-emacs-gnu/2009-03/msg00149.html
does it mean it is a bug under windows and currently have no solution ?
Black Qin
On Thu, Oct 29, 2009 at 3:59 PM, black <quiteblack@gmail.com> wrote:
> hi all,
>
> i'm using emacs under windows recently, i'm stuck now and have no idea how
> to type upper case letters, capslock key doesn't work.
> any help pls ???
>
> Black Qin
>
> --
> Never end on learning~
>
--
Never end on learning~
[-- Attachment #2: Type: text/html, Size: 958 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't type upper case letters ?
2009-10-29 8:03 ` black
@ 2009-10-29 8:10 ` black
0 siblings, 0 replies; 4+ messages in thread
From: black @ 2009-10-29 8:10 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
i got it.
"caps lock" key will work only if u disable "scroll lock" key.
thanks
Black Qin
On Thu, Oct 29, 2009 at 4:03 PM, black <quiteblack@gmail.com> wrote:
> just found this post:
> http://osdir.com/ml/bug-gnu-emacs-gnu/2009-03/msg00149.html
>
> does it mean it is a bug under windows and currently have no solution ?
>
> Black Qin
>
> On Thu, Oct 29, 2009 at 3:59 PM, black <quiteblack@gmail.com> wrote:
>
>> hi all,
>>
>> i'm using emacs under windows recently, i'm stuck now and have no idea how
>> to type upper case letters, capslock key doesn't work.
>> any help pls ???
>>
>> Black Qin
>>
>> --
>> Never end on learning~
>>
>
>
>
> --
> Never end on learning~
>
--
Never end on learning~
[-- Attachment #2: Type: text/html, Size: 1606 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't type upper case letters ?
[not found] <mailman.9668.1256803224.2239.help-gnu-emacs@gnu.org>
@ 2009-10-29 13:39 ` Pascal J. Bourguignon
0 siblings, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2009-10-29 13:39 UTC (permalink / raw)
To: help-gnu-emacs
black <quiteblack@gmail.com> writes:
> hi all,
>
> i'm using emacs under windows recently, i'm stuck now and have no idea how to type upper case
> letters, capslock key doesn't work.
> any help pls ???
caps-mode may be useful. I don't use the Capslock key, because it's
mapped to Control. When I have to type uppercased text, either I
type it in lowercase and then use upcase-region (C-x C-u), or I use
caps-mode:
(defun caps-mode-self-insert-command (&optional n)
"Like `self-insert-command', but uppercase the the typed character."
(interactive "p")
(insert-char (upcase last-command-char) n))
(defvar caps-mode-map nil)
(when (fboundp 'define-minor-mode)
(define-minor-mode caps-mode
"Toggle caps mode.
With no argument, this command toggles the mode.
Non-null prefix argument turns on the mode.
Null prefix argument turns off the mode.
When caps mode is enabled, all letters are inserted in their
capitalized form."
:init-value nil
:lighter " Caps"
(setq caps-mode-map
(let ((map (make-sparse-keymap)))
(substitute-key-definition 'self-insert-command
'caps-mode-self-insert-command
map global-map)
map))
(if caps-mode
(add-to-list 'minor-mode-map-alist (cons 'caps-mode caps-mode-map))
(setq minor-mode-map-alist
(delete (assoc 'caps-mode minor-mode-map-alist)
minor-mode-map-alist)))))
--
__Pascal Bourguignon__
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-29 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.9668.1256803224.2239.help-gnu-emacs@gnu.org>
2009-10-29 13:39 ` can't type upper case letters ? Pascal J. Bourguignon
2009-10-29 7:59 black
2009-10-29 8:03 ` black
2009-10-29 8:10 ` black
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).