From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Do indent-region only on editable buffers Date: Mon, 07 Aug 2017 16:03:52 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502147246 32213 195.159.176.226 (7 Aug 2017 23:07:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2017 23:07:26 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2.50 (darwin) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 08 01:07:10 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1der73-0007Ne-E0 for ged-emacs-devel@m.gmane.org; Tue, 08 Aug 2017 01:07:05 +0200 Original-Received: from localhost ([::1]:39920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1der77-0001DT-V7 for ged-emacs-devel@m.gmane.org; Mon, 07 Aug 2017 19:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1der6T-0001Bj-C6 for emacs-devel@gnu.org; Mon, 07 Aug 2017 19:06:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1der6O-0000qP-ET for emacs-devel@gnu.org; Mon, 07 Aug 2017 19:06:29 -0400 Original-Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:34842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1der6O-0000qI-8r for emacs-devel@gnu.org; Mon, 07 Aug 2017 19:06:24 -0400 Original-Received: by mail-pf0-x22f.google.com with SMTP id t86so6992951pfe.2 for ; Mon, 07 Aug 2017 16:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=UqwXWNbiAW0l5IOeJZvtMQ2sTFfEQdpB70taaImrCYE=; b=OIloUedRqJDdG3KLvA0a8/cEuI/Cfrdlx0prhK4UZWiMXZZZAuofFFzmlt90UA+4XJ wT0Uo7wVi4oZj0ifhtB7mhBGxM4K8exG97a1lMXDIg7b1eEA0ZGC8BU9CRA6E4wpfiA+ tdp0p9l+cKFp1KgIeBgBKjvOJkXw8dCn6SznmKjCYcz2MfWHYLJ89QfxqDJQ7ERcSh+l ltSTKCKnfO3t/HMjuUTWhKQ9WYFMoFT0DEjDsZ5dFXtZ45nWTntkbr2JU4PweMyYeY8f HvCBDv1xrjicS3aUpp19opsEjGSTIUkDLCYLmrEC3/Vp1ZhSpS7NCO/qe76JL78NQAzx 0p0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=UqwXWNbiAW0l5IOeJZvtMQ2sTFfEQdpB70taaImrCYE=; b=mdX1p24CmhIF++0mmn3iH+4w4XSCOIkr4Y87lUps5X8bksT/CMspSKkc2oB7IO5kO+ 4OxV1D87sspDJ/DxgtoflS8CMbbPiq1GKxdc/Nx7o799weCF3A1SZDrv8uaz0ThsVoBD N5kpIp6REPL7PzHRLYQzaoNESKImzkPf2doNO/ryFqM+vEfQNqFXjboKCVCtl5TDQKK3 /OuxNJdIVk7ceJoM0xrVrEihtQaFSO7BbUsw8PM7cFdBxbTzyhltX4scZVP+S8Zbw80g wTv5Jq86RS4MIWsumdV662CPbSdoXiacDnNqvDf5f7HrwaNxAyilrIC/ROexK9+/dX6q q74A== X-Gm-Message-State: AHYfb5h/TCfyQzKgqcr8ykgN9Bb+4LKmOmIB/nM8dvasGuuONP6AzEsI bSqI+bam5mO5dr9F0MU= X-Received: by 10.99.1.203 with SMTP id 194mr2007548pgb.315.1502147182914; Mon, 07 Aug 2017 16:06:22 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id t3sm14830069pfb.147.2017.08.07.16.06.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 16:06:22 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 90B6477F4908; Mon, 7 Aug 2017 16:06:20 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 07 Aug 2017 15:55:17 -0400") Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217367 Archived-At: >>>>> "SM" == Stefan Monnier writes: >> The proposal is to call (barf-if-buffer-read-only) before attempting to do >> the indent. SM> No objection here. Nor here. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2