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: select yank via completion Date: Fri, 27 Nov 2020 09:13:50 +0200 Message-ID: <83wny7p901.fsf@gnu.org> References: <87wnymda5g.fsf@mail.linkov.net> <87ima5he8j.fsf@mail.linkov.net> <87mtzfzt9a.fsf@mail.linkov.net> <87k0uifp3w.fsf@mail.linkov.net> <87d009iykt.fsf@mail.linkov.net> <3341c426-3a86-4ef0-a0ca-9102191a925b@default> <87o8jsiems.fsf@mail.linkov.net> <87o8jmbbu9.fsf@tcd.ie> <878sapnb0k.fsf@mail.linkov.net> <87lfep5gmt.fsf@mail.linkov.net> <877dq8sdxa.fsf@tcd.ie> <87360wv58u.fsf@mail.linkov.net> <87im9ryg0y.fsf@tcd.ie> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, andreyk.mad@gmail.com, bugs@gnu.support, juri@linkov.net, rudalics@gmx.at, monnier@iro.umontreal.ca, ghe@sdf.org, emacs-devel@gnu.org, drew.adams@oracle.com To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 27 08:15:00 2020 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 1kiXy7-0006Oc-Q5 for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 08:14:59 +0100 Original-Received: from localhost ([::1]:50510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiXy6-0000BO-Sx for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 02:14:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXxM-0008AJ-Bx for emacs-devel@gnu.org; Fri, 27 Nov 2020 02:14:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60384) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiXxJ-00066z-IY; Fri, 27 Nov 2020 02:14:09 -0500 Original-Received: from [176.228.60.248] (port=2427 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kiXxI-0006DV-Rm; Fri, 27 Nov 2020 02:14:09 -0500 In-Reply-To: <87im9ryg0y.fsf@tcd.ie> (contovob@tcd.ie) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:259848 Archived-At: > From: "Basil L. Contovounesios" > Cc: emacs-devel@gnu.org, Juri Linkov , spacibba@aol.com, > Andrii Kolomoiets , Jean Louis , > rudalics@gmx.at, Stefan Monnier , Gregory > Heytings , Drew Adams > Date: Thu, 26 Nov 2020 21:17:17 +0000 > > Eli Zaretskii writes: > > > I think you want simply to call frame-text-cols. > > Does that take line-number-display-width into account as well? > Or does that not come into play here? The latter, I think. display-line-numbers-mode is a buffer-local feature, so if you want to look at frame dimensions, you shouldn't take it into account.