[Top][All Lists]

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

Re: window.el modify current emacs23 behavior of anything.

From: Thierry Volpiatto
Subject: Re: window.el modify current emacs23 behavior of anything.
Date: Sun, 18 Sep 2011 11:08:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

martin rudalics <address@hidden> writes:

>>> (1) Window W shows buffer B with window-start S and window-point P.
>>> (2) In W you show buffer BB instead.
>>> (3) You bury buffer BB.  `bury-buffer' now shows buffer B again with
>>>     window-point P and, if possible, window-start S.
>>> But for some reason after (3) you want to show B with another
>>> `window-point' position.  Is that analysis correct?
>> Yes that is correct.
>> The action function is the function that jump to another position than
>> the initial one in buffer B.
> What is "the initial position in buffer B"?  The one of `point'?
Yes the one of `point'.

>> Where buffer B is `anything-current-buffer' and BB is `anything-buffer'
> So apparently the window of `anything-buffer' is selected, you bury
> `anything-buffer', and `bury-buffer' shows `anything-current-buffer'
> instead with a `window-point' you don't like.  What does the action
> function do next?
The `anything-buffer' disapear from window, the
`anything-current-buffer' is shown with the original position of `point'
and the action function should jump to another position. 

IIRC i had same problem before with `anything-current-position', i fixed
with the optional arg NOFORCE of `set-window-start'.
It was this time to restore an initial position in
Again a `sit-for' call before was also working.

Starting from Wednesday, i will be at home and in a better position to
debug this.

A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

reply via email to

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