From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: line-move-visual never set to nil? Date: Sat, 26 Jul 2008 10:43:01 -0700 Message-ID: <18571.25125.311010.324079@gargle.gargle.HOWL> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217094200 14040 80.91.229.12 (26 Jul 2008 17:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2008 17:43:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 26 19:44:09 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KMnoP-0001Nj-59 for ged-emacs-devel@m.gmane.org; Sat, 26 Jul 2008 19:44:09 +0200 Original-Received: from localhost ([127.0.0.1]:33803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnnV-0002P2-Cj for ged-emacs-devel@m.gmane.org; Sat, 26 Jul 2008 13:43:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMnnP-0002M5-TQ for emacs-devel@gnu.org; Sat, 26 Jul 2008 13:43:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMnnP-0002L6-CU for emacs-devel@gnu.org; Sat, 26 Jul 2008 13:43:07 -0400 Original-Received: from [199.232.76.173] (port=48855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnnP-0002Kv-7Q for emacs-devel@gnu.org; Sat, 26 Jul 2008 13:43:07 -0400 Original-Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]:42529) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMnnO-0003un-Uy for emacs-devel@gnu.org; Sat, 26 Jul 2008 13:43:07 -0400 Original-Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA07.westchester.pa.mail.comcast.net with comcast id ud6A1Z0060EZKEL57hj6BJ; Sat, 26 Jul 2008 17:43:06 +0000 Original-Received: from localhost ([71.202.191.236]) by OMTA01.westchester.pa.mail.comcast.net with comcast id uhj41Z00156Ur8v3Mhj599; Sat, 26 Jul 2008 17:43:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=L0KaK1ctA38A:10 a=2z1OXlWFAAAA:8 a=yGtINl9Q58eoWa-MeAMA:9 a=ldAEIb1G_ALoEuq3hcEA:9 a=wYiSAR6CIOlgOH1tzqMfxEgxnEwA:4 a=5o1NfpFvE1MA:10 a=MSl-tDqOz04A:10 a=CWfAmLVWKswA:10 Original-Received: by localhost (Postfix, from userid 1000) id 555CA12A4101; Sat, 26 Jul 2008 10:43:01 -0700 (PDT) X-Mailer: VM alpha-479 under Emacs 23.0.60.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101551 Archived-At: I'm very confused by the code in simple.el. As reported a few minutes ago, turning off visual-line-mode has no effect. The apparent reason being: line-move-visual remains set to T and that is what the code in functions next-line and previous-line refers to. Is this a naming bug i.e. with the minor mode now called visual-line-mode, should the variable be named visual-line-move -- rather than line-move-visual? Looking at the code that defines visual-line-mode -- I dont see the line-move-visual getting set at any point; also, I see a command to turn-on-visual-line-mode -- but no corresponding command to turn it off. Setting line-move-visual to nil does return emacs to its traditional behavior where next-line and previous-line move across physical lines. -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs