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: Sun, 3 Feb 2019 21:02:07 +0000 (UTC) Message-ID: <4e3da72b-c98c-4156-91e2-a56275f28b59@default> References: <87a7ktqqx7.fsf@mail.linkov.net> <874lak9kr0.fsf@mail.linkov.net> <87zhscklhq.fsf@gmail.com> <87bm4qel4t.fsf@mail.linkov.net> <67c9abb5-f546-361f-04ca-da96ceaca4e2@yandex.ru> <87bm4le0tm.fsf@mail.linkov.net> <87imys6x5s.fsf@mail.linkov.net> <87d0osjtna.fsf@mail.linkov.net> <8ffaaddb-1d19-b9e9-83f1-83da89445eb8@yandex.ru> <87munmosx4.fsf@mail.linkov.net> <77b96dc5-a994-de78-64bb-40ba7625d40f@yandex.ru> <838sz0yni3.fsf@gnu.org> <87a7jd7v1g.fsf@mail.linkov.net> <83bm3twnhq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="23049"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 33870@debbugs.gnu.org, juri@linkov.net, dgutov@yandex.ru To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 03 22:03:16 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 1gqOv3-0005j6-Iq for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2019 22:03:13 +0100 Original-Received: from localhost ([127.0.0.1]:60397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqOv2-000850-M9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2019 16:03:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqOus-00084O-Va for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 16:03:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqOus-0005r9-7X for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 16:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqOus-0005r0-4B for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 16:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqOus-0004dT-0K for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 16:03: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: Sun, 03 Feb 2019 21:03:01 +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.154922773717758 (code B ref 33870); Sun, 03 Feb 2019 21:03:01 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 3 Feb 2019 21:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOu9-0004cM-8n for submit@debbugs.gnu.org; Sun, 03 Feb 2019 16:02:17 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:40328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOu8-0004c9-0u for 33870@debbugs.gnu.org; Sun, 03 Feb 2019 16:02:16 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x13L09GJ083928; Sun, 3 Feb 2019 21:02:10 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=KMPLwmFEAbrc0mgBURZTQasZfkP1LT15KdnNOqjft/0=; b=kTnmsxMUEdpCBf7Z/2xMsmgT2p39XtfpudYrqgMbrEV4BMMtH1exNv4KlzPOCbJa0XSD 3Xsq8mpLk3tzaH1JO/LTy3H8dvAxyyu9/hjH7qbRlu2fD4xtxDZlX1j6WQXYDC+HoIgN YJa1qb6yNLAdKfph1ARho3VEaddx75ZPZeHy1UUaZUer/MuPiCj1z1bFn1fzcaIDD9PY XYrglug2Nj3uE4clokAaqG1mXImfLr4XPvGPauVTyvictDq5HpMVx8jZ0+RPhl8yUk32 Ba4ZUwAO6y6In+UOLvT+EPGFBy3No4RdmSiE+DDcOYWOIMwVspgkXyfsrK4vz5jbQNDB lA== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2qd98mte0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 03 Feb 2019 21:02:10 +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 x13L28mU017183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 3 Feb 2019 21:02:09 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x13L27Ye022976; Sun, 3 Feb 2019 21:02:07 GMT In-Reply-To: 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=9156 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=18 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902030174 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:155064 Archived-At: > - Drew wrote something that I didn't read/understand > fully (sorry Drew!) I added 4 side points related to points that came up in the thread. Possibly you didn't read or understand one or more of them. Enjoy. 1. "Everything in Emacs is (and should be) public." All `display-buffer*' functions deserve doc strings or at least developer-oriented comments. 2. Don't limit future use by having something like (direction . (DIR . WIN)). Instead, as Juri suggested, use (direction DIR WIN), so you can easily later have (direction DIR WIN FOO), etc. 3. The mistake of #2 was made, e.g., when defining "noncontiguous region" segments: (BEG . END). A better design is (BEG END) or (BEG END . EXTRA), where EXTRA is from the outset undefined (any baggage). 4. All-encompassing DWIM for window selection and splitting is asking too much of Emacs. Guessing the intention of a user or code in all contexts is bound to lose some of the time, frustrating users. The code gets more and more complex, which doesn't help users guess what Emacs is guessing. ;-) I'm glad I instead use separate frames, by default.