From unknown Mon Jun 23 16:49:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6349: 24.0.50; C-a doesn't work in tty Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2010 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6349@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127563817125004 (code B ref -1); Fri, 04 Jun 2010 07:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2010 07:56:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRlC-0006VF-UV for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:11 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRlA-0006VA-MJ for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:09 -0400 Received: from lists.gnu.org ([199.232.76.165]:47726) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OKRl7-0004KI-OP for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:05 -0400 Received: from [140.186.70.92] (port=35534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKRl1-0004Dd-Dw for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:56:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKRl0-0007oK-Cm for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:55:59 -0400 Received: from orlando.hostforweb.net ([216.246.45.90]:38844) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRl0-0007ns-AT for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:55:58 -0400 Received: from localhost ([127.0.0.1]:58262) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OKRkw-000559-Me for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 02:55:54 -0500 Date: Fri, 04 Jun 2010 16:55:49 +0900 Message-ID: From: Katsumi Yamaoka X-Hashcash: 1:20:100604:bug-gnu-emacs@gnu.org::FezgQp75tLAO+Fvd:00000000000000000000000000000000000000006NLH Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:tEvKRQYdpdyExVp7AWuCcqzFqmU= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Hi, If a long line, of which the left side is truncated, begins with a wide character in the window, the `C-a' command doesn't move the cursor. It happens in Emacs launched as `emacs -nw -Q'. Please try this form: (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line)) In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-06-04 on ****** Windowing system distributor `Fedora Project', version 11.0.10800000 configured using `configure '--with-x-toolkit=lucid' '--without-xim' From unknown Mon Jun 23 16:49:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6349: 24.0.50; C-a doesn't work in tty In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jun 2010 00:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6349@debbugs.gnu.org Cc: Makoto Fujiwara Received: via spool by 6349-submit@debbugs.gnu.org id=B6349.12760447595469 (code B ref 6349); Wed, 09 Jun 2010 00:53:02 +0000 Received: (at 6349) by debbugs.gnu.org; 9 Jun 2010 00:52:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM9X4-0001QA-Je for submit@debbugs.gnu.org; Tue, 08 Jun 2010 20:52:38 -0400 Received: from orlando.hostforweb.net ([216.246.45.90]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM9X3-0001Q3-0Q for 6349@debbugs.gnu.org; Tue, 08 Jun 2010 20:52:37 -0400 Received: from localhost ([127.0.0.1]:46353) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OM9Ww-0006te-Bx; Tue, 08 Jun 2010 19:52:30 -0500 Date: Wed, 09 Jun 2010 09:52:20 +0900 Message-ID: From: Katsumi Yamaoka References: X-Hashcash: 1:20:100609:6349@debbugs.gnu.org::Kli7+lZNENyIFiuF:0000000000000000000000000000000000000000074nA X-Hashcash: 1:20:100609:makoto@ki.nu::fM+50XJ6rn1MAYio:000000LJa Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:/233vU5Mfro28BRyJV0WW8B4Zr8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> Katsumi Yamaoka wrote: > If a long line, of which the left side is truncated, begins with > a wide character in the window, the `C-a' command doesn't move > the cursor. It happens in Emacs launched as `emacs -nw -Q'. > Please try this form: > (let ((buffer (get-buffer-create "*testing*"))) > (pop-to-buffer buffer) > (erase-buffer) > (insert-char (make-char 'japanese-jisx0208 36 34) 256) > (setq truncate-lines t) > (end-of-line)) Not only the C-a command but also any kind of operation that should set the window-hscroll to zero doesn't seem to work in tty. The following forms are expected to show the line from the beginning. (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line) (sit-for 0) (skip-chars-backward "^\n")) (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line) (sit-for 0) (if (search-backward "\n" nil 'move) (forward-char 1))) (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line) (sit-for 0) (beginning-of-line)) (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line) (sit-for 0) (goto-char (line-beginning-position))) > In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2010-06-04 on ****** > Windowing system distributor `Fedora Project', version 11.0.10800000 > configured using `configure '--with-x-toolkit=lucid' '--without-xim' Thanks Fujiwara-san who also confirmed the same behavior on NetBSD/amd64 5.0_STABLE. From unknown Mon Jun 23 16:49:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6349: 24.0.50; C-a doesn't work in tty In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jun 2010 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6349@debbugs.gnu.org Cc: Makoto Fujiwara Received: via spool by 6349-submit@debbugs.gnu.org id=B6349.12768472081393 (code B ref 6349); Fri, 18 Jun 2010 07:47:02 +0000 Received: (at 6349) by debbugs.gnu.org; 18 Jun 2010 07:46:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPWHo-0000MQ-47 for submit@debbugs.gnu.org; Fri, 18 Jun 2010 03:46:48 -0400 Received: from orlando.hostforweb.net ([216.246.45.90]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPWHn-0000ML-51 for 6349@debbugs.gnu.org; Fri, 18 Jun 2010 03:46:47 -0400 Received: from localhost ([127.0.0.1]:53106) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OPWHc-0003bQ-3B; Fri, 18 Jun 2010 02:46:36 -0500 Date: Fri, 18 Jun 2010 16:46:10 +0900 Message-ID: From: Katsumi Yamaoka References: X-Hashcash: 1:20:100618:6349@debbugs.gnu.org::GudIfbnVyIMpmFXt:000000000000000000000000000000000000000000I71 X-Hashcash: 1:20:100618:makoto@ki.nu::Ed24AwXBF0S4ySTW:000003HB/ Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:4FRa0XHwIuCDwmRwU8+JVqKuwrs= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Katsumi Yamaoka wrote: >>>>>> Katsumi Yamaoka wrote: >> If a long line, of which the left side is truncated, begins with >> a wide character in the window, the `C-a' command doesn't move >> the cursor. It happens in Emacs launched as `emacs -nw -Q'. >> Please try this form: >> (let ((buffer (get-buffer-create "*testing*"))) >> (pop-to-buffer buffer) >> (erase-buffer) >> (insert-char (make-char 'japanese-jisx0208 36 34) 256) >> (setq truncate-lines t) >> (end-of-line)) > Not only the C-a command but also any kind of operation that should > set the window-hscroll to zero doesn't seem to work in tty. [...] Here's a workaround: (defadvice move-beginning-of-line (after set-window-hscroll-to-zero-in-tty activate) "Set window-hscroll to zero in tty if point moves to bol." (if (and (not window-system) (bolp)) (set-window-hscroll (selected-window) 0))) From unknown Mon Jun 23 16:49:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6349: 24.0.50; C-a doesn't work in tty References: In-Reply-To: Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2010 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6349@debbugs.gnu.org Cc: handa@m17n.org Received: via spool by 6349-submit@debbugs.gnu.org id=B6349.128593742226113 (code B ref 6349); Fri, 01 Oct 2010 12:51:02 +0000 Received: (at 6349) by debbugs.gnu.org; 1 Oct 2010 12:50:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1f49-0006n8-S1 for submit@debbugs.gnu.org; Fri, 01 Oct 2010 08:50:22 -0400 Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1f46-0006n0-Hr for 6349@debbugs.gnu.org; Fri, 01 Oct 2010 08:50:20 -0400 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o91CrEFA015498; Fri, 1 Oct 2010 21:53:14 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o91CrEEE022589; Fri, 1 Oct 2010 21:53:14 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id o91CrD7h001802; Fri, 1 Oct 2010 21:53:13 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1P1f6v-0007xX-NX; Fri, 01 Oct 2010 21:53:13 +0900 From: Kenichi Handa Date: Fri, 01 Oct 2010 21:53:13 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) I found that this bug was introduced to the trunk by this change: ------------------------------------------------------------ revno: 99771 [merge] committer: Eli Zaretskii branch nick: trunk timestamp: Tue 2010-03-30 05:13:07 -0400 message: Initial support for bidirectional editing. Makefile.in (obj): Include bidi.o. (bidi.o): New target. makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O). [...] ------------------------------------------------------------ So, Eli, could you please take a look at it? --- Kenichi Handa handa@m17n.org From unknown Mon Jun 23 16:49:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Katsumi Yamaoka Subject: bug#6349: closed (Re: bug#6349: 24.0.50; C-a doesn't work in tty) Message-ID: References: <83k4m1re8s.fsf@gnu.org> X-Gnu-PR-Message: they-closed 6349 X-Gnu-PR-Package: emacs Reply-To: 6349@debbugs.gnu.org Date: Fri, 01 Oct 2010 17:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1285955522-1479-1" This is a multi-part message in MIME format... ------------=_1285955522-1479-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6349: 24.0.50; C-a doesn't work in tty which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6349@debbugs.gnu.org. --=20 6349: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6349 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1285955522-1479-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6349-done) by debbugs.gnu.org; 1 Oct 2010 17:51:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1jlT-0000Ng-Cx for submit@debbugs.gnu.org; Fri, 01 Oct 2010 13:51:23 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1jlQ-0000NX-Js for 6349-done@debbugs.gnu.org; Fri, 01 Oct 2010 13:51:21 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L9M00000HO9RH00@a-mtaout22.012.net.il> for 6349-done@debbugs.gnu.org; Fri, 01 Oct 2010 19:53:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.77.74]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9M000TLHP9BO70@a-mtaout22.012.net.il>; Fri, 01 Oct 2010 19:53:35 +0200 (IST) Date: Fri, 01 Oct 2010 19:53:39 +0200 From: Eli Zaretskii Subject: Re: bug#6349: 24.0.50; C-a doesn't work in tty In-reply-to: X-012-Sender: halo1@inter.net.il To: Kenichi Handa Message-id: <83k4m1re8s.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 6349-done Cc: 6349-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Resent-Sender: help-debbugs@gnu.org > From: Kenichi Handa > Date: Fri, 01 Oct 2010 21:53:13 +0900 > Cc: > > I found that this bug was introduced to the trunk by this > change: > > ------------------------------------------------------------ > revno: 99771 [merge] > committer: Eli Zaretskii > branch nick: trunk > timestamp: Tue 2010-03-30 05:13:07 -0400 > message: > Initial support for bidirectional editing. > > Makefile.in (obj): Include bidi.o. > (bidi.o): New target. > makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O). > [...] > ------------------------------------------------------------ > > So, Eli, could you please take a look at it? Should be fixed now (revno 101714). ------------=_1285955522-1479-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jun 2010 07:56:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRlC-0006VF-UV for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:11 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRlA-0006VA-MJ for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:09 -0400 Received: from lists.gnu.org ([199.232.76.165]:47726) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OKRl7-0004KI-OP for submit@debbugs.gnu.org; Fri, 04 Jun 2010 03:56:05 -0400 Received: from [140.186.70.92] (port=35534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKRl1-0004Dd-Dw for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:56:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKRl0-0007oK-Cm for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:55:59 -0400 Received: from orlando.hostforweb.net ([216.246.45.90]:38844) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKRl0-0007ns-AT for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 03:55:58 -0400 Received: from localhost ([127.0.0.1]:58262) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OKRkw-000559-Me for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 02:55:54 -0500 Date: Fri, 04 Jun 2010 16:55:49 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 24.0.50; C-a doesn't work in tty X-Hashcash: 1:20:100604:bug-gnu-emacs@gnu.org::FezgQp75tLAO+Fvd:00000000000000000000000000000000000000006NLH Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:tEvKRQYdpdyExVp7AWuCcqzFqmU= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Hi, If a long line, of which the left side is truncated, begins with a wide character in the window, the `C-a' command doesn't move the cursor. It happens in Emacs launched as `emacs -nw -Q'. Please try this form: (let ((buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (insert-char (make-char 'japanese-jisx0208 36 34) 256) (setq truncate-lines t) (end-of-line)) In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-06-04 on ****** Windowing system distributor `Fedora Project', version 11.0.10800000 configured using `configure '--with-x-toolkit=lucid' '--without-xim' ------------=_1285955522-1479-1--