From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: shortcut for ediff on 2 buffers in frame Date: Mon, 09 Jun 2008 16:37:33 +0200 Organization: Sebastien Vauban Message-ID: <87ej76lln6.fsf@mundaneum.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213022441 7078 80.91.229.12 (9 Jun 2008 14:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 14:40:41 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Jun 09 16:41:23 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 1K5iYj-00024c-Rc for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 16:41:22 +0200 Original-Received: from localhost ([127.0.0.1]:42847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5iXw-0005Xe-IU for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 10:40:32 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!nerim.net!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... X-Archive: encrypt User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:EdtuKzfCDuJpiZ99dl6/OutlGjg= Original-Lines: 18 Original-NNTP-Posting-Date: 09 Jun 2008 14:37:33 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1213022253 reader0.news.be.easynet.net 1598 [::ffff:81.188.7.152]:29290 Original-X-Complaints-To: abuse-sq41lydJq48WI+UwmH2aBQ@public.gmane.org Original-Xref: news.stanford.edu gnu.emacs.help:159279 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:54638 Archived-At: 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 --=20 S=C3=A9bastien=C2=A0Vauban