From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gian Uberto Lauri" Newsgroups: gmane.emacs.help Subject: Re: Advice Required Date: Mon, 27 Oct 2014 14:25:11 +0100 Message-ID: <21582.18359.682112.937687@mail.eng.it> References: <21582.5824.834302.348583@mail.eng.it> Reply-To: Gian Uberto Lauri NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414416369 25477 80.91.229.3 (27 Oct 2014 13:26:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 13:26:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 14:26:02 2014 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 1XikJ4-0001zt-8I for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 14:25:58 +0100 Original-Received: from localhost ([::1]:33750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XikJ3-0007Yr-ML for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 09:25:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XikIe-0007Ww-1j for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 09:25:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XikIX-0004EI-Gv for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 09:25:31 -0400 Original-Received: from relay.eng.it ([91.109.60.38]:44280 helo=mail.eng.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XikIX-0004Da-70 for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 09:25:25 -0400 Original-Received: from bms1.eng.it (unknown [192.168.10.42]) by deliver.antivirus (Postfix) with ESMTP id 4FC9540009; Mon, 27 Oct 2014 14:25:23 +0100 (CET) X-AuditID: c0a80a2a-f79cb6d00000130d-1c-544e47c336ae Original-Received: from mail.eng.it (Unknown_Domain [192.168.10.31]) by bms1.eng.it (Symantec Messaging Gateway) with SMTP id 20.04.04877.3C74E445; Mon, 27 Oct 2014 14:25:23 +0100 (CET) Original-Received: from quigley (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id B834D40009; Mon, 27 Oct 2014 14:25:22 +0100 (CET) In-Reply-To: X-Mailer: VM 8.1.1 under 24.4.1 (x86_64-unknown-linux-gnu) X-attribution: CC X-echelon-food: Secure Border Initiative Wildfire subversive NWO Ceridian Air borne NSP Ron Brown Power CQB WINGS FTS2000 Centro SIGDASYS eternity server X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsVyYAWXvO5hd78Qg+fbhCx23nzDZvHt11Zm ByaPtmlmHuvf7GUKYIrisklJzcksSy3St0vgyniyYil7wWruitc3O1kaGFdzdDFycEgImEhc P23SxcgJZIpJXLi3nq2LkYtDSGATo8S5vvdQTg+jxO2359lAqngFBCVOznzCAmIzC+hI7Nx6 hw3C1pZYtvA1M0SNscSLN1PYQWwWAVWJvuktTCC2iICuxIlvZ1kh6qUklm/cBzZHWEBGYsm3 SWA1nAL2EhMmLgKbIySQLtG8ZgMTxHVWEl+fLWGCiOtIPH62Emwvm4CmROdziL0SQLe9PDaN EeRoCYH5jBJXlz5imsAoPAvJ3bOQ3D0Lyd0LGJlXMXIn5RYb6qXmpetllmxihISy1g7Gg9NU DzEKcDAq8fBaFPqGCLEmlhVX5h5ilOBgVhLhdfwJFOJNSaysSi3Kjy8qzUktPsQozcGiJM7r W+geAvREYklqdmpqQWoRTJaJg1OqgXFn/AXj3p9Kr2dy7Xy10ext73Fh7qJ3QgUT1NWUJH+G cpwvrV+X+qNBOHXJq2czVYIZdb67qs9y2xoR+GVd+z4TBfumTNPpoWmLhR8+3VN01nituOn2 CY2/u/bcanaVlK32D5quyf/d+H737+Lj9kpNh3WVhZYHNLAXdm5WSfmRlbTmSeHMdUosxRmJ hlrMRcWJAAySWcRhAgAA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.109.60.38 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:100624 Archived-At: Stefan Monnier writes: > You might get the same result more simply by doing something like >=20 > emacsclient --eval '(progn (ediff-merge-files-with-ancestor ...)= (recursive-edit))' Wonderful. This does not require an external device and the error message in the minibuffer that you get when you run the command from within emacs is negligible. > Then emacsclient will only return when you exit the recursive edit > (i.e. when something runs (throw 'exit ) which you could add = to > ediff's exit hook). It took me a bit to find how to add it correctly to the hook list, but it is what I needed. Anyway, I still have a doubt. I managed to have this piece of code work (defun ediff-after (foobar) (interactive) (error "pingpipe")) (advice-add 'ediff-quit :after #'ediff-after) but when I tried this a second time it did not work, complaining about wrong number of arguments. What did I wrong=3F Thanks in advance! --=20 /\ =5F=5F=5F Ubuntu: anci= ent /=5F=5F=5F/\=5F|=5F|\=5F|=5F=5F|=5F=5F=5FGian Uberto Lauri=5F=5F=5F=5F=5F= African word //--\| | \| | Integralista GNUslamico meaning "I can \/ coltivatore diretto di software not install gi=E0 sistemista a tempo (altrui) perso... Debian" Warning: gnome-config-daemon considered more dangerous than GOTO