From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#35726: Further information of line number bug. Date: Wed, 15 May 2019 12:21:42 -0700 Message-ID: References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="36698"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35726@debbugs.gnu.org, changqi chen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 15 21:22:10 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 1hQzTe-0009Oq-I6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 21:22:10 +0200 Original-Received: from localhost ([127.0.0.1]:41385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQzTd-0002g9-5W for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 15:22:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQzTX-0002g4-Ib for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 15:22:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQzTW-0005rI-MB for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 15:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39869) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQzTW-0005r4-IW for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 15:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQzTW-0007Qf-C2 for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 15:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 19:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35726 X-GNU-PR-Package: emacs Original-Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155794812128550 (code B ref 35726); Wed, 15 May 2019 19:22:02 +0000 Original-Received: (at 35726) by debbugs.gnu.org; 15 May 2019 19:22:01 +0000 Original-Received: from localhost ([127.0.0.1]:53413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQzTV-0007QQ-7B for submit@debbugs.gnu.org; Wed, 15 May 2019 15:22:01 -0400 Original-Received: from mail-yb1-f196.google.com ([209.85.219.196]:36192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQzTT-0007QC-SE for 35726@debbugs.gnu.org; Wed, 15 May 2019 15:22:00 -0400 Original-Received: by mail-yb1-f196.google.com with SMTP id m10so283449ybk.3 for <35726@debbugs.gnu.org>; Wed, 15 May 2019 12:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ftse8RoxNqHaNbmPzvHBFKPy8SIk+yA0yU9iTTfP8l4=; b=iU33dcMbUK/ZANbCRfhmTAjR9AqzCLPTXuj/pVsEhppiUUwriERU1HHB9C5TxPM6uC bcl4fm4sB45rRU+beUwDHv/g1nV+XzbxxhZz42JbwVKpnzF5D5AAdTKZygaoRXEYr6Fs 74Tzk5a6PZvSbopZpnTqwLuVpNet71kVJ6yvtW+HjSBXlwPyR2Xi5Qm8UDydxvEvTDzi 5225iN/VJTmxWHfw8uHWFSv3VRX3otDeXIbcYVdotptT8bL0ONtRczbC3RkA3wE7T1I/ Z2dnwo8HxJ3beUwEigvIT6rR04WnICogcDP61x8dgPmklVnDTu/A/CaWdKuGsSOm+xGs drOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ftse8RoxNqHaNbmPzvHBFKPy8SIk+yA0yU9iTTfP8l4=; b=Dr6lRrg01xjb1xCir2cZZ1KVWUN5CQmU1j1xAatMcTnuetbQgkfa7rUWHeibdV/57z CEjtHnar5ylUL4QWC+A7v5YvOFG7cMeg6sQf7euAZBtTmdVFCIvnSHDSuE6WIcGufpbu e6CPCo1IHVbXirk+CFCMbuoqkcB7regGdhuRmatJicPd/8Nxyqq2hx7BJnbPOaEdfELh 2Rmp5ZlTLD5470tqHMtDCPf8MtfQZOvDWwZmt6ilChz2Al04+jNLO4zRY6oSTaxoEPb5 mVuLtoBjBQZiznEC0Y0hN86FHxA4VS99op4Af7052tHRDQBn9u1dh6xU7Ya+0x45qtTq KrNQ== X-Gm-Message-State: APjAAAUGgS5VxR7ii5DuM2+TrErULyE9oWJALJwWNnqJJ3SV8Q0z1uxy XN3yM3znBuoByT13ejiMG1Yhl6wmn/6Sz+wjzN4= X-Google-Smtp-Source: APXvYqwuhOmeIFPZzzlgSpWPNt84L7vpOR372S8bXrPxw4btOYDU9gxyy3u/oFlaZLM64r1AcKfi2oEg+iJOTkgSD50= X-Received: by 2002:a25:1182:: with SMTP id 124mr8750483ybr.392.1557948113422; Wed, 15 May 2019 12:21:53 -0700 (PDT) In-Reply-To: <83sgtf91ip.fsf@gnu.org> 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:159353 Archived-At: On Wed, May 15, 2019 at 8:32 AM Eli Zaretskii wrote: > Thinking about this, I see several possible solutions: > > 1. Revert the fix for bug#24218 (since it's just an aesthetic issue). > Or maybe someone sees how to fix that bug in a way that doesn't > change the order of visiting the file and creating the client > frame. > > 2. Modify define-globalized-minor-mode to also use some other hook, > like maybe server-after-make-frame-hook. This has a downside that > we will need to scan all the buffers on the frame, which might > slow down client frame creation. > > 3. Remove from linum.el and display-line-numbers.el the condition > that causes this: > > (and (daemonp) (null (frame-parameter nil 'client))) > > I don't think that bug#27210 will affect display-line-numbers, and > linum is semi-deprecated. For what it's worth, I'd vote for #3 since linum is semi-deprecated and I rather like the change, so I'd prefer not to revert it. Aaron