From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6830: widget-complete bad completions in :type 'file Date: Tue, 06 Mar 2012 05:50:52 +0200 Message-ID: <83ipii9ylf.fsf@gnu.org> References: <871v99wgb1.fsf@stupidchicken.com> <87tym5ufk0.fsf@stupidchicken.com> <83ty2grpn0.fsf@gnu.org> <87d393zj1l.fsf@gnu.org> <83linrs8rj.fsf@gnu.org> <87sjhoiu4q.fsf@gnu.org> <83zkbw9tyv.fsf@gnu.org> <87boobd9tr.fsf@gnu.org> <83linf9cup.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331005976 32218 80.91.229.3 (6 Mar 2012 03:52:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 03:52:56 +0000 (UTC) Cc: 6830@debbugs.gnu.org, cyd@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 04:52:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4lSB-0007CW-2x for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Mar 2012 04:52:47 +0100 Original-Received: from localhost ([::1]:33977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4lSA-0008IS-HJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Mar 2012 22:52:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4lS8-0008IM-0j for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 22:52:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4lS6-0000VA-7F for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 22:52:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4lS6-0000Uu-3I for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 22:52:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S4lSP-0007ZQ-Uz for bug-gnu-emacs@gnu.org; Mon, 05 Mar 2012 22:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Mar 2012 03:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6830-submit@debbugs.gnu.org id=B6830.133100595929072 (code B ref 6830); Tue, 06 Mar 2012 03:53:01 +0000 Original-Received: (at 6830) by debbugs.gnu.org; 6 Mar 2012 03:52:39 +0000 Original-Received: from localhost ([127.0.0.1]:35049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4lS3-0007Yg-C4 for submit@debbugs.gnu.org; Mon, 05 Mar 2012 22:52:39 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39753) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4lRf-0007Xn-9O for 6830@debbugs.gnu.org; Mon, 05 Mar 2012 22:52:26 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M0G00J002NLMA00@a-mtaout23.012.net.il> for 6830@debbugs.gnu.org; Tue, 06 Mar 2012 05:50:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.119.172]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0G00J1T2OPJS50@a-mtaout23.012.net.il>; Tue, 06 Mar 2012 05:50:49 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:57523 Archived-At: > From: Stefan Monnier > Cc: Chong Yidong , 6830@debbugs.gnu.org > Date: Mon, 05 Mar 2012 16:28:49 -0500 > > > Then it looks like my analysis was partially incorrect: I assumed that > > the problem was with the value of `before_field', but it actually is > > with the value of `field'. (Same reason, though: sorting two items > > whose keys compare equal.) > > Ideally, the cursor position should not be considered as "in the > boundary", so the boundary overlay should not be considered for > determining `field'. > For that, I'd guess that you'd want the boundary's marker to use the > insertion type t. But AFAIK, the code already sets its type to t. > So I'm not sure what's going on, here. I don't think I follow. Can you elaborate on the role of the boundary marker in this issue?