emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request : Tab-completion for 'shell-comand'


From: Stefan Monnier
Subject: Re: Feature request : Tab-completion for 'shell-comand'
Date: Fri, 14 Mar 2008 11:05:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]