emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Semi-unhelpful error message given when trying to (provide 'CUA-mode)


From: Alan Mackenzie
Subject: Semi-unhelpful error message given when trying to (provide 'CUA-mode)
Date: Sat, 20 May 2006 13:15:41 +0000 (GMT)

Afternoon, Emacs!

In Emacs-22.0.50, if you try to load a legacy cua-mode.el (or whatever),
an eval-after-load form tells you to set the CUA option via the menu.
This is useful only to users who have a mouse and like using it.

For the benefit of other users, M-x cua-mode should also be mentioned.


 
2006-05-20  Alan Mackenzie  <address@hidden>

        * emulation/cua-base.el: Mention "M-x cua-mode" in the error
        message provoked by trying to (provide 'CUA-mode).


Index: cua-base.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emulation/cua-base.el,v
retrieving revision 1.70
diff -c -r1.70 cua-base.el
*** cua-base.el 9 Apr 2006 23:04:07 -0000       1.70
--- cua-base.el 20 May 2006 12:56:17 -0000
***************
*** 1499,1505 ****
  ;;;###autoload (eval-after-load 'CUA-mode
  ;;;###autoload  '(error (concat "\n\n"
  ;;;###autoload  "CUA-mode is now part of the standard GNU Emacs 
distribution,\n"
! ;;;###autoload  "so you may now enable and customize CUA via the Options 
menu.\n\n"
  ;;;###autoload  "You have loaded an older version of CUA-mode which does\n"
  ;;;###autoload  "not work correctly with this version of GNU Emacs.\n\n"
  ;;;###autoload  (if user-init-file (concat
--- 1499,1506 ----
  ;;;###autoload (eval-after-load 'CUA-mode
  ;;;###autoload  '(error (concat "\n\n"
  ;;;###autoload  "CUA-mode is now part of the standard GNU Emacs 
distribution,\n"
! ;;;###autoload  "so you may now enable and customize CUA via the Options 
menu\n"
! ;;;###autoload  "or toggle it with M-x cua-mode.\n\n"
  ;;;###autoload  "You have loaded an older version of CUA-mode which does\n"
  ;;;###autoload  "not work correctly with this version of GNU Emacs.\n\n"
  ;;;###autoload  (if user-init-file (concat



-- 
Alan.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]