From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Willemse Newsgroups: gmane.emacs.bugs Subject: bug#18478: [Patch] Mention the return value of `clone-indirect-buffer' Date: Thu, 18 Sep 2014 00:49:18 +0200 Message-ID: References: <5e3be79b-89f5-40a1-8024-be65f99af255@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1410995474 22106 80.91.229.3 (17 Sep 2014 23:11:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2014 23:11:14 +0000 (UTC) To: 18478@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 01:11:07 2014 Return-path: Envelope-to: geb-bug-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 1XUONO-0002Kh-5W for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 01:11:06 +0200 Original-Received: from localhost ([::1]:47675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUONN-0002J6-Md for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 19:11:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUONG-0002HN-3J for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 19:11:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUONA-0002Ys-I0 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 19:10:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUONA-0002YJ-7r for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 19:10:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XUO30-0002bA-6z for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 18:50:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <5e3be79b-89f5-40a1-8024-be65f99af255@default> Resent-From: Tom Willemse Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Sep 2014 22:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18478-submit@debbugs.gnu.org id=B18478.14109941689933 (code B ref 18478); Wed, 17 Sep 2014 22:50:01 +0000 Original-Received: (at 18478) by debbugs.gnu.org; 17 Sep 2014 22:49:28 +0000 Original-Received: from localhost ([127.0.0.1]:43682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUO2R-0002a8-WF for submit@debbugs.gnu.org; Wed, 17 Sep 2014 18:49:28 -0400 Original-Received: from r0.smtpout1.alwaysdata.com ([176.31.58.0]:40346) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUO2O-0002Zz-Pv for 18478@debbugs.gnu.org; Wed, 17 Sep 2014 18:49:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=ryuslash; h=Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From; bh=kF+t9s6FC6i1+0Y5UZljiI1MLijZw0EgvQB5F1rW2yA=; b=AAFR9+Y12D8iVDz41Srrg8nc2kAAJnMpOhNw1wP4ERJgM+cR5ZquWf1UsyPPQT/wiIzACeINblSE4OSceIOjzbC1JqKe0xnwx5wCIQJYZzd4w/uljteg5zkvumm1vhVaESFvnneIYSCRCCMbEBUGOD1QzRTtTRD8meJK3IVjCT0=; Original-Received: from [2a02:1812:2193:2c00:f24d:a2ff:fede:451c] (helo=localhost) by smtpout1.alwaysdata.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.77) (envelope-from ) id 1XUO2I-0002cC-Q1; Thu, 18 Sep 2014 00:49:18 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-alwaysdata-ID: 22003230 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93440 Archived-At: --=-=-= Content-Type: text/plain Hey, I hope it's ok that I'm replying to this bug. I've attached a suggestion for mentioning the return value for `clone-indirect-buffer'. Please let me know what you think. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=fix-18478.patch Content-Description: Patch mentioning the return value # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: tom@ryuslash.org-20140917220512-i61eqo2e0ir8dhdl # target_branch: bzr://bzr.sv.gnu.org/emacs/trunk/ # testament_sha1: 14f39b93edb4937309c738111fb8220fc3776acd # timestamp: 2014-09-18 00:10:58 +0200 # base_revision_id: eggert@cs.ucla.edu-20140917195831-xarn36t9318izhtl # # Begin patch === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-09-17 09:17:27 +0000 +++ lisp/ChangeLog 2014-09-17 22:05:12 +0000 @@ -1,3 +1,7 @@ +2014-09-17 Tom Willemse + + * simple.el (clone-indirect-buffer): Mention the return value. + 2014-09-17 Reuben Thomas * progmodes/js.el: Add interpreter-mode-alist support for various === modified file 'lisp/simple.el' --- lisp/simple.el 2014-08-28 01:59:29 +0000 +++ lisp/simple.el 2014-09-17 22:05:12 +0000 @@ -7577,7 +7577,9 @@ This is always done when called interactively. Optional third arg NORECORD non-nil means do not put this buffer at the -front of the list of recently selected ones." +front of the list of recently selected ones. + +This function returns the newly created indirect buffer." (interactive (progn (if (get major-mode 'no-clone-indirect) # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWRFVfucAAiffgAAwUHP/91oG BIC////wUAR28NGmxzklac2hJSmmFPFNN6AnpTxI8KNPUaA0DBlBMAEU/SE0bUAAaAABIkCmE0Ta Kek21Q00aNDTQHqZMMNDQAAAaAAAAAEkUyNAmCMRNMJPU8ojIabINEDW8RUos8613hLcssjmq15g GkWwhmzUh0Ut7GUCrDrL2mP8d6/s67G4zZSThHHHQj8l3/ofqOfgT2jqS5wP+iYTKXUcI0xDy4X4 +X21cg5Hf3CZhG5ccT014fgqtPYrHIJgGDeW3gYzalPqwt/JQ0bDdV91BFvGsRJZmBdbIy1toFey 0cwm7YJTMJRJlI9SAuLAZ2EfnYJwUPiVzKpM6hAIzEsqQLVdc6dc+MrjV0KcDeYODMSBiJWS5tN5 SChrEoIO0ClxpKRro2GyiDsC600ee1YixTM+BcYGzLQCUKCJe8kF4qu7oUBagTxQPwIPVWUnA/Us CNU+0xdErrD5gZkDWNNb4FJBVqu6DMLytCsu5Kcnsvm+RBnyMVrsVMhiDqsLdbShuNNsCxljqusP 2K3VqM6qVyiBNfaV5Wvt84KKtKafGwgfkXPyFfrIoKTmByVWht0FKwpJjIfNPGUNsxsIOqLHApaW fBOVkTWqwziDsJ43vk5zNewLlfNRwd92cILSIsoutoCZpYAQsnhPZExTNXCgq4whXnauOI5l4ZuM jHeZ/Yz6OjK69vZCOGt1xhTgHW6kmrkW1M7F6jd03sfFQ+sfz5eBFl3pDsXjG3+7SMCb7GSqPBo+ ndMOSgX+0pYXdctD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