From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Langton, Asher" Newsgroups: gmane.emacs.bugs Subject: bug#6594: Date: Mon, 25 Jul 2011 15:23:52 -0700 Message-ID: References: <4C3757C8.7040009@oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311794236 12961 80.91.229.12 (27 Jul 2011 19:17:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2011 19:17:16 +0000 (UTC) To: "6594@debbugs.gnu.org" <6594@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 21:17:12 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 1Qm9bT-00049b-Gv for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 21:17:11 +0200 Original-Received: from localhost ([::1]:44760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9bT-0004d7-4e for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 15:17:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9bO-0004Te-Em for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm9bN-000378-Fq for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:17:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9bN-000372-E9 for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:17:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qm9bN-0007FD-Bw; Wed, 27 Jul 2011 15:17:05 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <4C3757C8.7040009@oracle.com> Resent-From: "Langton, Asher" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2011 19:17:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6594 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6594-submit@debbugs.gnu.org id=B6594.131179418027740 (code B ref 6594); Wed, 27 Jul 2011 19:17:05 +0000 Original-Received: (at 6594) by debbugs.gnu.org; 27 Jul 2011 19:16:20 +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 1Qm9ae-0007DI-Db for submit@debbugs.gnu.org; Wed, 27 Jul 2011 15:16:20 -0400 Original-Received: from nspiron-2.llnl.gov ([128.115.41.82]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QlTZ9-00060z-C7 for 6594@debbugs.gnu.org; Mon, 25 Jul 2011 18:24:00 -0400 X-Attachments: None Original-Received: from nspexhub-2.llnl.gov (HELO nspexhub-2.the-lab.llnl.gov) ([128.115.54.114]) by nspiron-2.llnl.gov with ESMTP; 25 Jul 2011 15:23:53 -0700 Original-Received: from NSPEXMBX-B.the-lab.llnl.gov ([128.115.54.106]) by nspexhub-2.the-lab.llnl.gov ([172.16.54.114]) with mapi; Mon, 25 Jul 2011 15:23:53 -0700 Thread-Topic: Thread-Index: AcxLGYjz7wRK+JhyQXCSOtj+wtGyfg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.12.0.110505 acceptlanguage: en-US X-Mailman-Approved-At: Wed, 27 Jul 2011 15:16:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 27 Jul 2011 15:17:05 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:49627 Archived-At: I looked at this a little more, and on my systems the value of c jumps to 0x8000000 around the 94th column. I don't know much about the internals of emacs nor what the valid character values are here, but this works for me on both Linux and OSX: ;; read xterm sequences above ascii 127 (#x7f) (defun xterm-mouse-event-read () (let ((c (read-char))) (cond ((and (> c #x3FFF80) (< c #x3FFFFF)) (+ 128 (- c #x3FFF80))) ((>=3D c #x8000000) (+ 128 (- c #x8000000))) (t c)))) -Asher