# HG changeset patch # User Dan Nicolaescu # Date 1203267464 0 # Node ID 07b62dd00afa360d2a3a3082cafda10e1b9bbf5d # Parent 27249878ef44d1cea71c126720b3e6c43c33fcaa * simple.el (transient-mark-mode): Add an :init-value. * startup.el (command-line): Use custom-reevaluate-setting for transient-mark-mode. * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive with Qt. diff -r 27249878ef44 -r 07b62dd00afa etc/NEWS --- a/etc/NEWS Sun Feb 17 02:05:08 2008 +0000 +++ b/etc/NEWS Sun Feb 17 16:57:44 2008 +0000 @@ -95,6 +95,8 @@ ** Emacs now supports the SVG image format through librsvg2. +** transient-mark-mode is now enabled by default. + ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f requires confirmation before opening a non-existent file. diff -r 27249878ef44 -r 07b62dd00afa lisp/ChangeLog --- a/lisp/ChangeLog Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/ChangeLog Sun Feb 17 16:57:44 2008 +0000 @@ -1,3 +1,10 @@ +2008-02-17 Dan Nicolaescu + + * simple.el (transient-mark-mode): Add an :init-value. + + * startup.el (command-line): Use custom-reevaluate-setting for + transient-mark-mode. + 2008-02-17 Micha$(Q)a(Bl Cadilhac * wdired.el (wdired-allow-to-change-permissions): Fix typo. diff -r 27249878ef44 -r 07b62dd00afa lisp/simple.el --- a/lisp/simple.el Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/simple.el Sun Feb 17 16:57:44 2008 +0000 @@ -3586,7 +3586,9 @@ Invoke \\[apropos-documentation] and type \"transient\" or \"mark.*active\" at the prompt, to see the documentation of commands which are sensitive to the Transient Mark mode." - :global t :group 'editing-basics) + :global t + :init-value (not noninteractive) + :group 'editing-basics) (defvar widen-automatically t "Non-nil means it is ok for commands to call `widen' when they want to. diff -r 27249878ef44 -r 07b62dd00afa lisp/startup.el --- a/lisp/startup.el Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/startup.el Sun Feb 17 16:57:44 2008 +0000 @@ -847,6 +847,7 @@ (custom-reevaluate-setting 'send-mail-function) (custom-reevaluate-setting 'focus-follows-mouse) (custom-reevaluate-setting 'global-auto-composition-mode) + (custom-reevaluate-setting 'transient-mark-mode) (normal-erase-is-backspace-setup-frame) diff -r 27249878ef44 -r 07b62dd00afa src/ChangeLog --- a/src/ChangeLog Sun Feb 17 02:05:08 2008 +0000 +++ b/src/ChangeLog Sun Feb 17 16:57:44 2008 +0000 @@ -1,3 +1,8 @@ +2008-02-17 Dan Nicolaescu + + * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive + with Qt. + 2008-02-17 Kenichi Handa * ftfont.c (ftfont_shape): Return Lispy number. diff -r 27249878ef44 -r 07b62dd00afa src/callint.c --- a/src/callint.c Sun Feb 17 02:05:08 2008 +0000 +++ b/src/callint.c Sun Feb 17 16:57:44 2008 +0000 @@ -960,7 +960,7 @@ When the option is non-nil, deactivation of the mark turns off region highlighting, but commands that use the mark behave as if the mark were still active. */); - Vmark_even_if_inactive = Qnil; + Vmark_even_if_inactive = Qt; DEFVAR_LISP ("mouse-leave-buffer-hook", &Vmouse_leave_buffer_hook, doc: /* Hook to run when about to switch windows with a mouse command.