all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Emacs does not distinguish between `æ'and `C-æ'
Date: Wed, 14 May 2003 21:33:57 +0200	[thread overview]
Message-ID: <jewugtb9wa.fsf@sykes.suse.de> (raw)
In-Reply-To: <5l4r3x4bih.fsf@rum.cs.yale.edu> (Stefan Monnier's message of "14 May 2003 14:40:54 -0400")

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

      reply	other threads:[~2003-05-14 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 15:48 Emacs does not distinguish between `æ' and `C-æ' Jesper Harder
2003-05-14 18:40 ` Stefan Monnier
2003-05-14 19:33   ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jewugtb9wa.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.