From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.help Subject: How to programmatically highlight region? Date: Wed, 15 Nov 2006 15:10:15 -0500 Message-ID: <87d57osc7s.fsf@pereiro.luannocracy.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163621496 5543 80.91.229.2 (15 Nov 2006 20:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 20:11:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 15 21:11:33 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkR6Q-0004YI-0h for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2006 21:11:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkR6P-000274-5s for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2006 15:11:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkR68-00022x-6j for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 15:11:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkR63-0001xn-HN for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 15:11:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkR63-0001xT-60 for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 15:10:59 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GkR61-0001i9-Eq for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 15:10:58 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GkR5d-0004Mt-Nv for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 21:10:35 +0100 Original-Received: from 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.125.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Nov 2006 21:10:33 +0100 Original-Received: from dave by 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Nov 2006 21:10:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:zwMSmsGhvx2tsraU/L4g9iEarKk= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38741 Archived-At: Hi, Could someone tell me how to get the effect of an "activated mark" in transient mark mode from within elisp? In other words, I'd like to be able to set up the point and mark, and when my elisp completes, see the region highlighted. Seems like it should be simple, but nothing I do seems to work. TIA, -- Dave Abrahams Boost Consulting www.boost-consulting.com