From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Notify region-extract-function change in NEWS? Date: Sat, 06 Feb 2016 02:30:35 +0200 Organization: LINKOV.NET Message-ID: <87r3gqso64.fsf@mail.linkov.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454721243 24036 80.91.229.3 (6 Feb 2016 01:14:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 01:14:03 +0000 (UTC) Cc: Emacs developers To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 06 02:13:54 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aRrRh-0001xM-I8 for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2016 02:13:53 +0100 Original-Received: from localhost ([::1]:51181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRrRg-0003cH-MS for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 20:13:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRrRR-0003Xs-QL for emacs-devel@gnu.org; Fri, 05 Feb 2016 20:13:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRrRM-0004Wc-Qn for emacs-devel@gnu.org; Fri, 05 Feb 2016 20:13:37 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:59092 helo=homiemail-a22.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRrRM-0004WU-LS for emacs-devel@gnu.org; Fri, 05 Feb 2016 20:13:32 -0500 Original-Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id C1D9D1A8063; Fri, 5 Feb 2016 17:13:31 -0800 (PST) Original-Received: from localhost.linkov.net (62.65.227.106.cable.starman.ee [62.65.227.106]) (Authenticated sender: jurta@jurta.org) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPA id EFF761A805F; Fri, 5 Feb 2016 17:13:30 -0800 (PST) In-Reply-To: (Kaushal Modi's message of "Fri, 05 Feb 2016 20:29:19 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199394 Archived-At: > (Please advise if there's a better way to do that.) A better way to do that is to override the default value of region-extract-function using add-function. You could find some examples of add-function usages in http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=31f6e939334180add7bc11240343615a2e6350f6