From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38111: 27.0.50; globalized-minor-mode not enabled on get-buffer-create Date: Fri, 08 Nov 2019 11:50:03 +0200 Message-ID: <83y2wqd7ec.fsf@gnu.org> References: <87sgmzqs5z.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214724"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38111@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 08 10:51:11 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iT0v8-000tdl-Fa for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 10:51:10 +0100 Original-Received: from localhost ([::1]:51214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT0v7-0004mx-0n for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 04:51:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40203) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT0v1-0004mq-Mu for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 04:51:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iT0v0-0005Hk-Oq for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 04:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iT0v0-0005Hc-Ll for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 04:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iT0v0-0006O5-GP for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 04:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2019 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38111 X-GNU-PR-Package: emacs Original-Received: via spool by 38111-submit@debbugs.gnu.org id=B38111.157320662724509 (code B ref 38111); Fri, 08 Nov 2019 09:51:02 +0000 Original-Received: (at 38111) by debbugs.gnu.org; 8 Nov 2019 09:50:27 +0000 Original-Received: from localhost ([127.0.0.1]:44627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iT0uO-0006NC-Om for submit@debbugs.gnu.org; Fri, 08 Nov 2019 04:50:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iT0uM-0006Mt-Le for 38111@debbugs.gnu.org; Fri, 08 Nov 2019 04:50:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iT0uE-0004i6-Kg; Fri, 08 Nov 2019 04:50:14 -0500 Original-Received: from [176.228.60.248] (port=4863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iT0uD-0003xz-Us; Fri, 08 Nov 2019 04:50:14 -0500 In-reply-to: <87sgmzqs5z.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 07 Nov 2019 23:53:04 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:171183 Archived-At: > From: Juri Linkov > Date: Thu, 07 Nov 2019 23:53:04 +0200 > > This looks like a bug. I found this issue while using global-tab-line-mode, > but to confirm that it's unrelated to tab-line, this bug report uses another > globalized minor-mode global-display-fill-column-indicator-mode: > > 0. emacs -Q > 1. M-x global-display-fill-column-indicator-mode RET > 2. C-x b test1 RET > 3. RET ;; this inserts newline to show column indicator > ;; that confirms this mode is enabled in the buffer > > 4. M-: (switch-to-buffer (get-buffer-create "test2")) RET > 5. RET ;; no column indicator, mode not enabled > 6. C-h v display-fill-column-indicator-mode RET > ;; confirms its value is nil Sounds like globalized-minor-mode machinery sdomehow doesn't support the latter method of creating a buffer? Does the turn-on function of the mode get called in that scenario?