From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes Date: Wed, 15 May 2019 18:23:56 -0400 Message-ID: <87ef4zfjb7.fsf_-_@gmail.com> References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16752"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 35726@debbugs.gnu.org, changqi chen To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 16 00:25:12 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 1hR2Km-0004Ce-2H for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2019 00:25:12 +0200 Original-Received: from localhost ([127.0.0.1]:43542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR2Kk-000170-Ed for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 18:25:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR2Kd-00016v-3z for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 18:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hR2Kc-0001ax-2G for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 18:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hR2Kb-0001ar-VJ for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 18:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hR2Kb-0003lI-NG for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 18:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 22:25:01 +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.155795904814387 (code B ref 35726); Wed, 15 May 2019 22:25:01 +0000 Original-Received: (at 35726) by debbugs.gnu.org; 15 May 2019 22:24:08 +0000 Original-Received: from localhost ([127.0.0.1]:53568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR2Jj-0003jy-Nw for submit@debbugs.gnu.org; Wed, 15 May 2019 18:24:07 -0400 Original-Received: from mail-it1-f179.google.com ([209.85.166.179]:39972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR2Jh-0003jR-A4 for 35726@debbugs.gnu.org; Wed, 15 May 2019 18:24:05 -0400 Original-Received: by mail-it1-f179.google.com with SMTP id g71so2813205ita.5 for <35726@debbugs.gnu.org>; Wed, 15 May 2019 15:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yN0JujSWOjgIFrC64oiYIeHY8EoN/u923prcYH33imo=; b=oU/yfusxfWrIsvPVicUvZUUGC2RJOtA4fXtuD6S/1w0U7VQ+zplJsqiQDbgEn1oGex FZidLwdgyMcOtKNF2m0+RONnulqA0EHcdsVrgb6CndV4gqzrWCJWr0s/XIfMtSwLGOWY 97dMS6PH9gAxi8vwvjFU5JSJXA8rO0VmNpAUO1fF1nn91p7Laertg3DTW6NWxlWWKs2B O7X23+Tfhaz8Aaj43nvoZhAgR6uxOYNWqk+q3GwwoO8CrVG15wy2huykYEmPVnA5IR2P Qt9r+7e1OOxK5ZwSiawzUY+rOwzkgF8KHalmBCxg+53XaNmVeLQxOhF179+Mft8PVbWG nxCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yN0JujSWOjgIFrC64oiYIeHY8EoN/u923prcYH33imo=; b=X7TBp6ndtGWlV20CgglgSjuWElOkWQo6T4ZIhsf4jlTJMRQuYUSl1AB4OBSovyit8T YMT+a3qxbeas9Ee4HQP1JT4dkNJgf4TwSAI5tC4jUb6/+n8ws/LSUtLKoEJSZuzOLPIv LC9Bk3DPGZl8og61TTxYQlSRGs0fdWsOqMOEUuzs7CEl8UUvAr66VZDg0/inBUIZN4AT NKRG4z714n+vtW4C6tMV4kLhEBxv+wtV15nOuPtdjLcXRpK9ZYjNte+Z7WapDOBClhZn 1x3CkHWpTpICTLE6IuTT+n/Qk+M4POpAlu1r0BVUkibK6Fu7C9VZHjjXEfQxUjjWsORX M48Q== X-Gm-Message-State: APjAAAWHtYX/WRaUe+IlbCp42TIa7Sj/8ERZAui8542uUyh+aPcjhdzU 00295U01fNJRrKdWCaG4rzE= X-Google-Smtp-Source: APXvYqw0ChD6Ey50qT7tDspWalbS+XVS7mm2URIH7WQIhpA8CaUhKlFGr+9FpaX65ieVur+W527ZMw== X-Received: by 2002:a24:560c:: with SMTP id o12mr3672031itb.90.1557959039437; Wed, 15 May 2019 15:23:59 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id u11sm1127936iot.44.2019.05.15.15.23.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 15:23:57 -0700 (PDT) In-Reply-To: (Aaron Jensen's message of "Wed, 15 May 2019 12:21:42 -0700") 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:159364 Archived-At: Aaron Jensen writes: >> 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. I think removing the check from display-line-numbers.el would make sense, but IMO we should leave it in linum.el because having Emacs freeze on startup is worse than having to toggle global-linum-mode when using emacsclient. Or if we really want to remove it from linum.el, there is my patch at https://debbugs.gnu.org/27210#28 which can fix that bug without the above check.