From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] widen-limits c331b66: Implement buffer-widen-limits functionality Date: Thu, 24 Mar 2016 18:12:59 +0200 Message-ID: <83zitn26t0.fsf@gnu.org> References: <<20160322022539.16038.77264@vcs.savannah.gnu.org>> <> <> <<8737riqouj.fsf@gmail.com>> <<221845e0-b194-433e-bfbc-105272ae5752@default>> <<87twjyp21k.fsf@gmail.com>> <> <<56F242E0.7060004@online.de>> <<877fgtpfrw.fsf@gmail.com>> <<56F293E7.2000703@online.de>> <<87a8lpnusg.fsf@gmail.com>> <<83r3f12oo5.fsf@gnu.org>> <<56F2D156.9040401@online.de>> <<83k2kt2i51.fsf@gnu.org>> <<56F2E643.4060903@online.de>> <<592bbafa-76ae-49d9-b5cd-644b3619a0d8@default>> <<838u1835si.fsf@gnu.org>> <9307373f-0ecd-4825-8b9c-20280b9c92c0@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1458836027 3172 80.91.229.3 (24 Mar 2016 16:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2016 16:13:47 +0000 (UTC) Cc: spinuvit@gmail.com, andreas.roehler@online.de, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 24 17:13:43 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 1aj7tG-0005na-4G for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2016 17:13:42 +0100 Original-Received: from localhost ([::1]:51632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj7tF-0008GN-10 for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2016 12:13:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj7ss-00082e-Ck for emacs-devel@gnu.org; Thu, 24 Mar 2016 12:13:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj7so-0002lQ-6t for emacs-devel@gnu.org; Thu, 24 Mar 2016 12:13:18 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj7so-0002lM-3e; Thu, 24 Mar 2016 12:13:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3407 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aj7sm-0007L4-Q5; Thu, 24 Mar 2016 12:13:13 -0400 In-reply-to: <9307373f-0ecd-4825-8b9c-20280b9c92c0@default> (message from Drew Adams on Thu, 24 Mar 2016 07:41:50 -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.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:202184 Archived-At: > Date: Thu, 24 Mar 2016 07:41:50 -0700 (PDT) > From: Drew Adams > Cc: andreas.roehler@online.de, spinuvit@gmail.com, emacs-devel@gnu.org > > > > And the text about indentation and the use of sub-mode for only a given > > > chunk of text in a buffer is incomprehensible without some explanation. > > > Normally, a major mode, no matter whether it is derived from some other > > > major mode, has its effect on the entire buffer. > > > > > > It seems there is some non-negligible functionality/behavior/feature > > > that has not been documented. Not up to Emacs standards, it appears. > > > > > > It looks like someone perhaps implemented something and just tossed > > > some minimal doc into the manual, in the form of doc-string-like text > > > for a couple functions. Insufficient. > > > > "Compliments" such as these for something that caused me a > > considerable effort to produce where no documentation by the code > > developers existed in the first place is a very efficient method of > > convincing me never to make such efforts again. Not for this > > community, anyway. Thanks a lot! > > Please consider it instead as a statement that "the code > developers" for this feature (whatever it might be) should > themselves have documented it. Which is also what I think > you suggest. > > My plaint wrt what the user sees now (incomplete doc) is > essentially the same as your plaint that the code developers > did not provide adequate doc. I don't at all complain about > your effort to improve a complete lack by providing something > helpful. The documentation is complete. I have just re-read it to be sure, and I see no flaws there. If you still think there are gaps, and if the current text is unclear to you, that's a clear sign that the use cases in which these features are supposed to be used are something you never bumped into, and therefore you don't have a clear picture of the issues. Which is not a catastrophe, but it does mean that you are not the best person to criticize this part of the documentation. > As a user learning about this question for the first time, I > searched the manuals for "sub-mode" and similar expressions > to learn more, and came up empty-handed. I reported that. It is clear to anyone who understand the situations which need these features. Examples of such situations are part of the text in the manual. The fact is that this discussion thread references "sub-mode" or "submode" several times, and people who used that terminology evidently have to difficulty understanding what it is.