Subject: bug#5109 closed by Chong Yidong <[email-masked]> (Re: visual-line-mode should not be turned off when changing major mode)

From: [email-masked] (Emacs bug Tracking System)
Date: Sat, 05 Dec 2009 20:50:07 +0000

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#5109: visual-line-mode should not be turned off when changing major mode

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
5109: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5109
Emacs Bug Tracking System
Contact [email-masked] with problems

Subject: Re: visual-line-mode should not be turned off when changing major mode
From: Chong Yidong <[email-masked]>
To: Lennart Borgman <[email-masked]>
Cc: [email-masked]
Date: Sat, 05 Dec 2009 15:41:11 -0500

> Should not visual-line-mode function as a kind of emulation of other
> editors? Such minor modes should survive major mode changes (like for
> example cua-mode and viper-mode do).
>
> Currently visual-line-mode is switched off when changing major mode
> (but I do not know how).

Local minor modes never survive major mode changes.  You want
global-visual-line-mode.

Subject: visual-line-mode should not be turned off when changing major mode
From: Lennart Borgman <[email-masked]>
To: Emacs Bugs <[email-masked]>
Date: Thu, 3 Dec 2009 01:11:33 +0100

Should not visual-line-mode function as a kind of emulation of other
editors? Such minor modes should survive major mode changes (like for
example cua-mode and viper-mode do).

Currently visual-line-mode is switched off when changing major mode
(but I do not know how).