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: window.el modify current emacs23 behavior of anything. Date: Sat, 17 Sep 2011 19:28:15 +0200 Message-ID: <4E74D8AF.8000603@gmx.at> References: <87aaaab8jn.fsf@gmail.com> <4E6FA0E6.2090003@gmx.at> <877h585trj.fsf@gmail.com> <4E738310.2070005@gmx.at> <8739fw5lip.fsf@gmail.com> <4E745D84.8050301@gmx.at> <87pqiz3xov.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316280514 29614 80.91.229.12 (17 Sep 2011 17:28:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2011 17:28:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 17 19:28:30 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4ygi-0003Ef-5o for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2011 19:28:24 +0200 Original-Received: from localhost ([::1]:33280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ygh-0000xd-MW for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2011 13:28:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ygf-0000xY-3E for emacs-devel@gnu.org; Sat, 17 Sep 2011 13:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4yge-0000ju-8F for emacs-devel@gnu.org; Sat, 17 Sep 2011 13:28:21 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:39689) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1R4ygd-0000e8-No for emacs-devel@gnu.org; Sat, 17 Sep 2011 13:28:20 -0400 Original-Received: (qmail invoked by alias); 17 Sep 2011 17:28:16 -0000 Original-Received: from 62-47-55-240.adsl.highway.telekom.at (EHLO [62.47.55.240]) [62.47.55.240] by mail.gmx.net (mp006) with SMTP; 17 Sep 2011 19:28:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+yCG4eT5yyvE3IgbHWe9zv8KAY8Zgy0//E84Hd6F /rtMiWzkesldVL User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87pqiz3xov.fsf@gmail.com> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144082 Archived-At: >> (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'? > 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? martin