From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "George Nurser" Newsgroups: gmane.emacs.help Subject: Re: shortcut for ediff on 2 buffers in frame Date: Mon, 9 Jun 2008 22:52:14 +0100 Message-ID: <1d1e6ea70806091452x5a14049dw60b23579610a9b13@mail.gmail.com> References: <87ej76lln6.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213048365 11159 80.91.229.12 (9 Jun 2008 21:52:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 21:52:45 +0000 (UTC) To: "=?ISO-8859-1?Q?S=E9bastien_Vauban?=" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 09 23:53:28 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 1K5pIs-0005Mg-5U for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 23:53:26 +0200 Original-Received: from localhost ([127.0.0.1]:41003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5pI4-0004kP-Te for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 17:52:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5pHl-0004gM-Mu for help-gnu-emacs@gnu.org; Mon, 09 Jun 2008 17:52:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5pHk-0004d0-44 for help-gnu-emacs@gnu.org; Mon, 09 Jun 2008 17:52:17 -0400 Original-Received: from [199.232.76.173] (port=34436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5pHj-0004cn-Tq for help-gnu-emacs@gnu.org; Mon, 09 Jun 2008 17:52:15 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.249]:20641) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5pHj-0004gR-Mj for help-gnu-emacs@gnu.org; Mon, 09 Jun 2008 17:52:15 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so2807382rvb.6 for ; Mon, 09 Jun 2008 14:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gyA7MD0sev+MkKWndbXL8o59nCZyu5LtdfcgExFjUQU=; b=O+lelTlyKuPoYpjH9vOjq/LXsJz91WexrHxboBfW4n2UEX/hxl5BIMYYz1m0vLCQ04 uSkevW6S7IZyM2U1I1yQ4OQfUFUW3m7Kd/KWMTlEIzxYHePESaQMDxhDsaqdYavCkpZT vSp5fLiIiY0gaiKvG/vSv5GzphMqsLF2a+6nA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oVH1NelXssbhgqX+g5Qj2uB0mDdLbtZD3ZiJJwvr7bApCJi5flY4ncvVDQgTSlhFO4 QjA01DLpOP9Yulr3oky52BKwPHqu7pn/ykAbEes6qhKbYmbsvEDrKjCK18uot/JG7T+g iknLq17nx3leGY5+1b/WXGkmj2/ECfySz4oVU= Original-Received: by 10.114.185.8 with SMTP id i8mr4125973waf.28.1213048334463; Mon, 09 Jun 2008 14:52:14 -0700 (PDT) Original-Received: by 10.115.49.17 with HTTP; Mon, 9 Jun 2008 14:52:14 -0700 (PDT) In-Reply-To: <87ej76lln6.fsf@mundaneum.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:54653 Archived-At: 2008/6/9 S=E9bastien Vauban : > Hi George, > >> I often wish to do an ediff to compare two buffers, each >> occupying a different window, but on the same frame. >> >> How would I set up a keyboard shortcut to do this, so I do not >> have to go through the menu? > > Place this in your `.emacs' file: > > (global-set-key [(control c) (d)] 'ediff-buffers) > > The key binding (here: C-c d) could be something else... > > Seb > > -- > S=E9bastien Vauban > Thanks Seb, That did the job. George.