[Top][All Lists]
[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: |
Thu, 13 Mar 2008 23:21:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>> `(remove-overlays)' won't remove it because it can't find this overlay
>>>> in (overlays-in (point-min) (point-max)).
>>
>>
>>> That seems like a problem in itself.
>>
>>
>> Indeed. If (1+ (point-max)) works, then a solution is to let
>> `remove-overlays' default to (1+ (point-max)) rather than just
>> (point-max).
> I suppose this would make
> (progn
> (make-overlay 5 6)
> (narrow-to-region 2 5)
> (remove-overlays)
> (widen))
Good point. 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).
Stefan
- Re: Feature request : Tab-completion for 'shell-comand', (continued)
- Re: Feature request : Tab-completion for 'shell-comand', Johan Bockgård, 2008/03/12
- Re: Feature request : Tab-completion for 'shell-comand', Juri Linkov, 2008/03/12
- Re: Feature request : Tab-completion for 'shell-comand', Johan Bockgård, 2008/03/13
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/13
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/13
- Re: Feature request : Tab-completion for 'shell-comand', Richard Stallman, 2008/03/13
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Richard Stallman, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Richard Stallman, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand',
Stefan Monnier <=
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/14
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/16
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/16
- Re: Feature request : Tab-completion for 'shell-comand', martin rudalics, 2008/03/17
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/17