From unknown Mon Aug 18 09:09:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5816: Cursor moves to end of completions in icomplete-mode Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Apr 2010 02:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 5816@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127008989428167 (code B ref -1); Thu, 01 Apr 2010 02:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2010 02:44:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxAOs-0007KG-Mq for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:54 -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 1NxAOq-0007KB-Rh for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:53 -0400 Received: from lists.gnu.org ([199.232.76.165]:44965) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NxAOn-0006w6-AG for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxAOm-0007yp-PR for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:48 -0400 Received: from [140.186.70.92] (port=38322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxAOl-0007y1-Rb for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxAOj-0007kj-Sx for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:47 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:42812) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxAOj-0007kY-Np for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:45 -0400 Received: by bwz19 with SMTP id 19so149016bwz.26 for ; Wed, 31 Mar 2010 19:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=CftVJpXEX8ZbA/C+dHvgikbKVvR28XsS99aTHz/5KTw=; b=nErwZ+upvOG6zDqzLPk1E68AcYsgh2Al1LaYZculXkgVvqC/IbKGYzyChA9wxNgsVN NVinFO9n/Y2ngH7mBkPi2fSfLyfm3Gw17z0pQdaRZrDNdpX7mHnCLOXkG65ZYFXY+8AC 4kIGv15EYuD7GDIIFGV7rxO572lZ7C7SnooRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=iEuYUig6XXlx+NpTUVaDQIXA7RQairkMuusv3V1+6z9rXxJ/M1jha/MShFq0+tf1Om Mo7/ZkcpdXUK9KtbxiZ1LVGztMeDv9KojTNPkxw9hbOHBfLWdBKL5X0SIZkv3of0/PGC v9bg6Bn06CwyP46lLYuKpoUESaCYTOzBTFTYE= MIME-Version: 1.0 Received: by 10.204.156.9 with HTTP; Wed, 31 Mar 2010 19:44:22 -0700 (PDT) From: Juanma Barranquero Date: Thu, 1 Apr 2010 04:44:22 +0200 Received: by 10.204.141.133 with SMTP id m5mr486988bku.91.1270089883133; Wed, 31 Mar 2010 19:44:43 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.3 (----) 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: -4.4 (----) Version: 24.0.50 Doing emacs -Q -f icomplete-mode C-h v xa - with the emacs-23 branch: Describe variable: xa<(>rgs-program) [Matched] - with the trunk: Describe variable: xa(rgs-program) [Matched]<> where <> marks the cursor position. Bisection seems to indicate the bug appears in revid:eliz@gnu.org-20100330091307-ier2rhqfttgi90pr (Initial support for bidirectional editing). Juanma From unknown Mon Aug 18 09:09:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5816: Cursor moves to end of completions in icomplete-mode Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Apr 2010 07:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 5816@debbugs.gnu.org Received: via spool by 5816-submit@debbugs.gnu.org id=B5816.12701069992687 (code B ref 5816); Thu, 01 Apr 2010 07:30:03 +0000 Received: (at 5816) by debbugs.gnu.org; 1 Apr 2010 07:29:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxEql-0000hI-Hc for submit@debbugs.gnu.org; Thu, 01 Apr 2010 03:29:59 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxEqj-0000hD-1s for 5816@debbugs.gnu.org; Thu, 01 Apr 2010 03:29:58 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L0600F00ST7FM00@a-mtaout20.012.net.il> for 5816@debbugs.gnu.org; Thu, 01 Apr 2010 10:29:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0600E46STSH330@a-mtaout20.012.net.il>; Thu, 01 Apr 2010 10:29:53 +0300 (IDT) Date: Thu, 01 Apr 2010 10:29:52 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83k4sry6j3.fsf@gnu.org> References: X-Spam-Score: 0.4 (/) 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: -0.8 (/) > From: Juanma Barranquero > Date: Thu, 1 Apr 2010 04:44:22 +0200 > Cc: > > Doing > > emacs -Q -f icomplete-mode > C-h v xa > > - with the emacs-23 branch: > > Describe variable: xa<(>rgs-program) [Matched] > > - with the trunk: > > Describe variable: xa(rgs-program) [Matched]<> > > > where <> marks the cursor position. Bisection seems to indicate the > bug appears in revid:eliz@gnu.org-20100330091307-ier2rhqfttgi90pr > (Initial support for bidirectional editing). Yes, that figures. The function that positions the cursor is the only one that was completely rewritten for the bidi support, because the original code was designed around the assumption that display is unidirectional. All the other bidi changes are additions to the existing code, and are not get executed except for buffers where the bidi display option was turned on. Thanks for the report and the test case, I will look into this ASAP. From unknown Mon Aug 18 09:09:21 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: Juanma Barranquero Subject: bug#5816 closed by Eli Zaretskii (Re: bug#5816: Cursor moves to end of completions in icomplete-mode) Message-ID: References: <83d3yjxrxm.fsf@gnu.org> X-Gnu-PR-Message: they-closed 5816 X-Gnu-PR-Package: emacs Reply-To: 5816@debbugs.gnu.org Date: Thu, 01 Apr 2010 12:47:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1270126021-13144-1" This is a multi-part message in MIME format... ------------=_1270126021-13144-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #5816: Cursor moves to end of completions in icomplete-mode It has been closed by Eli Zaretskii . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Eli Zaretskii by replying to this email. --=20 5816: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5816 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1270126021-13144-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5816-done) by debbugs.gnu.org; 1 Apr 2010 12:46:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxJmq-0003Pm-HD for submit@debbugs.gnu.org; Thu, 01 Apr 2010 08:46:16 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxJmn-0003Ph-3p for 5816-done@debbugs.gnu.org; Thu, 01 Apr 2010 08:46:14 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L07006006QQUU00@a-mtaout22.012.net.il> for 5816-done@debbugs.gnu.org; Thu, 01 Apr 2010 15:45:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L070069F7F9RY10@a-mtaout22.012.net.il>; Thu, 01 Apr 2010 15:45:09 +0300 (IDT) Date: Thu, 01 Apr 2010 15:45:09 +0300 From: Eli Zaretskii Subject: Re: bug#5816: Cursor moves to end of completions in icomplete-mode In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83d3yjxrxm.fsf@gnu.org> References: X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 5816-done Cc: 5816-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.6 (-) > From: Juanma Barranquero > Date: Thu, 1 Apr 2010 04:44:22 +0200 > > Doing > > emacs -Q -f icomplete-mode > C-h v xa > > - with the emacs-23 branch: > > Describe variable: xa<(>rgs-program) [Matched] > > - with the trunk: > > Describe variable: xa(rgs-program) [Matched]<> Actually, the problem was visible even with the standard completion, not only with icomplete-mode. I think I fixed it. Please try again, and if there are still problems, please reopen the bug. ------------=_1270126021-13144-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Apr 2010 02:44:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxAOs-0007KG-Mq for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:54 -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 1NxAOq-0007KB-Rh for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:53 -0400 Received: from lists.gnu.org ([199.232.76.165]:44965) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NxAOn-0006w6-AG for submit@debbugs.gnu.org; Wed, 31 Mar 2010 22:44:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxAOm-0007yp-PR for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:48 -0400 Received: from [140.186.70.92] (port=38322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxAOl-0007y1-Rb for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxAOj-0007kj-Sx for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:47 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:42812) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxAOj-0007kY-Np for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 22:44:45 -0400 Received: by bwz19 with SMTP id 19so149016bwz.26 for ; Wed, 31 Mar 2010 19:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=CftVJpXEX8ZbA/C+dHvgikbKVvR28XsS99aTHz/5KTw=; b=nErwZ+upvOG6zDqzLPk1E68AcYsgh2Al1LaYZculXkgVvqC/IbKGYzyChA9wxNgsVN NVinFO9n/Y2ngH7mBkPi2fSfLyfm3Gw17z0pQdaRZrDNdpX7mHnCLOXkG65ZYFXY+8AC 4kIGv15EYuD7GDIIFGV7rxO572lZ7C7SnooRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=iEuYUig6XXlx+NpTUVaDQIXA7RQairkMuusv3V1+6z9rXxJ/M1jha/MShFq0+tf1Om Mo7/ZkcpdXUK9KtbxiZ1LVGztMeDv9KojTNPkxw9hbOHBfLWdBKL5X0SIZkv3of0/PGC v9bg6Bn06CwyP46lLYuKpoUESaCYTOzBTFTYE= MIME-Version: 1.0 Received: by 10.204.156.9 with HTTP; Wed, 31 Mar 2010 19:44:22 -0700 (PDT) From: Juanma Barranquero Date: Thu, 1 Apr 2010 04:44:22 +0200 Received: by 10.204.141.133 with SMTP id m5mr486988bku.91.1270089883133; Wed, 31 Mar 2010 19:44:43 -0700 (PDT) Message-ID: Subject: Cursor moves to end of completions in icomplete-mode To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.3 (----) 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: -4.4 (----) Version: 24.0.50 Doing emacs -Q -f icomplete-mode C-h v xa - with the emacs-23 branch: Describe variable: xa<(>rgs-program) [Matched] - with the trunk: Describe variable: xa(rgs-program) [Matched]<> where <> marks the cursor position. Bisection seems to indicate the bug appears in revid:eliz@gnu.org-20100330091307-ier2rhqfttgi90pr (Initial support for bidirectional editing). Juanma ------------=_1270126021-13144-1--