help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Key command to format code


From: lawrence mitchell
Subject: Re: Key command to format code
Date: Wed, 01 Jan 2003 23:03:05 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.4 (sparc-sun-solaris2.6)

Harry Putnam wrote:

> Pretty discouraged to be posting about this.  Somehow I've forgotten
> the key combo to format a region of code.

Do you want `indent-region'? C-M-\

If not, I'm not quite sure what you mean by "format code".
[...]

-- 
lawrence mitchell <wence@gmx.li>
>From help-gnu-emacs-bounces@gnu.org  Wed Jan  1 18:25:09 2003
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!peer1.news.newnet.co.uk!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail
From: Tim Haynes <usenet@stirfried.vegetable.org.uk>
X-Anti-Echelon: IB
Newsgroups: gnu.emacs.help
References: <mailman.6.1041461844.29703.help-gnu-emacs@gnu.org>
Organization: What's Organization?
Date: Wed, 01 Jan 2003 23:11:52 +0000
Message-ID: <86smwcfosn.fsf@potato.vegetable.org.uk>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military
 Intelligence, i686-pc-linux)
Cancel-Lock: sha1:Zw3EpmzUDKDqRuAgT6uf0WUGFPw=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 13
NNTP-Posting-Host: 195.149.39.120
X-Trace: 1041463506 mercury.nildram.net 169 195.149.39.120
Xref: shelby.stanford.edu gnu.emacs.help:108644
To: help-gnu-emacs@gnu.org
Subject: Re: Key command to format code
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: news_reply@stirfried.vegetable.org.uk
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 01 Jan 2003 23:25:09 -0000

Harry Putnam <hgp@sbcglobal.net> writes:

> Pretty discouraged to be posting about this. Somehow I've forgotten the
> key combo to format a region of code.

How `format'?

Is M-C-\ your fwend(TM) today? :)

~Tim
-- 
April comes to the new grass                |piglet@stirfried.vegetable.org.uk
On the hills of gold                        |http://spodzone.org.uk/
>From help-gnu-emacs-bounces@gnu.org  Wed Jan  1 21:05:10 2003
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!cbca52ab!not-for-mail
Newsgroups: gnu.emacs.help
From: Harry Putnam <hgp@sbcglobal.net>
Organization: Still searching...
References: <mailman.6.1041461844.29703.help-gnu-emacs@gnu.org>
        <ouly964v5g6.fsf@ID-97657.usr.dfncis.de>
Message-ID: <m2d6ngcnrs.fsf@sbcglobal.net>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:jqB5d0eDX0vtbkzCcgwenL7lq6E=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 25
NNTP-Posting-Host: 63.206.49.81
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr17.news.prodigy.com 1041472935 ST000 63.206.49.81 (Wed, 01 Jan
        2003 21:02:15 EST)
NNTP-Posting-Date: Wed, 01 Jan 2003 21:02:15 EST
X-UserInfo1: 
SCSYQN_@FS@CRUH[N[O@_WH@YR_B@EXLLBWLOOAF@YUDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM
Date: Thu, 02 Jan 2003 02:02:15 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108645
To: help-gnu-emacs@gnu.org
Subject: Re: Key command to format code
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 02 Jan 2003 02:05:10 -0000

lawrence mitchell <wence@gmx.li> writes:

> Harry Putnam wrote:
>
>> Pretty discouraged to be posting about this.  Somehow I've forgotten
>> the key combo to format a region of code.
>
> Do you want `indent-region'? C-M-\

Yup


Tim Haynes <usenet@stirfried.vegetable.org.uk> writes:
>
> How `format'?
>
> Is M-C-\ your fwend(TM) today? :)

Yup

You guys have lowered the suicide rate in Southern Cal by one today.
Thanks.

I still think it should be findable by searching on `format'.
If Eli sees this, I think he might fix it so it is.
>From help-gnu-emacs-bounces@gnu.org  Wed Jan  1 21:15:09 2003
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!proxad.net!noos.fr!not-for-mail
Newsgroups: gnu.emacs.help
References: <mailman.3.1041458358.29703.help-gnu-emacs@gnu.org>
From: Chmouel Boudjnah <chmouel@chmouel.com>
Date: Thu, 02 Jan 2003 03:10:21 +0100
Message-ID: <uel7wnvxu.fsf@chmouel.com>
Organization: "Chmouel Travels"
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2
 (i386-msvc-nt5.0.2195)
Cancel-Lock: sha1:jOOLWD7Wd9IeFy7IPWS0A5gcNys=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 5
NNTP-Posting-Date: 02 Jan 2003 02:10:49 GMT
NNTP-Posting-Host: 81.66.120.150
X-Trace: 1041473449 news.noos.fr 20279 81.66.120.150
X-Complaints-To: abuse@noos.fr
Xref: shelby.stanford.edu gnu.emacs.help:108646
To: help-gnu-emacs@gnu.org
Subject: Re: Raising the frame and focus
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 02 Jan 2003 02:15:09 -0000


i guess if i do remember right, gnuclient should be able to do that.

-- 
Chmouel -- http://www.chmouel.com/
>From help-gnu-emacs-bounces@gnu.org  Wed Jan  1 23:50:10 2003
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail
Message-ID: <3E13C3EC.2F565BF1@no.spam>
From: Charles Herman <spam@no.spam>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: gnu.emacs.help
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 10
NNTP-Posting-Host: 12.232.113.104
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc54 1041482733 12.232.113.104 (Thu, 02 Jan 2003 04:45:33 GMT)
NNTP-Posting-Date: Thu, 02 Jan 2003 04:45:33 GMT
Organization: AT&T Broadband
Date: Thu, 02 Jan 2003 04:45:33 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108647
To: help-gnu-emacs@gnu.org
Subject: pasting with middle-button
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 02 Jan 2003 04:50:10 -0000

I am using Emacs 21.2 on Win 2000.  I want to be able to paste text
using the middle button of the mouse.  I have a Logitech 3-button mouse
which I can set so that the middle button behaves like a middle button.

But the middle button does not paste in Emacs, is there a line I need in
my .emacs file to force this behaviour?

-charles



reply via email to

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