From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Function that return visible to user region and performing action on demand. Date: Sun, 28 Oct 2012 21:34:55 +0200 Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net Message-ID: <87bofmbdb4.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1351452921 31109 80.91.229.3 (28 Oct 2012 19:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2012 19:35:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 20:35:30 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1TSYdr-00074t-VY for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2012 20:35:28 +0100 Original-Received: from localhost ([::1]:58340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYdj-0007Ba-Mk for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2012 15:35:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYdd-0007BK-Vu for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 15:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSYdd-0008TI-4w for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 15:35:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYdc-0008TC-Ue for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 15:35:13 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TSYde-0006vs-Fm for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 20:35:14 +0100 Original-Received: from 37.229.16.202 ([37.229.16.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Oct 2012 20:35:14 +0100 Original-Received: from gavenkoa by 37.229.16.202 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Oct 2012 20:35:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 37.229.16.202 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:JFGcFZNGx7mSS8biTWNluPl64B4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87474 Archived-At: When I playing with: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12747 I got questions: How can I determine if selected buffer shown in any frame or in selected frame? How can I get visible to user region of buffer? That practices was used for delayed buffer processing? More concrete is the case then my code need highlight or hide text but only in portion that will be visible to user on display (not strictly to visible part, a few more is acceptable). Is that delayed practice have sense? Please advise me best practices or point to source code that implement asked techniques. -- Best regards!