From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Fri, 14 Mar 2008 08:47:03 +0100 Message-ID: <47DA2D77.2070909@gmx.at> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205481105 32433 80.91.229.12 (14 Mar 2008 07:51:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 07:51:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 08:52:13 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 1Ja4i2-00065e-Rp for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 08:52:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja4hT-0002HG-T8 for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 03:51:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ja4gT-0001dH-GI for emacs-devel@gnu.org; Fri, 14 Mar 2008 03:50:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ja4gQ-0001ba-UM for emacs-devel@gnu.org; Fri, 14 Mar 2008 03:50:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja4gQ-0001bA-JX for emacs-devel@gnu.org; Fri, 14 Mar 2008 03:50:30 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ja4gP-0004oi-W2 for emacs-devel@gnu.org; Fri, 14 Mar 2008 03:50:30 -0400 Original-Received: (qmail invoked by alias); 14 Mar 2008 07:50:27 -0000 Original-Received: from N854P030.adsl.highway.telekom.at (EHLO [62.47.50.190]) [62.47.50.190] by mail.gmx.net (mp012) with SMTP; 14 Mar 2008 08:50:27 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/3TAJNPhH3xIlYl4IdCAvpuy2k+z55GxYecZxMO2 6/PY+T74M4pXvF User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:92491 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.