From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: "internal" designation [ Date: Wed, 12 Oct 2016 08:47:35 +0200 Message-ID: <932af79c-79ab-ffec-e9d1-3c67f01bddc5@easy-emacs.de> References: <48df5626-be32-ffb0-55f5-1b6f116a6940@easy-emacs.de> <87fuo3r1p0.fsf@gmail.com> <08d6c55e-f060-fabc-5657-2e80a1d06ab0@easy-emacs.de> <878ttu97e3.fsf@gmail.com> <37cfca80-c58d-41b5-9cb5-b510bb97ecc5@default> <0568ffe9-4dc2-44fe-c2a2-4ea99f9cf4e4@easy-emacs.de> <87mviaup7a.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1476254421 29807 195.159.176.226 (12 Oct 2016 06:40:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2016 06:40:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 Cc: Drew Adams , emacs-devel@gnu.org To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 08:40:18 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 1buDD7-00077R-Dl for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2016 08:40:17 +0200 Original-Received: from localhost ([::1]:59534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buDD5-0003tY-QN for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2016 02:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buDD0-0003qL-6u for emacs-devel@gnu.org; Wed, 12 Oct 2016 02:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buDCw-0007iA-2V for emacs-devel@gnu.org; Wed, 12 Oct 2016 02:40:09 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:61122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buDCv-0007hQ-OM for emacs-devel@gnu.org; Wed, 12 Oct 2016 02:40:05 -0400 Original-Received: from [192.168.178.35] ([77.12.110.26]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LymEJ-1apCll1Cz9-0167WJ; Wed, 12 Oct 2016 08:39:58 +0200 In-Reply-To: <87mviaup7a.fsf@gmail.com> X-Provags-ID: V03:K0:R4j3tyTsj/lddMPUVMnPUSvV6Sm1+1sJcV8pHDhp3ZqP6Yfci8U ITlvJoLEWi2RVWeFFR/msQv4oTMsY/KQpW3pKbnMhEEfg43IB4uGMCBo9tlQWZQlKfE8LmL ILFatozvNywx49jb4mIT13Z6WQ4BJ3r8/u9YAbHPQ3JA5lej2wM43MEkpfeu4pgffe1Z7UC bm3K0gonmj+RHQiGjhEYw== X-UI-Out-Filterresults: notjunk:1;V01:K0:OdH+Dcu3q70=:lEOd494Z/wrrIt5j+hOu5d 6uzPWw4ABqcq3lGAGxucUWp7bi8QnxnwkffBON+rqLzH+/h1X4aQhzLJHTWJ2shxpyUtvtsZH cdh0jgRtGVaSG4aEQwd6WwzOi3JReppvnLh2hDcHsoIn+Z7dqt2fO0GxvWLdeLeBdz42NViaF KG1+OosEy93XSq87sK+j4xH9ADSlx59PGNoY+e651c7lCn14vSC37+O/kag5xT3RzO3cjWtPY RjziW+droonZICPokC/Kc+DXJSexcON9YzvuuYasL3Q2GwvyZYMBPdG6gbgJ+u81trWpeBR17 326mxcRwt+eE/N9Jgi24VeSLWrJe2xjIj18qT4BItjgwFB396aDKO/oXPws7J7ibdqTDxtYdB wXMAX32sPpbO6yZCuzkQAtky2J7auLFkcWy3+zbi5izYA4gtKUOWs2xUQUYo6lKztYMB+J12O f+XxjeTkjDL5EGwB7BXqGISk/E/KY7Shp28S0yXyki1T9rxuo9oRtPhYPJfT6+2M/OjdPcHDq qR3eaAH5r0zROMjCF29pu05EmMmTQBGzXTMjFutux1E9itVBd9rHhTs5M1fcpE1oJeG19h+eP WY6zhrUSnfYZvRVL3FvuWKj/uxOO5d89foGcNi5FbosuYvv9Ngn+HtQME2GKxzf+s0bRxKkME aRipA1+c5IXjAoV1/4HfMf4Bs00bAhU5H1J+aEWvShl3ltdPKvDFLXIQnCF3mCBEgbrSJN4vI BPJEr1sMqNixJUp0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.75 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:208169 Archived-At: On 12.10.2016 07:11, Tino Calancha wrote: > Andreas Röhler writes: > >> On 11.10.2016 19:20, Drew Adams wrote: >>> (Sorry - I initially put this in a reply to the bug thread. >>> Meant to send it here.) >>> >>>> (defun thing-at-point-bounds-of-list-at-point () >>>> "Return the bounds of the list at point. >>>> -[Internal function used by `bounds-of-thing-at-point'.]" >>>> +\[Internal function used by `bounds-of-thing-at-point'.\]" >>> FWIW: >>> >>> I object to such an "internal" designation being in that doc string. >> BTW this function looks redundant - can't see why lists shouldn't be >> dealt with from >> >> bounds-of-thing-at-point [ ... ] > . > I guess, trying to modify `bounds-of-thing-at-point' to match all kind > of entities would increase the complexity of that function too much. IMHO it's the other way around. The proceeding is quite simple (or (get thing 'end-op) (lambda () (forward-thing thing 1)))) (funcall ;; Then move to beg. (or (get thing 'beginning-op) (lambda () (forward-thing thing -1)))) The current design maintains two approaches in parallel. Can't see why beg-op resp. end-op shouldn't be able to deal with lists.