From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ferhun_caner@yahoo.com (Dr. F.C.Caner) Newsgroups: gmane.emacs.help Subject: -Re: "Select All" elisp snippet Date: 7 Jan 2004 07:22:22 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <65fef11f.0401070722.6f16123a@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1073492776 1300 80.91.224.253 (7 Jan 2004 16:26:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 16:26:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 07 17:26:13 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeGVZ-0007GI-00 for ; Wed, 07 Jan 2004 17:26:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AeGrS-0005d6-Qf for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2004 11:48:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 147.83.51.18 Original-X-Trace: posting.google.com 1073488942 3190 127.0.0.1 (7 Jan 2004 15:22:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 7 Jan 2004 15:22:22 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:119835 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15779 I think you can put in your .emacs file something like (defun select-all() (goto-char (point-min)) (set-mark-command) (goto-char (point-max))) (global-set-key [C-a] 'select-all) to imitate Windows behavior. But, this is untested. FCC Edward Wijaya wrote: > Hi Emacsen, > > Is there a elisp function that enable us > to do 'select all' in the document text? > > Instead of having to mark it front and end document > and copyiing beforehand. > > Thanks so much for your time. > > Regards, > Edward Wijaya > SINGAPORE