From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rayz@phonon.com Newsgroups: gmane.emacs.help Subject: How do I overload M-q to invoke fill-region only when mark is active? Date: 15 Jun 2006 09:57:49 -0700 Organization: http://groups.google.com Message-ID: <1150390669.240766.213550@i40g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1150393241 2483 80.91.229.2 (15 Jun 2006 17:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jun 2006 17:40:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 15 19:40:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fqvpd-0002te-O1 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jun 2006 19:40:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fqvpd-0002cK-9Y for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jun 2006 13:40:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 5 Original-NNTP-Posting-Host: 63.148.37.134 Original-X-Trace: posting.google.com 1150390674 26254 127.0.0.1 (15 Jun 2006 16:57:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 15 Jun 2006 16:57:54 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=63.148.37.134; posting-account=xJwmbQwAAACSikPHPz84iSsX47_wCM1G Original-Xref: shelby.stanford.edu gnu.emacs.help:139860 Original-To: help-gnu-emacs@gnu.org 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:35484 Archived-At: I'd like to use M-q to invoke fill-region when mark is active. Otherwise I want it to invoke fill-paragraph. How do I set this up? Please respond to the group -- the e-mail address is invalid. TIA