From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 f708cb2: Clarify doc string of 'transpose-sexps' Date: Fri, 04 Nov 2016 20:33:38 +0200 Message-ID: <83oa1vjdrx.fsf@gnu.org> References: <20161104095223.23249.72530@vcs.savannah.gnu.org> <20161104095223.631AB22012D@vcs.savannah.gnu.org> <8737j7e3r5.fsf@gmx.net> <87y40zckn9.fsf@gmx.net> <977b7eaa-1c5f-4d8b-be5d-33ec73f5a962@default> <87twbncgve.fsf@gmx.net> <3687e9ab-658b-49b9-b766-8658d5c48374@default> <87pombceyc.fsf@gmx.net> <83cd67b5-cb42-4fea-b6be-21e9ec8075a7@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1478284474 29431 195.159.176.226 (4 Nov 2016 18:34:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2016 18:34:34 +0000 (UTC) Cc: stephen.berman@gmx.net, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 04 19:34:30 2016 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 1c2jJZ-0004SJ-By for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2016 19:34:09 +0100 Original-Received: from localhost ([::1]:40272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2jJc-0002J3-8J for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2016 14:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2jIl-0002Hr-SC for emacs-devel@gnu.org; Fri, 04 Nov 2016 14:33:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2jIh-0006f3-R1 for emacs-devel@gnu.org; Fri, 04 Nov 2016 14:33:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2jIh-0006et-OZ; Fri, 04 Nov 2016 14:33:15 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2528 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c2jIg-0001Ez-SG; Fri, 04 Nov 2016 14:33:15 -0400 In-reply-to: <83cd67b5-cb42-4fea-b6be-21e9ec8075a7@default> (message from Drew Adams on Fri, 4 Nov 2016 11:00:39 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:209168 Archived-At: > Date: Fri, 4 Nov 2016 11:00:39 -0700 (PDT) > From: Drew Adams > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Here's a thought: Are any of the behaviors resulting from > trying that useful? No, none of them is. The only useful behavior is when point is between the two sexps you want to transpose. > It is really not great to tell someone they "cannot" or > "must not" etc. do something without raising an error that > really enforces "cannot" etc. If someone comes up with a way to lift that restriction, we could remove this text from the doc string. but as long as the command works as it does, I think we should document that, or else we will have bug reports about its not meeting expectations.