From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33870: 27.0.50; xref-goto-xref not configurable Date: Wed, 30 Jan 2019 13:39:57 -0800 (PST) Message-ID: <0173b633-4dd0-4af6-aa4f-587072ef1f30@default> References: <87a7ktqqx7.fsf@mail.linkov.net> <87wongazxq.fsf@mail.linkov.net> <5C346C49.6060003@gmx.at> <8736q2ka0h.fsf@mail.linkov.net> <5C35C718.6000706@gmx.at> <874lahwgau.fsf@mail.linkov.net> <5C371C22.2030304@gmx.at> <874lag8d2g.fsf@mail.linkov.net> <5C3860D9.2090809@gmx.at> <87tvide172.fsf@mail.linkov.net> <5C3AF815.3020100@gmx.at> <87won89rb8.fsf@mail.linkov.net> <5C3C40E9.6030905@gmx.at> <87sgxlu3qe.fsf@mail.linkov.net> <5C498043.5040008@gmx.at> <87womqp08r.fsf@mail.linkov.net> <5C4F4C42.1090305@gmx.at> <87r2cw35s7.fsf@mail.linkov.net> <5C5013BE.6090107@gmx.at> <877eenjhl6.fsf@mail.linkov.net> <27bdf3e7-565c-411c-8767-0ad4437f8e9c@default> <87r2ctn9fr.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57299"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 33870@debbugs.gnu.org, joaotavora@gmail.com, dgutov@yandex.ru To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 22:41:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goxbb-000El5-Ho for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 22:41:11 +0100 Original-Received: from localhost ([127.0.0.1]:44585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goxba-0000fw-Gt for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 16:41:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goxbT-0000ed-Bs for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 16:41:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goxbS-0005rl-MX for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 16:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goxbS-0005rY-Im for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 16:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goxbS-0007G8-Cj for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2019 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33870 X-GNU-PR-Package: emacs Original-Received: via spool by 33870-submit@debbugs.gnu.org id=B33870.154888441327828 (code B ref 33870); Wed, 30 Jan 2019 21:41:02 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 30 Jan 2019 21:40:13 +0000 Original-Received: from localhost ([127.0.0.1]:52001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goxae-0007Em-RD for submit@debbugs.gnu.org; Wed, 30 Jan 2019 16:40:13 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:54552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goxad-0007EX-BY for 33870@debbugs.gnu.org; Wed, 30 Jan 2019 16:40:11 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x0ULTLje060798; Wed, 30 Jan 2019 21:40:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=CKAolSqTePR1crNzlMFJPehAyxmyzIRrVXShkvRtRlg=; b=4nBmArIQjcuNC6DF9ZWqvQhqwVXIJ2PMBRshjTucug9+wDg1j0erh7PiNoHLchqUZ2ii TLUvT2BQiT7LKxynbCfGUcN/9XrPRm3Oq/v0vyDqHGnLHBgBDmZEyBrShJFfWPkLSoT4 r89SO+iDEOsYwHato7V2YX+DH+x9laUTyiVFjteD764YfUymbLFuRekeOeMoNvJ3T1rB FIzoy99QgFgj+f/L8ZgfhkMiZ6SAm6UuvPtlAPwXNnvAyyfDhZz12i8ZUWWkSMlyI5az NpeM+rgmYdVU8c6T+nylOJh82jOJemRxBKABIy/2GvGUCm49dbf5A6IEdfJVsf/UCxDc HQ== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2q8eyun5xq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Jan 2019 21:40:05 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0ULdxbG001877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Jan 2019 21:39:59 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x0ULdwkp021606; Wed, 30 Jan 2019 21:39:58 GMT In-Reply-To: <87r2ctn9fr.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4795.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9152 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=779 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901300158 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154913 Archived-At: > > Example: > > > > Whoever designed the Lisp representation of a > > noncontiguous region trapped us the same way. > > By using a dotted pair of scalar values, that > > design pretty much precludes adding other info > > besides the start and end limits to a region > > segment. >=20 > You can override region-extract-function with your own > implementation that can support any shape you want. 1. It's not about the region shape - at all. 2. The point is more general. Code that invokes the function that is the value of the variable does not, in general, know what function that is. It can only expect, based on the default value of the function, that for input `bounds' it gets a cons (START . END). IOW, any function used as the variable value really needs to return bounds of the same form, if it expects to be used in more than an odd, narrow context. In general, such a function will not know or care what context it's used in. As a result, developers will provide functions that model the args and return values of the default function. The default function was designed with a poor choice for the value returned by input `bounds'.