]> code.delx.au - gnu-emacs/commitdiff
* simple.el (transient-mark-mode): Add an :init-value.
authorDan Nicolaescu <dann@ics.uci.edu>
Sun, 17 Feb 2008 16:57:44 +0000 (16:57 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sun, 17 Feb 2008 16:57:44 +0000 (16:57 +0000)
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.

* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.

etc/NEWS
lisp/ChangeLog
lisp/simple.el
lisp/startup.el
src/ChangeLog
src/callint.c

index c2501f3bc3d28ba99ca4685ce9ff956ae83b2aff..5d724eac8459e25b45210d3ad2432885ce44925a 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -95,6 +95,8 @@ the currently selected Emacs frame.
 
 ** 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.
 
index 6256677c594baeaf384d509ca12c49c1f4d1c7f1..805570ea41a1210aa1ade0bb14ba552f5657a749 100644 (file)
@@ -1,3 +1,10 @@
+2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * 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\e$(Q)a\e(Bl Cadilhac  <michael@cadilhac.name>
 
        * wdired.el (wdired-allow-to-change-permissions): Fix typo.
index e838731c1bef149ea22b215e55d35b2a267dfb67..0ae64b550b72c73bf34b57ce1ee9f0bc31972cd7 100644 (file)
@@ -3586,7 +3586,9 @@ default part of the buffer's text.  Examples of such commands include
 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.
index 56101f3da28c7242fe464102b0fa51d949cffe37..27589295c4455b555c7269d07681af2df2ce0146 100644 (file)
@@ -847,6 +847,7 @@ opening the first frame (e.g. open a connection to an X server).")
   (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)
 
index 333dd802676c106716ffec2e906789ff8504ee7d..25dd28a3ea5a0816cbc015dd9def650803cda164 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
+       with Qt.
+
 2008-02-17  Kenichi Handa  <handa@m17n.org>
 
        * ftfont.c (ftfont_shape): Return Lispy number.
index 7dca5b30347fac5ad121ecd03be3c8addd5e2133..74e0e22fd6d174367b36a2c7f5b0e3ec74b08358 100644 (file)
@@ -960,7 +960,7 @@ This option makes a difference in Transient Mark mode.
 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.