From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode and line-move-visual Date: Wed, 28 Sep 2016 17:45:22 +0300 Message-ID: <83bmz8ozgd.fsf@gnu.org> References: <22506.40277.991054.187354@gargle.gargle.HOWL> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475073955 10477 195.159.176.226 (28 Sep 2016 14:45:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2016 14:45:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: raman@google.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 28 16:45:52 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bpG77-0000c2-Ku for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2016 16:45:37 +0200 Original-Received: from localhost ([::1]:59310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpG75-0006RH-VY for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2016 10:45:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpG6x-0006Ms-RZ for emacs-devel@gnu.org; Wed, 28 Sep 2016 10:45:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpG6s-0001SV-T9 for emacs-devel@gnu.org; Wed, 28 Sep 2016 10:45:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpG6s-0001SQ-QJ; Wed, 28 Sep 2016 10:45:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bpG6r-0002wN-Vu; Wed, 28 Sep 2016 10:45:22 -0400 In-reply-to: <22506.40277.991054.187354@gargle.gargle.HOWL> (raman@google.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207860 Archived-At: > From: raman@google.com > Date: Tue, 27 Sep 2016 09:24:53 -0700 > > Now that visual-line-mode is a true minor mode --- should > line-move-visual be turned into a defvar rather than remaining a > defcustom? > > Is there any case where line-move-visual nil and visual-line-mode t > make sense? When visual-line-mode is turned on, I doubt that anyone would want to turn off line-move-visual (although I see no reason to disallow that, perhaps there's some obscure use case where that would be of use). However, having line-move-visual on or off when visual-line-mode is off is a matter of personal preference. IOW, line-move-visual has value even if the user doesn't use visual-line-mode. So I think it should still be a defcustom, to allow customization independent of visual-line-mode.