From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes Resent-From: ccQ's Gmail Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2019 04:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35726@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15578063721102 (code B ref -1); Tue, 14 May 2019 04:00:04 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2019 03:59:32 +0000 Received: from localhost ([127.0.0.1]:46861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQObC-0000Hf-9k for submit@debbugs.gnu.org; Mon, 13 May 2019 23:59:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQMr1-0005yJ-UK for submit@debbugs.gnu.org; Mon, 13 May 2019 22:07:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:42148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQMqw-0005bD-PR for submit@debbugs.gnu.org; Mon, 13 May 2019 22:07:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQMqu-0008Ke-Tn for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQMqr-0005WT-5T for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:36 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:33455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQMqo-0005T4-Mp for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:31 -0400 Received: by mail-qt1-x836.google.com with SMTP id m32so14178061qtf.0 for ; Mon, 13 May 2019 19:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=cxMAfLI5NjqcooeyHpKEFiXjFKc55U0Zlq9bSoLQhW8=; b=qf3DUpY8FsFszH1h4nszKJqks5PDkxjHoVwcsBAhTceL1EcH/7gJK8FsqOH8TKPKfz WB1qHUnr6sqJDlgD5GlvLeNRqOzG/Aw9R0Ge6Jwc/+aXGTgGGJ+kLIrlZpXVBH3sAAgQ ZnH+vY30eu6+IA2ifHM3/DqeMdD9WLGTYraJmFSappWjuBk8Xuq+DsWpJiWxVBtDGlcJ H8JTvGUT7/vsAa/uMLOOKFGFFWT0g0jBEklB7vaeVR42YLlb6aofMl6XF5xnaau9CZyb 9yar/VzDCJu+cDQg0vfQzRNXzBNfR9e07/63hTSiO47OLi+bgNmeWPMiQnYAbocWv8G0 mO3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=cxMAfLI5NjqcooeyHpKEFiXjFKc55U0Zlq9bSoLQhW8=; b=d1Qc/nzL8nRy2tJnrLjUhQGzqQMoKxJ3kVePfuhluNgsOs/Cz57WA+nFBHM01A4J9U MzXqg4oVoeMRO6Kaj4qJdyKQ5e2MJfIdk3SpE1RLaBzT5wtAwUZep9z/zyVEcOtSCB8H 1Mx4F0AoQ3PLVAnfI7jBAlFrmyUxKjOtZd2MB2jVtkdRkThULSRAHxOk6WkkmuyU7xsn DRCf/fyDhsEfiBOf928m15Q7Mba1TFJ9oxMR99GR/7qwM2/7XU/ECVb9BJXoutNxxqLf ioQr4B7y8woOQPAcLTSZyTixwvteRac6CKLDT2v005yWtbwKfTGQYCRMeUOQUSUnTN+5 lvlA== X-Gm-Message-State: APjAAAWvbuaBLfr/j9fNCF5zGwwz7Z/kpWCO8Q+LF+mHOK127XzEfbvQ ieCw2SxlFSgKeIdHhoszxkxbRXLB X-Google-Smtp-Source: APXvYqzgLAuaB4rnJjQZa7jH+A3KeibMOW/6bEvOUeY+VaPndfqNFnmvCOYKM9d37jaoG3pnxRrcCg== X-Received: by 2002:ac8:1082:: with SMTP id a2mr26943811qtj.231.1557799648552; Mon, 13 May 2019 19:07:28 -0700 (PDT) Received: from ?IPv6:2601:43:101:edf9:f999:db13:d416:7bc5? ([2601:43:101:edf9:f999:db13:d416:7bc5]) by smtp.gmail.com with ESMTPSA id e65sm7437723qkd.64.2019.05.13.19.07.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 19:07:27 -0700 (PDT) From: ccQ's Gmail Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> Date: Mon, 13 May 2019 22:07:25 -0400 X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::836 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.1 (-) X-Mailman-Approved-At: Mon, 13 May 2019 23:59:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) When I in emacsclient, some of modes do not show line-number. I `M-x global-linum-mode`, emacs shows me `global-linum-mode` disable. Then I `M-x global-linum-mode` again, then line-nums show. When I am not in emacsclient, no issues. Only happen in emacsclient. So far, I find lisp-mode and go-mode has this problem. elpy-mode looks = fine. In GNU Emacs 27.0.50 (build 7, x86_64-apple-darwin18.6.0, NS = appkit-1671.50 Version 10.14.5 (Build 18F132)) of 2019-05-13 built on ccQ-rMBP.local Repository revision: 364d4e156d80bff711d000bdb2e0ac765726c953 Repository branch: master Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.5 Recent messages: [yas] Prepared just-in-time loading of snippets (but no snippets found). ad-handle-definition: =E2=80=98er/expand-region=E2=80=99 got redefined Waiting for git... [2 times] [yas] Prepared just-in-time loading of snippets successfully. Turning on magit-auto-revert-mode...done Starting Emacs daemon. When done with a buffer, type C-x # [2 times] previous-line: Beginning of buffer [6 times] When done with a buffer, type C-x # [2 times] funcall-interactively: End of buffer Configured features: IMAGEMAGICK NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Minor modes in effect: slime-trace-dialog-minor-mode: t slime-autodoc-mode: t slime-mode: t paredit-mode: t helm-gtags-mode: t pyvenv-mode: t TeX-PDF-mode: t helm-mode: t helm-autoresize-mode: t global-magit-file-mode: t magit-file-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t google-this-mode: t delete-selection-mode: t yas-global-mode: t yas-minor-mode: t global-flycheck-mode: t flycheck-mode: t global-auto-complete-mode: t auto-complete-mode: t override-global-mode: t show-paren-mode: t global-linum-mode: t global-hl-line-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/ccQ/.emacs.d/elpa/lsp-rust-20180305.1308/lsp-rust hides = /Users/ccQ/.emacs.d/elpa/lsp-mode-20190512.1847/lsp-rust ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-iedit hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-iedit ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-cap hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-cap ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-ac hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-ac ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-imenu hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-imenu ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-company hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-company ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/utop hides = /Users/ccQ/.emacs.d/elpa/utop-20181010.2155/utop Features: (shadow sort mail-extr emacsbug sendmail winner helm-command helm-elisp helm-eval edebug backtrace helm-info term/xterm xterm vc-git ac-slime slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime arc-mode archive-mode pp hyperspec browse-url paredit helm-gtags pulse init-ocaml ocamlformat init-yaml yaml-mode init-rust racer pos-tip rust-mode init-js init-web-n-php ac-php ac-php-core xcscope f php-mode php-project mode-local speedbar sb-image ezimage dframe cc-langs cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs php-face php web-mode-expansions web-mode disp-table init-haskell init-swift init-golang init-python py-autopep8 highlight-indentation company-capf company pcase help-fns radix-tree elpy find-file-in-project ivy colir ivy-overlay ffap windmove elpy-shell pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-profile elpy-django s elpy-refactor python-el-fgallina-expansions python tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat parse-time ido grep files-x etags fileloop generator xref project init-markdown markdown-mode color noutline outline init-org init-dash init-tex tex-mik tex init-helm helm-swoop helm-mode helm-files helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm-config helm-easymenu helm helm-source eieio-compat helm-multi-match helm-lib init-shell init-lisp init-treemacs cus-edit cus-start cus-load wid-edit magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async shell pcomplete server google-this url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap delsel expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom highlight-symbol multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect yasnippet advice flymake-proc flymake compile comint ansi-color ring warnings thingatpt elec-pair flycheck cl-extra find-func help-mode dash auto-complete-config auto-complete edmacro kmacro popup use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core monokai-theme paren linum hl-line finder-inf tex-site rx slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 538582 33907) (symbols 48 42822 3) (strings 32 178653 4185) (string-bytes 1 5384947) (vectors 16 66174) (vector-slots 8 781274 35298) (floats 8 373 350) (intervals 56 473 81) (buffers 992 16)) From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: Further information of line number bug. References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> In-Reply-To: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> Resent-From: changqi chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2019 04:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35726@debbugs.gnu.org Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155780825112338 (code B ref 35726); Tue, 14 May 2019 04:31:01 +0000 Received: (at 35726) by debbugs.gnu.org; 14 May 2019 04:30:51 +0000 Received: from localhost ([127.0.0.1]:46889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQP5W-0003Cw-NJ for submit@debbugs.gnu.org; Tue, 14 May 2019 00:30:50 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:36735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQOwo-0002y8-IZ for 35726@debbugs.gnu.org; Tue, 14 May 2019 00:21:51 -0400 Received: by mail-wm1-f47.google.com with SMTP id j187so1266734wmj.1 for <35726@debbugs.gnu.org>; Mon, 13 May 2019 21:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=BJJqCLelZ5reKAt49o4YDUkn4qKJvwgHUxdQYORKbxs=; b=SKOCJGA3rR+vSNKccML98JhfIfv+nqlM6K7GEADFFwo+5OzwcxRpLvekzccqnSAHAQ 1PwXnyJEj6aTzEWcP4KUQilj1A0ttrRbdJpPdHOCeG4J4mMBEWlf3dDyienLph52ysBH yGd76MEd5WT8HY2u7qfzhA848xe992Me705lXM0GmkLfwCp6k3eLdRmfym//+uyE4GXj N9EC/ICxWEZ/rTsGVXSUCotksAMByrgJDrc29TitG37t0JMna53BDFclmHp1e6jmRtDl il9SUvGiCX6BNGvI0T0JN2cEMk+7Ph41b5AEqdciJxcLGOGzhefbHEc+fbQMBtxX5AUm JN6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BJJqCLelZ5reKAt49o4YDUkn4qKJvwgHUxdQYORKbxs=; b=BX1568Hni5Xqiwjw3/0CWuGEwGtV/gf9KIMeqCrcapJlHdDcP0WK0IYDLaSWQJ3Ako AiicfSoOL/1N7dIlAT1ZQhq2FJz0UuC46moDgS+60/NiEqk/0k3hnrbnQIEYGYH7t3GC q9GUN/tcdK8J0GeAh9PtOsTQ2AqQY0l6CRRfhhpAYvf2/yuW+w5c8o7VIaecPbXGs2Du XwF/mRNfC7HqRnPirHNK6I6ZtSKu9Tckq+yNPn/RquDnAlqXQDTEct+XlOma9sgIoH11 nJOUrOZ1tfAlVEWJhHAc0qoNzZazxri5Jh/aiRXDr8ezhQwN7GucbiaTGl/01zuVfQ1S fcXg== X-Gm-Message-State: APjAAAXw2wqKtyk6n4RHIWXEgDniNf3NBoRuHQw/RTES6mbUq+CDyvOc 0XpiGO9zc77hRpD1MiK7FdgfqeElXhN2WTSFDJB6AA== X-Google-Smtp-Source: APXvYqxXVXRkRmd4ffi0w+jBST7N1stS+ItlUj4wflZjqlFgwOenUX2g+1WSIna4PQZUiWwrdtS/TXJeohF0l3Q6cg8= X-Received: by 2002:a7b:ca47:: with SMTP id m7mr8584996wml.77.1557807704333; Mon, 13 May 2019 21:21:44 -0700 (PDT) MIME-Version: 1.0 From: changqi chen Date: Tue, 14 May 2019 00:21:33 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000d862db0588d15eb5" X-Spam-Score: 0.2 (/) X-Mailman-Approved-At: Tue, 14 May 2019 00:30:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --000000000000d862db0588d15eb5 Content-Type: text/plain; charset="UTF-8" I use global-display-line-number-mode in my init.el. When I use emacsclient open first buffer, no matter which mode it is, line number does not show. I can manually enable it by M-x display-line-number-mode. If I open other file during my first buffer, different buffer mode, line number shows. If not use emacsclient, no problem. Thank you -- written by ccQ --000000000000d862db0588d15eb5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I use global-display-line-number-mode in my init.el. When= I use emacsclient open first buffer, no matter which mode it is, line numb= er does not show.
I can manually enable it by M-x di= splay-line-number-mode. If I open other file during my first buffer, differ= ent buffer mode, line number shows.=C2=A0

