unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jason Rumney <jasonr@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Next pretest
Date: Fri, 29 Jan 2010 14:14:08 +0200	[thread overview]
Message-ID: <83ockdrtv3.fsf@gnu.org> (raw)
In-Reply-To: <87636n5xom.fsf@wanchan.jasonrumney.net>

> From: Jason Rumney <jasonr@gnu.org>
> Date: Thu, 28 Jan 2010 00:18:01 +0800
> Cc: emacs-devel@gnu.org
> 
> Juanma Barranquero <lekktu@gmail.com> writes:
> 
> > (I've changed three trivial typos emacs_ev. to emacs_ev->)
> 
> Thanks, I don't have a W32 installation here to try it on.
> > In key_event, control is going through this branch
> >
> >       else if (event->uChar.AsciiChar < 128)
> 
> try changing that to:
> 
>      else if (event->uChar.AsciiChar > 0 && event->uChar.AsciiChar < 128)
> 
> That should catch the following:
> 
> >     uChar = {
> >       UnicodeChar = 164 L'¤\000',
> >       AsciiChar = -92 '¤'
> >     },

The "event->uChar.AsciiChar < 128" part in the above condition causes
compiler warnings:

  w32inevt.c: In function `key_event':
  w32inevt.c:473: warning: comparison is always true due to limited range of data type

I think we can remove the second part, because AsciiChar is declared
as CHAR, which is a `signed char' type, so it is always less than
128.  Jason, do you agree?  Juanma, can you check that removing that
does not cause trouble in your use-case?





  parent reply	other threads:[~2010-01-29 12:14 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-24 14:46 Next pretest Chong Yidong
2010-01-24 15:31 ` alin.s
2010-01-24 16:34   ` David De La Harpe Golden
2010-01-24 16:47     ` David De La Harpe Golden
2010-01-24 19:44     ` Chad Brown
2010-01-24 21:22       ` Chong Yidong
2010-01-27 20:34         ` alin.s
2010-01-25  9:12     ` Tabs (was: Next pretest) Juri Linkov
2010-01-25 16:49     ` Next pretest Lluís
2010-01-25 23:13 ` Juanma Barranquero
2010-01-26 15:28   ` Chong Yidong
2010-01-26 15:46     ` Juanma Barranquero
2010-01-26 18:09       ` Eli Zaretskii
2010-01-26 18:27         ` Juanma Barranquero
2010-01-26 23:13           ` Juanma Barranquero
2010-01-26 23:48         ` Juanma Barranquero
2010-01-27  2:02           ` Jason Rumney
2010-01-27  9:50             ` Juanma Barranquero
2010-01-27 14:03               ` Jason Rumney
2010-01-27 16:06                 ` Juanma Barranquero
2010-01-27 16:18                   ` Jason Rumney
2010-01-27 20:07                     ` Juanma Barranquero
2010-01-27 20:32                       ` Chong Yidong
2010-01-29 12:14                     ` Eli Zaretskii [this message]
2010-01-29 12:38                       ` Juanma Barranquero
  -- strict thread matches above, loose matches on Subject: below --
2014-09-25 17:47 Stefan Monnier
2014-08-11 15:43 next pretest Glenn Morris
2014-08-11 15:51 ` Eli Zaretskii
2014-08-12  8:49   ` Bastien
2014-08-12 14:42     ` Eli Zaretskii
2014-08-13  6:34       ` Bastien
2014-08-12 15:57     ` Glenn Morris
2014-08-13  6:33       ` Bastien
2014-08-12  8:46 ` Bastien
2014-06-24 15:41 Glenn Morris
2014-05-09 16:24 Glenn Morris
2012-12-09  4:09 Next pretest Chong Yidong
2012-04-20  7:51 Chong Yidong
2012-04-20 17:36 ` Glenn Morris
2012-02-21  6:56 Chong Yidong
2011-01-23 21:36 Chong Yidong
2011-01-27  8:32 ` Glenn Morris
2011-01-27 20:50   ` Chong Yidong
2011-01-27 15:58 ` Dan Nicolaescu
2011-01-27 20:18   ` Chong Yidong
2011-01-28 17:07     ` Chong Yidong
2011-01-08 20:51 Chong Yidong
2010-12-06 16:34 Chong Yidong
2010-04-16 15:50 Sean Sieger
2010-04-16 21:56 ` Sean Sieger
2010-04-17  5:30 ` Jason Rumney
2010-04-15 22:01 Angelo Graziosi
2010-04-13 15:30 Chong Yidong
2010-04-14  4:36 ` Christoph
2010-04-14 16:54 ` Juri Linkov
2010-04-14 17:33   ` Chong Yidong
2010-04-14 22:40 ` Ken Brown
2010-04-14 22:51   ` Chong Yidong
2010-04-15  2:06     ` Ken Brown
2010-04-16  1:01       ` Chong Yidong
2010-04-15 19:13 ` Sean Sieger
2010-04-16  2:25   ` Christoph
2010-04-16 15:15     ` Sean Sieger
2010-03-28 19:05 Chong Yidong
2010-03-28 19:59 ` Drew Adams
2010-03-28 20:18   ` Lennart Borgman
2010-03-28 20:36     ` Drew Adams
2010-03-28 20:48       ` Lennart Borgman
2010-03-29  6:41         ` Eli Zaretskii
2010-03-29 15:41           ` Sean Sieger
2010-03-29 15:52             ` Eli Zaretskii
2010-03-28 20:38     ` Christoph
2010-03-28 21:04   ` Chong Yidong
2010-03-28 21:13     ` Drew Adams
2010-03-29 18:33 ` Glenn Morris
2010-03-29 18:59   ` Leo
2010-03-29 21:54   ` Chong Yidong
2010-03-29 22:22     ` Glenn Morris
2010-01-27 12:04 A. Soare
2009-03-25 14:22 Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83ockdrtv3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=lekktu@gmail.com \
    /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 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).