From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW Date: Wed, 12 Jun 2019 16:31:46 +0300 Message-ID: <3415bbc7-54fd-111e-a18b-0a927d93a7b2@yandex.ru> References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@yandex.ru> <78fc4891-dffb-e828-baca-118a5a300c9a@gmx.at> <1f4197c2-05b0-7ab6-41be-605eaf918200@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="22055"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 To: martin rudalics , 36161@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 12 15:32:39 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hb3Mk-0005aD-UL for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jun 2019 15:32:39 +0200 Original-Received: from localhost ([::1]:60478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb3Mj-0007Fn-MR for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jun 2019 09:32:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38059) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb3MF-0007Cb-KG for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 09:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hb3MC-0008Va-Jm for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 09:32:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hb3MA-0008UW-Gm for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 09:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hb3MA-0001Fp-Cs for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2019 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2019 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36161 X-GNU-PR-Package: emacs Original-Received: via spool by 36161-submit@debbugs.gnu.org id=B36161.15603463194808 (code B ref 36161); Wed, 12 Jun 2019 13:32:02 +0000 Original-Received: (at 36161) by debbugs.gnu.org; 12 Jun 2019 13:31:59 +0000 Original-Received: from localhost ([127.0.0.1]:60895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb3M6-0001FU-Ru for submit@debbugs.gnu.org; Wed, 12 Jun 2019 09:31:59 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:41097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb3M3-0001FG-Ot for 36161@debbugs.gnu.org; Wed, 12 Jun 2019 09:31:56 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id c2so16934977wrm.8 for <36161@debbugs.gnu.org>; Wed, 12 Jun 2019 06:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mUyiK/8Y15WK/QniI+NL8z/1Ry0MRrrO0r0wqdyLFMA=; b=Ew3RtBrwbLohlgzZZWNedr1HIsGPz6ZoVwFBaCrQ/iMXqboCaKVyBZu999tCpMq/vQ o/cUH41J8QyNHTcpCFcl/slxmsHlWAlSrp/pzlUgfrBV2jJu2vRBFzj0H6D0bD8YI3CO jHXdQSRRPiM+QjignOgS7uA7QGimEfbFbokMcY5u3j6P42r4WOW9yjdOjv21rrdbM/3R 7LPd43hWdpOkw8zaD/we9r/M7xIU2o39msO0VFmB/OPGcwoUC55oaYExVnHZgFLsaVdc EERkPuaC3iq2sAB1zPu0xizakS3WPP8BnsBpFudDBTiNdBridTyB3ORLf7aR2RVdCyEN omLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mUyiK/8Y15WK/QniI+NL8z/1Ry0MRrrO0r0wqdyLFMA=; b=S9Cp5R9xPq1BZT7lkS8C8aztKV72zZrWsP+mNC5V8e0ldQsFK3azUade6sxtKrdqTN DD7MBwr7cH56G3CUO7DbR/I8h1UVKIcmE36I5OJ0NPRrj+HcOae7IDbhVSgjOUb/SnoL xqdGj/+UtE3d1AK8zOr5hQdB2qX4tQnMvkJneFO/hTnESctL336M9tTNMlxAg6RlzUTp MHiO3x5v/IOAk5uPnzKq67DKWbC1Q3xuNEEcmN88Uw9nuetVvQZ3cxI30+PCluKcWycn GMlGQyWjvi8+aHi+zoQpJfPj+Rvx3RUyGrLcmWDi3qSfbs6wr7j/v20Kpag7ma42xdv0 vZWw== X-Gm-Message-State: APjAAAUbLEDPKoowRJDvWmfak83JpOhz8BXI+iFcdbG8RJYSbKe283Di vUFTHhACKjGdhSxuR+pTzifodGpWi84= X-Google-Smtp-Source: APXvYqyH/S/+DMe/zq91unSnD5yBE+hsjrULpBovjfocl5CdY4FUAsArevToB0T9G6WeBtpM1z6BPw== X-Received: by 2002:a5d:4bce:: with SMTP id l14mr3325494wrt.79.1560346309286; Wed, 12 Jun 2019 06:31:49 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id z5sm6432284wmf.48.2019.06.12.06.31.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 06:31:48 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:160434 Archived-At: On 12.06.2019 12:18, martin rudalics wrote: > > TBH, the new docstring seems a lot more confusing to me. "may > override" doesn't really tell us what the function is going to do. > > OK.  This time I tried to tell everything I know.  Please have a look. It's much better now, thanks. And the wording of "is usable for" is somehow more obvious to me (even though the information is the same). > I would have to understand first why one and the same buffer was > displayed in different windows previously. Not sure what answer you're looking for. Suppose a user used switch-to-buffer sometime in the past to show it there? I think the question is, if the caller supplies the `previous-window' cons in ALIST, is there a point in second-guessing its choice? FWIW, I've only found one user of this function that does that, and it's `debug'. Which behavior do you think that command would prefer?