From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33870: 27.0.50; xref-goto-xref not configurable Date: Sun, 27 Jan 2019 22:23:32 +0200 Organization: LINKOV.NET Message-ID: <87womqp08r.fsf@mail.linkov.net> References: <87a7ktqqx7.fsf@mail.linkov.net> <878t011lch.fsf@mail.linkov.net> <83lg403o9c.fsf@gnu.org> <87r2dq8z9n.fsf@mail.linkov.net> <5C31C477.9040108@gmx.at> <874laluz3g.fsf@mail.linkov.net> <5C3315E6.9010709@gmx.at> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149589"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 33870@debbugs.gnu.org, joaotavora@gmail.com, dgutov@yandex.ru To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 27 21:43:18 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 1gnrGt-000cj0-6k for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Jan 2019 21:43:15 +0100 Original-Received: from localhost ([127.0.0.1]:50235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnrGs-0005uN-1f for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Jan 2019 15:43:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnrGh-0005tB-Ee for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 15:43:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnrGg-0004ZR-O5 for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 15:43:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnrGg-0004ZM-Kq for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 15:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnrGg-0000og-Er for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 15:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Jan 2019 20:43: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.15486217743111 (code B ref 33870); Sun, 27 Jan 2019 20:43:02 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 27 Jan 2019 20:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:47998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnrGX-0000o7-Rs for submit@debbugs.gnu.org; Sun, 27 Jan 2019 15:42:54 -0500 Original-Received: from goldenrod.birch.relay.mailchannels.net ([23.83.209.74]:15161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnrGV-0000nx-FP for 33870@debbugs.gnu.org; Sun, 27 Jan 2019 15:42:52 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9897F5C3D32; Sun, 27 Jan 2019 20:42:49 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a41.g.dreamhost.com (unknown [100.96.19.74]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 48B575C3BBA; Sun, 27 Jan 2019 20:42:49 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a41.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sun, 27 Jan 2019 20:42:49 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Hysterical-Harmony: 4360b0154d285d18_1548621769446_1933394254 X-MC-Loop-Signature: 1548621769446:155963935 X-MC-Ingress-Time: 1548621769446 Original-Received: from pdx1-sub0-mail-a41.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a41.g.dreamhost.com (Postfix) with ESMTP id 00F6A7FDFC; Sun, 27 Jan 2019 12:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=kK0bHri1UF2C2NM0lt2PT5iQp0Q=; b= pnXUy5LYMZaxCd58Qhykp1aCOcWA/7FYuFYPr+F+2UyWON0gJ8v1In0Gt4KI+imW WqnzXmQZCsrTq+dqyvQPJbInPH3mH4jAKh2RDqHU93RsDH4dRwYruuY1EBOVOvFn alFRsi3MKh2e5kwmM+vTp2SNN7+/hgPf8orYRdLjX9U= Original-Received: from mail.jurta.org (m91-129-101-91.cust.tele2.ee [91.129.101.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a41.g.dreamhost.com (Postfix) with ESMTPSA id 1AD087FDFB; Sun, 27 Jan 2019 12:42:45 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a41 In-Reply-To: <5C498043.5040008@gmx.at> (martin rudalics's message of "Thu, 24 Jan 2019 10:07:15 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrieekgddugedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutddurdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutddurdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgeptd 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:154827 Archived-At: > I've already forgotten what we really want. Find attached a draft of > what I had in mind in the beginning and fill in the details, if > possible. Thanks, some suggestions to simplify its usage: 1. avoid using dotted pair notation that often causes problems; 2. instead of asking the user to invent a value to use for the selected window, allow omitting it in this case, by reversing WIN and DIR, for example: display-buffer-in-direction (direction DIR WIN) display-buffer-in-direction (direction up main) display-buffer-in-direction (direction up) -- by default means from the selected window PS: what about 'resize-to-fit'? I guess it's impossible to implement it as an alist, because currently fit-window-to-buffer/preserve-size usually are used as an argument of the macro 'with-displayed-buffer-window'.