From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Mimic the window scrolling behavior of *Messages* Date: Wed, 18 Sep 2013 02:10:36 +0200 Message-ID: <87y56v9egz.fsf@web.de> References: <874n9j1ke5.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379463072 1488 80.91.229.3 (18 Sep 2013 00:11:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 00:11:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 18 02:11:14 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VM5MP-0000Cq-Cf for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2013 02:11:13 +0200 Original-Received: from localhost ([::1]:43794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM5MO-0000ts-G8 for ged-emacs-devel@m.gmane.org; Tue, 17 Sep 2013 20:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM5ME-0000tZ-SO for emacs-devel@gnu.org; Tue, 17 Sep 2013 20:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM5M7-0008BD-J8 for emacs-devel@gnu.org; Tue, 17 Sep 2013 20:11:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM5M7-00089T-C9 for emacs-devel@gnu.org; Tue, 17 Sep 2013 20:10:55 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VM5M4-0007xe-B7 for emacs-devel@gnu.org; Wed, 18 Sep 2013 02:10:52 +0200 Original-Received: from ip-90-186-75-81.web.vodafone.de ([90.186.75.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 02:10:52 +0200 Original-Received: from michael_heerdegen by ip-90-186-75-81.web.vodafone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 02:10:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-90-186-75-81.web.vodafone.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:/UAdoQ1aC9wPHcYvO81xIG6MjlA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:163411 Archived-At: Hi Stefan, > > If I set `window-point-insertion-type' to t, it _does_ work, however. > > But I can't set the global value in my package. Using > > `window-point-insertion-type' as a buffer local variable doesn't work, > > It should. > But it needs to be set before displaying the buffer. Could the problem > be that you set the variable after displaying the buffer? No, I had set it as a buffer local variable directly after creating the log buffer. But only the binding in the buffer of the selected window seems to count later. Anyway, I think found a different approach that works ok now. Thanks, Michael.