From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#26233: 26.0.50; [PATCH] Improve documentation for display-buffer-alist Date: Sun, 26 Mar 2017 10:38:25 +0200 Message-ID: <58D77E01.6000105@gmx.at> References: <<87o9wq6c31.fsf@wi.uni-muenster.de> <1a350894-ae16-4706-888f-6575cdc559ec@default>> <<878tnt6bdi.fsf@informationelle-selbstbestimmung-im-internet.de>> <<83shm1bvud.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1490517553 11100 195.159.176.226 (26 Mar 2017 08:39:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Mar 2017 08:39:13 +0000 (UTC) Cc: 26233@debbugs.gnu.org To: Drew Adams , Eli Zaretskii , Jens Lechtenboerger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 26 10:39:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cs3ha-00028V-DR for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Mar 2017 10:39:06 +0200 Original-Received: from localhost ([::1]:39991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs3hg-00046b-2t for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Mar 2017 04:39:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs3hZ-00046L-4y for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 04:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cs3hW-0006JK-2K for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 04:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cs3hV-0006JA-Vd for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 04:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cs3hV-0004bt-JZ for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 04:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Mar 2017 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26233 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 26233-submit@debbugs.gnu.org id=B26233.149051752517699 (code B ref 26233); Sun, 26 Mar 2017 08:39:01 +0000 Original-Received: (at 26233) by debbugs.gnu.org; 26 Mar 2017 08:38:45 +0000 Original-Received: from localhost ([127.0.0.1]:44997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs3hE-0004bP-KR for submit@debbugs.gnu.org; Sun, 26 Mar 2017 04:38:44 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:62913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cs3hC-0004b9-I7 for 26233@debbugs.gnu.org; Sun, 26 Mar 2017 04:38:43 -0400 Original-Received: from [192.168.1.100] ([213.162.68.59]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M9b03-1d15Jp2Z2t-00CwB1; Sun, 26 Mar 2017 10:38:30 +0200 In-Reply-To: X-Provags-ID: V03:K0:O3NWuNgflyImlFL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ere: 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: 208.118.235.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:130969 Archived-At: > 2. I _did_ object at the time. Sorry, but the time was 2011 and at that time I wrote ... Your approach will divide Emacs users into two groups: A wide majority= that continues to use the old options and a small minority able to wri= te their own alist based functions. =2E.. and ... Most of what you propose above is easily available in Emacs 23 via `special-display-regexps'. An application would just temporarily add the buffer, the function, and the alist to the head of that and get th= e behavior without setting any arguments. Is it really worth inventing = a new `display-buffer' in order to resolve such cosmetic issues? You did not bother to participate in that discussion and so you did not object at the time. > `display-buffer-alist' is notoriously difficult to > understand and make use of. As one example, though I've > asked several times how to use it to get the same effect > provided by these options I've never gotten a response. > > That's the first step for Emacs to take, IMO, after > undeprecating these options (as well as anything else > "special-display", of course, such as > `special-display-alist'): State in the doc exactly how > they correspond to a special case of using > `display-buffer-alist'. _Show_ the equivalence. Despite the fact that many years ago I moved these options and the corresponding functions from C to Elisp, I still don't understand them and very likely never will. If you asked me how to obtain a specific behavior with =E2=80=98display-buffer-alist=E2=80=99, I might be able to = come up with an answer. In any case I deeply regret that I ever got involved in this. martin