From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28396: 26.0.50; display-line-numbers not saved by Save Options Date: Wed, 22 Nov 2017 05:34:33 +0200 Message-ID: <83wp2jasvq.fsf@gnu.org> References: <83mv64w5le.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511321715 3785 195.159.176.226 (22 Nov 2017 03:35:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2017 03:35:15 +0000 (UTC) Cc: 28396@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 22 04:35:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHLoZ-0000OK-OQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 04:35:07 +0100 Original-Received: from localhost ([::1]:37634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHLoe-0002kc-A9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Nov 2017 22:35:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHLoY-0002kU-Ij for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2017 22:35:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHLoU-0002gz-LL for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2017 22:35:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHLoU-0002gd-Gt for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2017 22:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHLoU-0002l7-8I for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2017 22:35: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: Wed, 22 Nov 2017 03:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28396 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28396-submit@debbugs.gnu.org id=B28396.151132168710582 (code B ref 28396); Wed, 22 Nov 2017 03:35:02 +0000 Original-Received: (at 28396) by debbugs.gnu.org; 22 Nov 2017 03:34:47 +0000 Original-Received: from localhost ([127.0.0.1]:51704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHLoF-0002kc-Ec for submit@debbugs.gnu.org; Tue, 21 Nov 2017 22:34:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHLoE-0002kO-BI for 28396@debbugs.gnu.org; Tue, 21 Nov 2017 22:34:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHLo4-0002WR-Ti for 28396@debbugs.gnu.org; Tue, 21 Nov 2017 22:34:41 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHLo4-0002WN-Q7 for 28396@debbugs.gnu.org; Tue, 21 Nov 2017 22:34:36 -0500 Original-Received: from [176.228.60.248] (port=4317 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eHLo3-00035w-UK; Tue, 21 Nov 2017 22:34:36 -0500 In-reply-to: (message from Glenn Morris on Tue, 21 Nov 2017 19:44:05 -0500) 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: 208.118.235.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:140228 Archived-At: > From: Glenn Morris > Cc: 28396@debbugs.gnu.org > Date: Tue, 21 Nov 2017 19:44:05 -0500 > > Eli Zaretskii wrote: > > > emacs -Q > > Click Options in the menu bar > > Select Show/Hide->Line Numbers For All Lines->Global Line Numbers Mode > > Click Options->Save Options > > > > The result is that the setting of global-display-line-numbers-mode is > > not saved on the init file. > > commit daa959e (HEAD, origin/emacs-26, emacs-26) > Date: Tue Nov 21 19:42:32 2017 -0500 > > * lisp/menu-bar.el (menu-bar-options-save): > Add global-display-line-numbers-mode. (Bug#28396) Thanks. > > Note that the solution should also save the sub-mode, when the user > > selects, say, Relative Line Numbers. > > Buffer-local variables like display-line-numbers don't play well with > Customize. That's too bad, I hoped some solution would be possible. Is it acceptable to save the mode, but not its sub-mode? I have no opinion, as I don't use this mode. Should we perhaps at least document this subtle issue somewhere?