From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Help setting nadvice for indent-region Date: Mon, 08 Feb 2016 17:27:59 +0000 Message-ID: References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> <83fux3qgia.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454952511 28509 80.91.229.3 (8 Feb 2016 17:28:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 17:28:31 +0000 (UTC) To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 18:28:31 2016 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 1aSpby-0002yD-Mn for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 18:28:30 +0100 Original-Received: from localhost ([::1]:47147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpby-0004Jg-56 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 12:28:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpbl-0004JG-KS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:28:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSpbk-0004mJ-Rr for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:28:17 -0500 Original-Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:35554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpbj-0004k0-6P; Mon, 08 Feb 2016 12:28:15 -0500 Original-Received: by mail-ob0-x234.google.com with SMTP id xk3so162216916obc.2; Mon, 08 Feb 2016 09:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=04K4FBEfH5krydNrWZkmjbrQHqXPFCgcLCwi+rg03yI=; b=raovwoJavLv3Xv5rrYzG8jWOwtOnEIwLkgH1ejuwXGcqmAwdw98pQFNf5gGZTmtQ6U 73o3KkJKYAWwQY5goKQbrK89AGGCqTFkMuDTTpxLYL5vifljJo15MmJBnut3456rubNp uRf7C8KLwaBRleFon/QHMQooFr80CyRcWHo/zxnMhkFsYxVlntB1umLdSfjrk0wd3J4v KKNU5hX7mRB/HOsC8pZ1Yl4OB1gCFG+P93WhPykJ7TREsgJ0W2PT9XCyWFSG0CW+0TQl BRAS7mwGABhivT7MSIDw4CYAhp1hfcFUl9uvtMuL8hnl2h2OLC95KKnE9UE9nWFVmiVT 69WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=04K4FBEfH5krydNrWZkmjbrQHqXPFCgcLCwi+rg03yI=; b=ceiy9QE5nREO6oi/0fQHHBZb0YwVA+kInVyHAsLrElmYUAikGUTRVzRG/1bswaPAyj S7l3eTGrpvFVREX7dV5Zg5CNOnKPiuMtrXnaGF8W6RjwOpumYGcM4/E1CPZRz+TlDxpV upKBkywZEALrg6ULzPzEYP9/tekarmclzEYMRnrV6jNxz7d4jEW/dpEL0YbpRFHC9D/V S5ksFcFYmqoIQ0aO2yYUv4h79xnC/76oJ3F4OZfFIx1E4s3NJBxog4Wb8xWoNvmJdNuX AQklyWGKDxbMsuUjom8j+ruHnfhACHLx2HAi2RXq5HUC4I2qd0+qbevXdnesoPLVEqjM LEgQ== X-Gm-Message-State: AG10YORrYZlru5C+Hyjkn/pxf/nlQ0IK4WH9a7szsCs22XYoq0Q2jnb3uCMahTg1/xA5N2+d3+5VQleV4ZY5CA== X-Received: by 10.60.42.10 with SMTP id j10mr27440713oel.29.1454952490070; Mon, 08 Feb 2016 09:28:10 -0800 (PST) In-Reply-To: <83fux3qgia.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:109050 Archived-At: On Mon, Feb 8, 2016 at 12:17 PM Eli Zaretskii wrote: > > Here's what "the book" says: > > -- Variable: mark-active > The mark is active when this variable is non-=E2=80=98nil=E2=80=99. = This variable > is always buffer-local in each buffer. Do _not_ use the value of > this variable to decide whether a command that normally operates on > text near point should operate on the region instead. Use the > function =E2=80=98use-region-p=E2=80=99 for that (*note The Region::= ). > > Thanks Eli. I should have looked there first. Thanks for the pointer.. fixing it now :)