From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Showing text in a buffer only when point is in a region Date: Sat, 28 Jan 2017 16:26:45 +0100 Message-ID: <20170128152645.GA12224@tuxteam.de> References: <87mveb4b4a.fsf@gmail.com> <20170128124610.GB7072@tuxteam.de> <87mvebnszf.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1485617264 2066 195.159.176.226 (28 Jan 2017 15:27:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 15:27:44 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 28 16:27:40 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXUuQ-0006xz-CR for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Jan 2017 16:27:22 +0100 Original-Received: from localhost ([::1]:52256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXUuV-0003fX-R5 for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Jan 2017 10:27:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXUtx-0003eZ-1R for help-gnu-emacs@gnu.org; Sat, 28 Jan 2017 10:26:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXUtt-0001S1-TX for help-gnu-emacs@gnu.org; Sat, 28 Jan 2017 10:26:53 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:58414 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXUtt-0001Rh-N2 for help-gnu-emacs@gnu.org; Sat, 28 Jan 2017 10:26:49 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1cXUtp-0003D7-C9; Sat, 28 Jan 2017 16:26:45 +0100 In-Reply-To: <87mvebnszf.fsf@gmx.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:112184 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Jan 28, 2017 at 03:45:24PM +0100, Stephen Berman wrote: > On Sat, 28 Jan 2017 13:46:10 +0100 wrote: > > > On Sat, Jan 28, 2017 at 06:03:57PM +0530, Narendra Joshi wrote: > >> > >> Hi, > >> > >> I want to be able to keep some text visible in a buffer [...] > > > > See "Overlays" or "Text Properties" in the Emacs Lisp manual. You can set > > "point-entered" and "point-left" special properties [...] > > As of Emacs 25.1 (quoting the Info node referred to): > > "These properties are obsolete; please use ‘cursor-sensor-functions’ instead." Thanks for the update cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAliMuDUACgkQBcgs9XrR2kZWjQCeKYLKlcpgpgbNS7w4718MPoks MP4An1m8WpIUKU6Xc2q35e9BTziKBNtD =c6F6 -----END PGP SIGNATURE-----