From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: BDB Newsgroups: gmane.emacs.help Subject: Re: Automating function with interactive args Date: 26 Apr 2012 20:35:17 GMT Organization: Unlimited download news at news.astraweb.com Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1335472818 23567 80.91.229.3 (26 Apr 2012 20:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 20:40:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 22:40:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNVU5-00019z-RW for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 22:40:13 +0200 Original-Received: from localhost ([::1]:46567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNVU5-0008GW-5p for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 16:40:13 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!news-xfer.nntp.sonic.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/pre1.0.0-18 (Linux) Original-Lines: 22 Original-NNTP-Posting-Host: 4375322b.news.astraweb.com Original-X-Trace: DXC=:9A4JA; h8BKTE2gdJ]P=SGL?0kYOcDh@JYkk[:k07I@KFY`X_Y8OYWB^1JaZ>c_`GKlm>HB?YDhTDH[ek; 2Q9G2I9\C6OnDK=1@@9LN`GllnCI Original-Xref: usenet.stanford.edu gnu.emacs.help:192244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84654 Archived-At: Tassilo Horn wrote: > --8<---------------cut here---------------start------------->8--- > (require 'ediff) > > (defun my-ediff-revision-latest () > (interactive) > (ediff-load-version-control) > (funcall > (intern (format "ediff-%S-internal" ediff-version-control-package)) > nil nil nil)) > --8<---------------cut here---------------end--------------->8--- This didn't work, however it seemed close (closer than the other example posted). It brought up ediff with both windows pointing to the same HEAD version of the file, and gave an error "Removing old name: no such file or directory ..." Anyone willing to help me understand the code here? The format command is kind of like sprintf, right? Why are you trying to call ediff--internal? What's that? Thanks!