From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Fri, 14 Mar 2008 11:05:28 -0400 Message-ID: References: <874pbmjgsy.fsf@gmx.de> <874pbknt3j.fsf@tsuchiya.vaj.namazu.org> <87mypccg6r.fsf@jurta.org> <87abl8svpl.fsf@jurta.org> <87iqzves3k.fsf@jurta.org> <87zlt6qnu4.fsf@jurta.org> <8763vs7v08.fsf@jurta.org> <87d4pzz56f.fsf@jurta.org> <47D97A36.5050103@gmx.at> <47DA2D77.2070909@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205507195 25187 80.91.229.12 (14 Mar 2008 15:06:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 15:06:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 16:07:02 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JaBU1-0002S6-D3 for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 16:06:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaBTS-0001pf-Ak for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 11:05:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaBTP-0001pZ-06 for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:05:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaBTN-0001pN-Gc for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:05:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaBTN-0001pK-DZ for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:05:29 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaBTN-00023b-4a for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:05:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIgw2kdMCrZy/2dsb2JhbACpUIEI X-IronPort-AV: E=Sophos;i="4.25,501,1199682000"; d="scan'208";a="16056393" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 14 Mar 2008 11:05:28 -0400 Original-Received: from pastel.home ([76.10.182.114]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id UST62528; Fri, 14 Mar 2008 11:05:28 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5B6587FDA; Fri, 14 Mar 2008 11:05:28 -0400 (EDT) In-Reply-To: <47DA2D77.2070909@gmx.at> (martin rudalics's message of "Fri, 14 Mar 2008 08:47:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92570 Archived-At: >> I guess the (1+ (point-max)) should only be used when >> (point-max) is the really the end of the buffer, since otherwise it's >> not clear whether the overlays at (point-max) are inside or outside the >> narrowing (and since it's not clear, it's better not to remove them). > It would still be an ugly hack. Future implementations of `overlays-in' > should be allowed to check whether its arguments constitute valid buffer > positions. Yes. (overlays-in (point-min) (point-max)) SHOULD return all overlays if the buffer is widened. Can someone try to fix it? Stefan