[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs does not distinguish between `æ'and `C-æ'
From: |
Andreas Schwab |
Subject: |
Re: Emacs does not distinguish between `æ'and `C-æ' |
Date: |
Wed, 14 May 2003 21:33:57 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) |
"Stefan Monnier" <monnier+gmane.emacs.bugs/news/@rum.cs.yale.edu> writes:
|> Index: keyboard.c
|> ===================================================================
|> RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
|> retrieving revision 1.741
|> diff -u -r1.741 keyboard.c
|> --- keyboard.c 10 May 2003 22:15:35 -0000 1.741
|> +++ keyboard.c 14 May 2003 18:38:00 -0000
|> @@ -5013,8 +5013,15 @@
|> case MULTIBYTE_CHAR_KEYSTROKE_EVENT:
|> {
|> Lisp_Object lispy_c;
|> + int c = event->code;
|>
|> - XSETFASTINT (lispy_c, event->code);
|> + /* Add in the other modifier bits. We took care of ctrl_modifier
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|> + just above, and the shift key was taken care of by the X code,
|> + and applied to control characters by make_ctrl_char. */
|> + c |= (event->modifiers
|> + & (meta_modifier | alt_modifier
|> + | hyper_modifier | super_modifier | ctrl_modifier));
It seems comment and code aren't in line.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."