=
If not use emacsclient, no problem.

Thank you
--
wr= itten by ccQ
--000000000000d862db0588d15eb5-- From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: Further information of line number bug. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 15:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: changqi chen Cc: 35726@debbugs.gnu.org, Aaron Jensen Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155793436930950 (code B ref 35726); Wed, 15 May 2019 15:33:03 +0000 Received: (at 35726) by debbugs.gnu.org; 15 May 2019 15:32:49 +0000 Received: from localhost ([127.0.0.1]:53205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQvth-000837-Ah for submit@debbugs.gnu.org; Wed, 15 May 2019 11:32:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQvtf-00082v-RV for 35726@debbugs.gnu.org; Wed, 15 May 2019 11:32:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQvta-00089E-Fa; Wed, 15 May 2019 11:32:42 -0400 Received: from [176.228.60.248] (port=4832 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQvta-0003fU-1t; Wed, 15 May 2019 11:32:42 -0400 Date: Wed, 15 May 2019 18:32:30 +0300 Message-Id: <83sgtf91ip.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from changqi chen on Tue, 14 May 2019 00:21:33 -0400) References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: changqi chen > Date: Tue, 14 May 2019 00:21:33 -0400 > > I use global-display-line-number-mode in my init.el. When I use emacsclient open first buffer, no matter which > mode it is, line number does not show. > I can manually enable it by M-x display-line-number-mode. If I open other file during my first buffer, different > buffer mode, line number shows. Thanks. This is a regression in Emacs 27; the problem doesn't exist in Emacs 26. The reason for this is the fix for bug#24218. It changed the order in which we visit the file and create a new frame: where previously we created the frame first, and only then visited the file, we now visit the file in the original frame, and after that create a new frame with the visiting buffer being the current buffer. Since define-globalized-minor-mode invokes the turn-on function in find-file-hook, both display-line-numbers-mode and linum-mode now see a frame whose 'client' parameter is nil, and refuse to turn themselves on to avoid bug#27210. 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. Any other ideas? From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: Further information of line number bug. Resent-From: npostavs@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 35726@debbugs.gnu.org, changqi chen , Aaron Jensen Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155794175718475 (code B ref 35726); Wed, 15 May 2019 17:36:02 +0000 Received: (at 35726) by debbugs.gnu.org; 15 May 2019 17:35:57 +0000 Received: from localhost ([127.0.0.1]:53320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQxoq-0004nu-QX for submit@debbugs.gnu.org; Wed, 15 May 2019 13:35:57 -0400 Received: from mail-it1-f180.google.com ([209.85.166.180]:37924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQxoo-0004nd-LD for 35726@debbugs.gnu.org; Wed, 15 May 2019 13:35:55 -0400 Received: by mail-it1-f180.google.com with SMTP id i63so1493966ita.3 for <35726@debbugs.gnu.org>; Wed, 15 May 2019 10:35:54 -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=5Yqr8ErH03d4FI543l0jCS/mO7BkL8UluM81zHFLQbo=; b=XblluL+axwfIJ8kZdlYFOyy4g3bVNEKo+yCpnU4+L3rKTF5337WAxnfmAYHNqvHqvH BsQTeywoiSCLbVRfnRjWlZhiK6HH1NjnBBYTkDQd1aIQakrYqw/LPBD3kojAwjd0hvax cgZwv8CujzUMCD7LVqiixiXqdi4LMDePjvo5Lna7KmVB9iQLe7VNLB+8Z+hmyu+ReG0t zGsmkS+f8IDI8DR1uYr5UFr+hKRI0I51HSO+LrFraS8NAegamwN0guMGHPqIMxhRz4zl PrTCXsMY6FBE2N8niVBHkLZQE9zP+eQeDk630vStX2Otz84wi85OOoYz4I5ts5OLOjNK gsaw== 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=5Yqr8ErH03d4FI543l0jCS/mO7BkL8UluM81zHFLQbo=; b=RvoeW32xCvcXFGyscl4hqvTFvMEBog5lmMClDJKPvr46C6xL3jbqtsgpF5ycKYxnHG i/6zSRuqwgqKX0agM8QP1sw4UwuT9L5QT6higpXjl9YJb3XtAn0VD3P6jvngIcRDR8xs X+QKrN0NSnmIwHW7y1ndg+FSIBkNhzeBOIriGaxy6vRbT1XLPt9vfSX7LKqX7EN8tDCn jp2yXVaOVIAOFp+QEyPckm+LN71iVkWp2CdrmlgxxZcdopGz2tSp4eBsIbWW54uSbYgj UuA8eBVW/Vv5uymN2CjFoW6DBBikE4xjHl4n4CEhiN6uwVSpiOAIByIxaUGAYHXrihRm B+wA== X-Gm-Message-State: APjAAAWkMonZJgbdvNiNY3acJuBIN4UhvEOFTM2BQZ5R3SYXlVSGACHt mB0V+DTmH+GvUqnyol/skhc= X-Google-Smtp-Source: APXvYqwx1inBEY6B3vaJjlefiHD1HHlv//jo7rR1M4d714fbmvMHhHO06EJ0qC3SdRrRAPnZdqZ6HA== X-Received: by 2002:a02:c48d:: with SMTP id t13mr29134582jam.48.1557941748955; Wed, 15 May 2019 10:35:48 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id s10sm837702iob.29.2019.05.15.10.35.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 10:35:48 -0700 (PDT) From: npostavs@gmail.com References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> Date: Wed, 15 May 2019 13:35:46 -0400 In-Reply-To: <83sgtf91ip.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 15 May 2019 18:32:30 +0300") Message-ID: <85mujnwrgt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > 1. Revert the fix for bug#24218 (since it's just an aesthetic issue). Did you typo the bug number? I don't see how "server-name, server-socket-dir and daemon start through systemd socket" relates to aesthetics. From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: Further information of line number bug. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: npostavs@gmail.com Cc: 35726@debbugs.gnu.org, ccq777@gmail.com, aaronjensen@gmail.com Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155794356221217 (code B ref 35726); Wed, 15 May 2019 18:07:01 +0000 Received: (at 35726) by debbugs.gnu.org; 15 May 2019 18:06:02 +0000 Received: from localhost ([127.0.0.1]:53348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQyHw-0005Vr-6d for submit@debbugs.gnu.org; Wed, 15 May 2019 14:06:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQyHu-0005Vc-HP for 35726@debbugs.gnu.org; Wed, 15 May 2019 14:05:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQyHo-0002Av-Qr; Wed, 15 May 2019 14:05:53 -0400 Received: from [176.228.60.248] (port=2408 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQyHm-0002KF-6n; Wed, 15 May 2019 14:05:51 -0400 Date: Wed, 15 May 2019 21:05:38 +0300 Message-Id: <83mujn8ufh.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <85mujnwrgt.fsf@gmail.com> (npostavs@gmail.com) References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> <85mujnwrgt.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: npostavs@gmail.com > Cc: changqi chen , 35726@debbugs.gnu.org, Aaron Jensen > Date: Wed, 15 May 2019 13:35:46 -0400 > > Eli Zaretskii writes: > > > 1. Revert the fix for bug#24218 (since it's just an aesthetic issue). > > Did you typo the bug number? Not me, the commit log message. The correct bug number is 26995. Sorry, I trusted the Git log. From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: Further information of line number bug. 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 35726@debbugs.gnu.org, changqi chen Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155794812128550 (code B ref 35726); Wed, 15 May 2019 19:22:02 +0000 Received: (at 35726) by debbugs.gnu.org; 15 May 2019 19:22:01 +0000 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 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 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) MIME-Version: 1.0 References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> In-Reply-To: <83sgtf91ip.fsf@gnu.org> From: Aaron Jensen Date: Wed, 15 May 2019 12:21:42 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Fri Jun 13 11:40:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes 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 X-GNU-PR-Keywords: To: Aaron Jensen Cc: 35726@debbugs.gnu.org, Eli Zaretskii , changqi chen Received: via spool by 35726-submit@debbugs.gnu.org id=B35726.155795904814387 (code B ref 35726); Wed, 15 May 2019 22:25:01 +0000 Received: (at 35726) by debbugs.gnu.org; 15 May 2019 22:24:08 +0000 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 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 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) 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) From: Noam Postavsky References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> Date: Wed, 15 May 2019 18:23:56 -0400 In-Reply-To: (Aaron Jensen's message of "Wed, 15 May 2019 12:21:42 -0700") Message-ID: <87ef4zfjb7.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From unknown Fri Jun 13 11:40:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ccQ's Gmail Subject: bug#35726: closed (Re: bug#35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes) Message-ID: References: <83zhmtpir2.fsf@gnu.org> <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> X-Gnu-PR-Message: they-closed 35726 X-Gnu-PR-Package: emacs Reply-To: 35726@debbugs.gnu.org Date: Fri, 07 Jun 2019 14:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1559918102-22616-1" This is a multi-part message in MIME format... ------------=_1559918102-22616-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several m= odes which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35726@debbugs.gnu.org. --=20 35726: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35726 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1559918102-22616-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35726-done) by debbugs.gnu.org; 7 Jun 2019 14:34:15 +0000 Received: from localhost ([127.0.0.1]:52229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZFwc-0005rj-PT for submit@debbugs.gnu.org; Fri, 07 Jun 2019 10:34:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZFwb-0005rX-2A for 35726-done@debbugs.gnu.org; Fri, 07 Jun 2019 10:34:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZFwV-0003BV-TH; Fri, 07 Jun 2019 10:34:07 -0400 Received: from [176.228.60.248] (port=3425 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZFwV-0004jV-2I; Fri, 07 Jun 2019 10:34:07 -0400 Date: Fri, 07 Jun 2019 17:33:53 +0300 Message-Id: <83zhmtpir2.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87ef4zfjb7.fsf_-_@gmail.com> (message from Noam Postavsky on Wed, 15 May 2019 18:23:56 -0400) Subject: Re: bug#35726: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes References: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> <83sgtf91ip.fsf@gnu.org> <87ef4zfjb7.fsf_-_@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35726-done Cc: 35726-done@debbugs.gnu.org, ccq777@gmail.com, aaronjensen@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Noam Postavsky > Date: Wed, 15 May 2019 18:23:56 -0400 > Cc: 35726@debbugs.gnu.org, Eli Zaretskii , > changqi chen > > 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. OK, done on the emacs-26 branch; closing. ------------=_1559918102-22616-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 May 2019 03:59:32 +0000 Received: from localhost ([127.0.0.1]:46861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQObC-0000Hf-9k for submit@debbugs.gnu.org; Mon, 13 May 2019 23:59:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQMr1-0005yJ-UK for submit@debbugs.gnu.org; Mon, 13 May 2019 22:07:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:42148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQMqw-0005bD-PR for submit@debbugs.gnu.org; Mon, 13 May 2019 22:07:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQMqu-0008Ke-Tn for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQMqr-0005WT-5T for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:36 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:33455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQMqo-0005T4-Mp for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 22:07:31 -0400 Received: by mail-qt1-x836.google.com with SMTP id m32so14178061qtf.0 for ; Mon, 13 May 2019 19:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=cxMAfLI5NjqcooeyHpKEFiXjFKc55U0Zlq9bSoLQhW8=; b=qf3DUpY8FsFszH1h4nszKJqks5PDkxjHoVwcsBAhTceL1EcH/7gJK8FsqOH8TKPKfz WB1qHUnr6sqJDlgD5GlvLeNRqOzG/Aw9R0Ge6Jwc/+aXGTgGGJ+kLIrlZpXVBH3sAAgQ ZnH+vY30eu6+IA2ifHM3/DqeMdD9WLGTYraJmFSappWjuBk8Xuq+DsWpJiWxVBtDGlcJ H8JTvGUT7/vsAa/uMLOOKFGFFWT0g0jBEklB7vaeVR42YLlb6aofMl6XF5xnaau9CZyb 9yar/VzDCJu+cDQg0vfQzRNXzBNfR9e07/63hTSiO47OLi+bgNmeWPMiQnYAbocWv8G0 mO3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=cxMAfLI5NjqcooeyHpKEFiXjFKc55U0Zlq9bSoLQhW8=; b=d1Qc/nzL8nRy2tJnrLjUhQGzqQMoKxJ3kVePfuhluNgsOs/Cz57WA+nFBHM01A4J9U MzXqg4oVoeMRO6Kaj4qJdyKQ5e2MJfIdk3SpE1RLaBzT5wtAwUZep9z/zyVEcOtSCB8H 1Mx4F0AoQ3PLVAnfI7jBAlFrmyUxKjOtZd2MB2jVtkdRkThULSRAHxOk6WkkmuyU7xsn DRCf/fyDhsEfiBOf928m15Q7Mba1TFJ9oxMR99GR/7qwM2/7XU/ECVb9BJXoutNxxqLf ioQr4B7y8woOQPAcLTSZyTixwvteRac6CKLDT2v005yWtbwKfTGQYCRMeUOQUSUnTN+5 lvlA== X-Gm-Message-State: APjAAAWvbuaBLfr/j9fNCF5zGwwz7Z/kpWCO8Q+LF+mHOK127XzEfbvQ ieCw2SxlFSgKeIdHhoszxkxbRXLB X-Google-Smtp-Source: APXvYqzgLAuaB4rnJjQZa7jH+A3KeibMOW/6bEvOUeY+VaPndfqNFnmvCOYKM9d37jaoG3pnxRrcCg== X-Received: by 2002:ac8:1082:: with SMTP id a2mr26943811qtj.231.1557799648552; Mon, 13 May 2019 19:07:28 -0700 (PDT) Received: from ?IPv6:2601:43:101:edf9:f999:db13:d416:7bc5? ([2601:43:101:edf9:f999:db13:d416:7bc5]) by smtp.gmail.com with ESMTPSA id e65sm7437723qkd.64.2019.05.13.19.07.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 19:07:27 -0700 (PDT) From: ccQ's Gmail Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: 27.0.50; global-linum-mode doesn't work in emacsclient in several modes Message-Id: <31B94EDC-5493-464B-BA2F-54A211803AF0@gmail.com> Date: Mon, 13 May 2019 22:07:25 -0400 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::836 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 13 May 2019 23:59:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) When I in emacsclient, some of modes do not show line-number. I `M-x global-linum-mode`, emacs shows me `global-linum-mode` disable. Then I `M-x global-linum-mode` again, then line-nums show. When I am not in emacsclient, no issues. Only happen in emacsclient. So far, I find lisp-mode and go-mode has this problem. elpy-mode looks = fine. In GNU Emacs 27.0.50 (build 7, x86_64-apple-darwin18.6.0, NS = appkit-1671.50 Version 10.14.5 (Build 18F132)) of 2019-05-13 built on ccQ-rMBP.local Repository revision: 364d4e156d80bff711d000bdb2e0ac765726c953 Repository branch: master Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.5 Recent messages: [yas] Prepared just-in-time loading of snippets (but no snippets found). ad-handle-definition: =E2=80=98er/expand-region=E2=80=99 got redefined Waiting for git... [2 times] [yas] Prepared just-in-time loading of snippets successfully. Turning on magit-auto-revert-mode...done Starting Emacs daemon. When done with a buffer, type C-x # [2 times] previous-line: Beginning of buffer [6 times] When done with a buffer, type C-x # [2 times] funcall-interactively: End of buffer Configured features: IMAGEMAGICK NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Minor modes in effect: slime-trace-dialog-minor-mode: t slime-autodoc-mode: t slime-mode: t paredit-mode: t helm-gtags-mode: t pyvenv-mode: t TeX-PDF-mode: t helm-mode: t helm-autoresize-mode: t global-magit-file-mode: t magit-file-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t google-this-mode: t delete-selection-mode: t yas-global-mode: t yas-minor-mode: t global-flycheck-mode: t flycheck-mode: t global-auto-complete-mode: t auto-complete-mode: t override-global-mode: t show-paren-mode: t global-linum-mode: t global-hl-line-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/ccQ/.emacs.d/elpa/lsp-rust-20180305.1308/lsp-rust hides = /Users/ccQ/.emacs.d/elpa/lsp-mode-20190512.1847/lsp-rust ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-iedit hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-iedit ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-cap hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-cap ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-ac hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-ac ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-imenu hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-imenu ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/merlin-company hides = /Users/ccQ/.emacs.d/elpa/merlin-20190323.930/merlin-company ~/.emacs.d/opam_link/_opam/share/emacs/site-lisp/utop hides = /Users/ccQ/.emacs.d/elpa/utop-20181010.2155/utop Features: (shadow sort mail-extr emacsbug sendmail winner helm-command helm-elisp helm-eval edebug backtrace helm-info term/xterm xterm vc-git ac-slime slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime arc-mode archive-mode pp hyperspec browse-url paredit helm-gtags pulse init-ocaml ocamlformat init-yaml yaml-mode init-rust racer pos-tip rust-mode init-js init-web-n-php ac-php ac-php-core xcscope f php-mode php-project mode-local speedbar sb-image ezimage dframe cc-langs cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs php-face php web-mode-expansions web-mode disp-table init-haskell init-swift init-golang init-python py-autopep8 highlight-indentation company-capf company pcase help-fns radix-tree elpy find-file-in-project ivy colir ivy-overlay ffap windmove elpy-shell pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-profile elpy-django s elpy-refactor python-el-fgallina-expansions python tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat parse-time ido grep files-x etags fileloop generator xref project init-markdown markdown-mode color noutline outline init-org init-dash init-tex tex-mik tex init-helm helm-swoop helm-mode helm-files helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm-config helm-easymenu helm helm-source eieio-compat helm-multi-match helm-lib init-shell init-lisp init-treemacs cus-edit cus-start cus-load wid-edit magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async shell pcomplete server google-this url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap delsel expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom highlight-symbol multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect yasnippet advice flymake-proc flymake compile comint ansi-color ring warnings thingatpt elec-pair flycheck cl-extra find-func help-mode dash auto-complete-config auto-complete edmacro kmacro popup use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core monokai-theme paren linum hl-line finder-inf tex-site rx slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 538582 33907) (symbols 48 42822 3) (strings 32 178653 4185) (string-bytes 1 5384947) (vectors 16 66174) (vector-slots 8 781274 35298) (floats 8 373 350) (intervals 56 473 81) (buffers 992 16)) ------------=_1559918102-22616-1--