Mail Mode directly binds C-a to beginning-of-line-text. This works badly if C-a is bound to mark-whole-buffer. Please change the binding to remap move-beginning-of-line to beginning-of-line-text. -- MJF In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Emacs-Lisp/lw Minor modes in effect: eldoc-mode: t global-balanced-mode: t balanced-mode: t hrule-mode: t global-hi-lock-mode: t hi-lock-mode: t c-subword-mode: t show-paren-mode: t recentf-mode: t global-reveal-mode: t reveal-mode: t global-c-subword-mode: t shell-dirtrack-mode: t cua-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <apps> r e v e r t SPC b <tab> <return> C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z <up> C-x k <return> <apps> <up> <up> <up> <up> <up> <down> C-g <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> <mouse-movement> <drag-mouse-1> <down-mouse-1> <mouse-1> <up> <up> C-x C-f ~ / e m a c s / t e x t <return> C-s l o n g <up> <end> <return> C-h v m a i l SPC m <tab> o <tab> <tab> <tab> <tab> <tab> h <tab> <return> C-h v C-g C-x o <end> <left> <left> <left> <left> <return> <M-down> <M-right> <M-right> <M-left> C-s C-w C-w C-w C-s <M-up> <M-up> <right> <M-up> <right> <end> <M-up> <up> <down> <M-down> <M-right> <M-right> <M-right> <M-left> <M-left> C-h v m a i l SPC m o d e <return> <backspace> C-g <M-up> <M-right> <M-left> <M-down> <M-right> <M-right> <M-right> <M-left> <M-left> <M-right> <M-right> <M-left> C-h v t <backspace> m C-g <M-left> C-x b * m a i C-g C-x b <return> C-1 <language-change> ( f l p <backspace> C-/ C-/ C-/ C-/ C-/ C-1 ( f l p <backspace> <backspace> <backspace> <language-change> u n l e s s SPC ( e q SPC m a j o r - m o d e SPC ' m a i l - m o d e ) <down> <tab> C-x C-s C-x C-e C-x k <return> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> <send-emacs-bug-report> Recent messages: Learn how to use Emacs Learn how to use Emacs (choose a language) Frequently asked (and answered) questions about Emacs New features of this version Read about known problems with Emacs Send e-mail to Emacs maintainers Our doctor will help you feel better Full documentation of Emacs features Our doctor will help you feel better Send e-mail to Emacs maintainers