From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: [PATCH] Improve docstring for delete-active-region (was Re: [WIP PATCH] Adding more keybindings to rectangle-mark-mode-map) Date: Sat, 8 May 2021 11:57:53 -0700 Message-ID: References: <83czu98vws.fsf@gnu.org> <83lf8x6rtv.fsf@gnu.org> <87r1ioi74z.fsf@linux-m68k.org> <875yzt90k5.fsf@linux-m68k.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d1ec3205c1d61f07" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24081"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 20:58:54 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfSAA-0006A7-9W for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 20:58:54 +0200 Original-Received: from localhost ([::1]:39266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfSA9-0001EK-B3 for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 14:58:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfS9Q-0000Ty-NY for emacs-devel@gnu.org; Sat, 08 May 2021 14:58:08 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:44701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfS9P-0008Fa-0y; Sat, 08 May 2021 14:58:08 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id a5so3411827pfa.11; Sat, 08 May 2021 11:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Rmyk51vFhqTtAAblKBC2nNTiYKY+vEFTAspmUZMmZPc=; b=gFyZvXUa6326nEq7U9PGOUvOP8/7MOMcvDMTv17u2NG/+1UDMvx1bfTNCeFOCisaa0 kWcIUEtvINPdGu7HYFbZyvM4tdlNm6WK60g08RsydSLtvCa7XVC18iHwUeh1Y4Xtpvq+ VrGph0/B/f4JXVWrmV+SHlOIcEZlsxw0atlNfWkXYhFwZ331sEQynzyo74KFHNJ6Y1q0 hhKsBSCUMjusuHrBdXZXttBp2tuIK0fdP0U/kTr8O0ajQP5qv3gBkc6hxUFz2zB4cM3A zB+rCZ0obONgdMqcEtMfSHEbNVuC65JzvhROBKqOdZ68KB17L2Hoz3QPCN7xk9wcCAkC vb8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Rmyk51vFhqTtAAblKBC2nNTiYKY+vEFTAspmUZMmZPc=; b=SU+V5dqjvy6ko0bNX6sBZHXHIxyMPqtWQLv7zMKm+UIf5/y6EAF8PTu4Ho0Y85Z48v ROEcXh2d8UoGOoLFcf7Scbve0+uLMVmG6DGbs80VqFDJ0hITu9wWE3Fk6tSRMj1o9d2k aPxiExOQ7egY0dsIWX8LW/kSooUu5MyzXJhvzXshhjVK4jgiIyGz0+bwa3ut//Vsz7nx x07fA1uTiQ5auGqQNYXYg4vV7reFX1tVtkQgmTtkz99Y/lKnIt8JmdTQv4xWtAKfoD5m leEpD6gwTS971ma8PTgYmYXkE4h9WKUo2ufKIJl90G2AEiqN2Y/4MLxce9b3+P9UtF/w EWOw== X-Gm-Message-State: AOAM5337XIvntLtPxKMyTJRrLEiPDjB87z3tB52bWH4eaJtjGfZ+m1JG 7jtRXVWBLwDI4B0Hh5NNFojCf2iEy08yPVmUD9A= X-Google-Smtp-Source: ABdhPJwaT4KTc1K+e/oj1D7J7lanLlSQe1xSaWlQ2LdRDfnUZD3p8M/oo4Ex+UdSmoy0hsy1Xj4o7FlyfbQOncaDPsg= X-Received: by 2002:a62:6301:0:b029:28c:d3cb:7a8c with SMTP id x1-20020a6263010000b029028cd3cb7a8cmr16853514pfb.4.1620500284558; Sat, 08 May 2021 11:58:04 -0700 (PDT) In-Reply-To: <875yzt90k5.fsf@linux-m68k.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269063 Archived-At: --000000000000d1ec3205c1d61f07 Content-Type: text/plain; charset="UTF-8" On Fri, May 7, 2021 at 11:55 PM Andreas Schwab wrote: > Please describe the effect of the prefix in the doc string. Good point. How does this look? I've also attached a tiny patch to improve the docstring for the next function in the file, `delete-selection-repeat-replace-region'. It was using a literal "C-u", so I modified it to use "\\[universal-argument]". - Jim --000000000000d1ec3205c1d61f07 Content-Type: application/octet-stream; name="0002-Improve-docstring-for-delete-selection-repeat-replac.patch" Content-Disposition: attachment; filename="0002-Improve-docstring-for-delete-selection-repeat-replac.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kog3zl3j1 RnJvbSAzNTkxNjZkNjMyYTExMzE0NWVlNzFjNGUxOGYwMzg5M2YxODFhYTc2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5jb20+CkRh dGU6IFNhdCwgOCBNYXkgMjAyMSAxMTo1MzoyNyAtMDcwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBJ bXByb3ZlIGRvY3N0cmluZyBmb3IKIGRlbGV0ZS1zZWxlY3Rpb24tcmVwZWF0LXJlcGxhY2UtcmVn aW9uCgoqIGxpc3AvZGVsc2VsLmVsIChkZWxldGUtc2VsZWN0aW9uLXJlcGVhdC1yZXBsYWNlLXJl Z2lvbik6ClVzZSAiXFxbdW5pdmVyc2FsLWFyZ3VtZW50XSIgaW5zdGVhZCBvZiBsaXRlcmFsICJD LXUiIGluIGRvY3N0cmluZy4KLS0tCiBsaXNwL2RlbHNlbC5lbCB8IDIgKy0KIDEgZmlsZSBjaGFu Z2VkLCAxIGluc2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvZGVs c2VsLmVsIGIvbGlzcC9kZWxzZWwuZWwKaW5kZXggNzVjYzJiMWMyZS4uM2M5OWRkMjM0NCAxMDA2 NDQKLS0tIGEvbGlzcC9kZWxzZWwuZWwKKysrIGIvbGlzcC9kZWxzZWwuZWwKQEAgLTEwOCw3ICsx MDgsNyBAQCBkZWxldGUtc2VsZWN0aW9uLXJlcGVhdC1yZXBsYWNlLXJlZ2lvbgogICAiUmVwZWF0 IHJlcGxhY2luZyB0ZXh0IG9mIGhpZ2hsaWdodGVkIHJlZ2lvbiB3aXRoIHR5cGVkIHRleHQuCiBT ZWFyY2ggZm9yIHRoZSBuZXh0IHN0cmV0Y2ggb2YgdGV4dCBpZGVudGljYWwgdG8gdGhlIHJlZ2lv biBsYXN0IHJlcGxhY2VkCiBieSB0eXBpbmcgdGV4dCBvdmVyIGl0IGFuZCByZXBsYWNlcyBpdCB3 aXRoIHRoZSBzYW1lIHN0cmV0Y2ggb2YgdGV4dC4KLVdpdGggQVJHLCByZXBlYXQgdGhhdCBtYW55 IHRpbWVzLiAgYEMtdScgbWVhbnMgdW50aWwgZW5kIG9mIGJ1ZmZlci4iCitXaXRoIEFSRywgcmVw ZWF0IHRoYXQgbWFueSB0aW1lcy4gIGBcXFt1bml2ZXJzYWwtYXJndW1lbnRdJyBtZWFucyB1bnRp bCBlbmQgb2YgYnVmZmVyLiIKICAgKGludGVyYWN0aXZlICJQIikKICAgKGxldCAoKG9sZC10ZXh0 IChhbmQgZGVsZXRlLXNlbGVjdGlvbi1zYXZlLXRvLXJlZ2lzdGVyCiAgICAgICAgICAgICAgICAg ICAgICAgIChnZXQtcmVnaXN0ZXIgZGVsZXRlLXNlbGVjdGlvbi1zYXZlLXRvLXJlZ2lzdGVyKSkp Ci0tIAoyLjI1LjEKCg== --000000000000d1ec3205c1d61f07 Content-Type: application/octet-stream; name="0001-Improve-docstring-for-delete-active-region.patch" Content-Disposition: attachment; filename="0001-Improve-docstring-for-delete-active-region.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kog3zl3b0 RnJvbSBhYjFmYzdiM2U0NWEwNjQ1YjMxM2E3YWIyODViYjkyNmU3Mjc5MDEyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5jb20+CkRh dGU6IFNhdCwgOCBNYXkgMjAyMSAxMTo1MzoxNiAtMDcwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSB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