From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jordan Greenberg Newsgroups: gmane.emacs.help Subject: Re: Binding C-a to select all Date: Wed, 25 Jun 2008 01:23:13 -0400 Message-ID: References: <860891f5-ebe7-4813-a63a-50449b7df59a@g16g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214402220 13536 80.91.229.12 (25 Jun 2008 13:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 13:57:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 15:57:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBVUw-00038S-7S for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2008 15:57:22 +0200 Original-Received: from localhost ([127.0.0.1]:40088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBVU6-0004Ms-Kb for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2008 09:56:30 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 25 Jun 2008 00:23:21 -0500 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) Original-Newsgroups: gnu.emacs.help In-Reply-To: <860891f5-ebe7-4813-a63a-50449b7df59a@g16g2000pri.googlegroups.com> Original-Lines: 11 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 98.217.179.163 Original-X-Trace: sv3-rdCBfFLa7UHrJFNpqkFJXsUYcao5LPuPQ9QvtOt1Zvk1dwyfVpnCCZf3hq1BycJYzL7YAj5Hwxxv9Er!hVTc6yFT/uFcaxozuK8gKCrsYT/BpeHtINFeE9zTzx7kVNFYwVd6uwM6lFOFn63O6kOvNJxNix/j!iWmfCrtbDE6XeAEqvMBcxpOmoCYh11E= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:159719 X-Mailman-Approved-At: Wed, 25 Jun 2008 09:54:44 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55079 Archived-At: Davin Pearson wrote: > On Jun 25, 3:19 pm, "B. T. Raven" wrote: >> (define-key global-map [(control a)] 'mark-whole-buffer) > > Thank you for your help but there is problem with the above code in > that it doesn't highlight the region in the face "region" or "primary- > selection". Please advise me how I can go about getting this > functionality online. You probably want to add (transient-mark-mode 1) to your .emacs. -Jordan