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: Sun, 07 Feb 2016 17:46:52 +0000 Message-ID: References: <87a8ne2k6v.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1454867245 4593 80.91.229.3 (7 Feb 2016 17:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 17:47:25 +0000 (UTC) To: Michael Heerdegen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 18:47:25 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 1aSTQi-0006NW-R7 for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 18:47:24 +0100 Original-Received: from localhost ([::1]:36748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQh-00025G-NS for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 12:47:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQO-00023I-4A for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSTQN-0000vp-99 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:04 -0500 Original-Received: from mail-ob0-x243.google.com ([2607:f8b0:4003:c01::243]:33512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQN-0000va-3r for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:03 -0500 Original-Received: by mail-ob0-x243.google.com with SMTP id o4so5661173obb.0 for ; Sun, 07 Feb 2016 09:47:02 -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=qtqaWfH2rkdnptbnWLG8w6YBJpyhc4tD3M24roa7QZY=; b=T+1EWpyg2r4m6fFfUH7iwH13MueljShbDCYF6rBjElz9dWNdnU2gJ5JxAFQZkgGIAI rAPpCZZAZthtINgHFF7awDwCgS2y3mFaK7f8wJBy2AuQwyPiaIIMx0KPEgf1jsK2Wm4m 6806sOX2lJ0kkp2GHB26fQQNHd/9skkIkM3j3fCNgZ3sXspQryX58OZw7PmBCcFut7Al WnNqyWjYe4HM7HwEaSJPqFicDpXiU8PpZN6JG+8lftoNf0CETf6Dlh0AWok3LjctLKuE 103TdbASl7NAg/oLLEtsgWbj/NaXTEfTVJikymIIX/NQoBwBDxq6CuBtxYVCFNpLzfhj kj1g== 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=qtqaWfH2rkdnptbnWLG8w6YBJpyhc4tD3M24roa7QZY=; b=AZ8qrTCGIVvboHRhe4iTFer4XfNm1BEtELDUJTandYzplt0Bt5UntY5LcmdXTdtmNj YHsiQIHyx+KczgXmV00uJCIV0zX08fldgPulTnMjUs1D1SsVKy6+v5aWXtje73D3VOGY O36Qp0Ak3dhMtBcIyBSqecBFRACxlzKCIgts3zpe7+A6R9GiZgLIIQfp1Vhizh0JX3m2 yqGb0+OPpzw1xTnh/ASg3vtrG6o3LFfNjP5Lm+HhOqrZqVIka4wcTlr2Pb7fAKfBbtYT 6IoCrpeZEajd0XrkVGdY5rx+RzVj1d2X60kdVs89mORQ6DYxAtKyspS7R+1aT9PZr8sG TNxg== X-Gm-Message-State: AG10YOSwhbB6noM+nybJZtZcKmiSow8v6QOWhy6Z4WkjVU/xLcP/okCAR2nBpH+6FSKWthVRFlcMpsCzgJXMZA== X-Received: by 10.182.241.134 with SMTP id wi6mr20103126obc.81.1454867222604; Sun, 07 Feb 2016 09:47:02 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::243 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:109038 Archived-At: For the sake of completeness, this is how I actually needed to implement this advice in my config: https://github.com/kaushalmodi/.emacs.d/blob/1f9daf3587863de8561fc34e0bafda80be389dbf/setup-files/setup-editing.el#L686-L731 I am open to comments and criticism. Thanks!