From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#9960: Compiling Emacs trunk with MSVC Date: Sat, 12 Nov 2011 18:55:37 +0100 Message-ID: References: <83sjy5279e.fsf@gnu.org> <8339e2lsu7.fsf@gnu.org> <83zkgakdby.fsf@gnu.org> <4EB5320F.5090800@gmail.com> <83vcqyk8k3.fsf@gnu.org> <4EB540F4.7080106@gmail.com> <83r51mk62f.fsf@gnu.org> <86wrbeo7p5.fsf@googlemail.com> <83k47ejyyt.fsf@gnu.org> <86sjm2o559.fsf@googlemail.com> <86obwqo2hl.fsf@googlemail.com> <86ipmynwds.fsf@googlemail.com> <838vnujm3z.fsf@gnu.org> <83sjlzj25l.fsf@gnu.org> <8339dvgfpv.fsf@gnu.org> <83fwhtfma8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001517588cfaa187ab04b18d59b4 X-Trace: dough.gmane.org 1321120610 7196 80.91.229.12 (12 Nov 2011 17:56:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2011 17:56:50 +0000 (UTC) Cc: cschol2112@googlemail.com, 9960@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 12 18:56:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RPHop-0003HK-Jo for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Nov 2011 18:56:43 +0100 Original-Received: from localhost ([::1]:36951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPHop-0008Sp-8g for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Nov 2011 12:56:43 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPHom-0008Sk-VI for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 12:56:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPHom-0007nY-1T for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 12:56:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPHol-0007nU-MI for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 12:56:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RPHp8-0002cQ-32 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 12:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2011 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9960 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9960-submit@debbugs.gnu.org id=B9960.132112059110026 (code B ref 9960); Sat, 12 Nov 2011 17:57:02 +0000 Original-Received: (at 9960) by debbugs.gnu.org; 12 Nov 2011 17:56:31 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPHod-0002be-Bz for submit@debbugs.gnu.org; Sat, 12 Nov 2011 12:56:31 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPHoa-0002bQ-74 for 9960@debbugs.gnu.org; Sat, 12 Nov 2011 12:56:29 -0500 Original-Received: by bkbzv15 with SMTP id zv15so4164506bkb.3 for <9960@debbugs.gnu.org>; Sat, 12 Nov 2011 09:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=OmUBD4bcK4Wvok/j/mtNQOQ7rYDLAsg+ydHphdFDySw=; b=jtDeSrq5VVO1jnZn77vKFX4LdZGJF5mE/hGm7ubN4mofV/Ejb4GeNTo19KErpxrGXU 9ypm3X/ZxqYKRVnRYg5Uyj9g8w7veYJvV/ptXI+V9fhrLYuB6S7DAuPoYyvBhVCk16z+ 5dTw0WHO7+j//oXvf5100sMdCEGQY00sRteeQ= Original-Received: by 10.204.7.144 with SMTP id d16mr12641940bkd.70.1321120559105; Sat, 12 Nov 2011 09:55:59 -0800 (PST) Original-Received: by 10.204.120.6 with HTTP; Sat, 12 Nov 2011 09:55:37 -0800 (PST) In-Reply-To: <83fwhtfma8.fsf@gnu.org> X-Google-Sender-Auth: p0zJQlSozoj3Y_-I7-FoKwE3b1w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Nov 2011 12:57:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53836 Archived-At: --001517588cfaa187ab04b18d59b4 Content-Type: text/plain; charset=ISO-8859-1 > > Can you step through this in a debugger and see what character is seen > in next_char at the end of this snippet, and what value is in `c' at > that point, when it fails? The function read_escape called by this > fragment could also be of interest. > Something seems to be messed up in the read_escape function : it should read the string "[?\\C-0]" it reads the 'C' and the '-', then it returns the char '0' + ctrl_modifier, and back in read1, the next char read is '0' again. Which means that in read1 at the failure point, next_char = 0x00000030 and c = 0x04000030 I tried to step inside read_escape, but not sure what's going wrong here. Greetings, -- Fabrice --001517588cfaa187ab04b18d59b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Can you step thr= ough this in a debugger and see what character is seen
in next_char at the end of this snippet, and what value is in `c' at that point, when it fails? =A0The function read_escape called by this
fragment could also be of interest.

Something seems to be messed up in the re= ad_escape function :
it should read the string "[?\\C-0]"=A0<= /div>
it reads the 'C' and the '-', then it returns the= char '0' + ctrl_modifier,
and back in read1, the next char read is '0' again.
= Which means that in read1 at the failure point,=A0
next_char =3D = 0x00000030
and c =3D 0x04000030

I tried to step inside rea= d_escape, but not sure what's going wrong here.

Greetings,

--
Fabri= ce
--001517588cfaa187ab04b18d59b4--