From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Allow controlling the effect of visibility on buffer switching Date: Sat, 29 Jan 2022 10:14:02 +0200 Message-ID: <83tudnarhx.fsf@gnu.org> References: <87a6fi3lrl.fsf@gmail.com> <83a6fihbeb.fsf@gnu.org> <877dam38zr.fsf@gmail.com> <8335lah77y.fsf@gnu.org> <87mtjf0ypz.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11161"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Thuna Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 29 09:19:19 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDix5-0002n9-8u for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jan 2022 09:19:19 +0100 Original-Received: from localhost ([::1]:43198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDix3-0006Xk-BQ for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jan 2022 03:19:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDis8-0004H5-5Q for emacs-devel@gnu.org; Sat, 29 Jan 2022 03:14:12 -0500 Original-Received: from [2001:470:142:3::e] (port=41842 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDis7-0005Oj-PF; Sat, 29 Jan 2022 03:14:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cGm9nqYTi4JcMt2igpGS4M4B3JhdPttT0KxXfttIQf4=; b=oqEuCcDJMCMO KrqiJZtTf5ZkBPmnSSiYU8iTUqwwrTFnqvIEt/r/W89qBMFh1PuewOl0uL4YkV0203r55nCGdEkze LB3JUy3ch2vyhfa+m4jbhjypbHtaDZSYLVRN3cYdz1vM6EvApF+3x0grIN8TA4FtwE9JCkh/CKor9 ExbCsxxbMS+e/RnvBajTyWFP6tqtExodKqLgSIMGO+o631w45VcLM2Pb9UYXboWodV6T44g/aNgWm Cbd5vXrwA23NCfw5ZTwvzFK+Z25h3WGNLK35v/VNHvC7GJrdEVoCkR2lDTwLzUUv7QvVCNmZZVCwt HINKYx824iriCNIRg/Hj/g==; Original-Received: from [87.69.77.57] (port=4128 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDis7-0006hf-5F; Sat, 29 Jan 2022 03:14:11 -0500 In-Reply-To: <87mtjf0ypz.fsf@gmail.com> (message from Thuna on Sat, 29 Jan 2022 10:48:08 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285538 Archived-At: > From: Thuna > Cc: emacs-devel@gnu.org > Date: Sat, 29 Jan 2022 10:48:08 +0300 > > If the proposal is rejected on this basis, I would like to revise it > from "introducing an option to change the behavior of switch-to-buffer" > to "changing the behavior of switch-to-buffer". > > It is extremely unlikely for someone to know what their last non-visible > buffer is, especially after accounting for other frames and windows. Maybe I don't understand what you mean, but "C-x b" shows the buffer it would switch to in the prompt, and AFAIU that is the "last non-visible buffer" to which you allude above, right? > People are better off typing the name of the buffer they want to visit. I'd think Emacs users are well familiar with the history feature, and are using M-p and M-n frequently, instead of actually typing the buffer names. I only type the buffer name if several M-p's and M-n's don't bring them up.