From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r111840: Port documentation to Texinfo 5.0. Date: Fri, 22 Feb 2013 21:16:11 +0200 Message-ID: <8338woma6c.fsf@gnu.org> References: <87txp6ytgg.fsf@bzg.ath.cx> <83621lo9zl.fsf@gnu.org> <51265ACA.9000706@cs.ucla.edu> <83y5ehms5a.fsf@gnu.org> <5ld2vtqyjz.fsf@fencepost.gnu.org> <5126932B.4060007@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361566620 11507 80.91.229.3 (22 Feb 2013 20:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 20:57:00 +0000 (UTC) Cc: emacs-devel@gnu.org, bzg@altern.org To: Paul Eggert , Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 21:57:22 2013 Return-path: Envelope-to: ged-emacs-devel@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 1U8zgG-0000DT-Cl for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2013 21:57:20 +0100 Original-Received: from localhost ([::1]:43715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zfv-0004h0-Ky for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2013 15:56:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8y6n-00054j-LI for emacs-devel@gnu.org; Fri, 22 Feb 2013 14:16:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8y6U-0006s9-3m for emacs-devel@gnu.org; Fri, 22 Feb 2013 14:16:20 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:38273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8y6T-0006ri-Re; Fri, 22 Feb 2013 14:16:18 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MIM00700YQML600@a-mtaout23.012.net.il>; Fri, 22 Feb 2013 21:16:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIM007ZWYV3GP60@a-mtaout23.012.net.il>; Fri, 22 Feb 2013 21:16:15 +0200 (IST) In-reply-to: <5126932B.4060007@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157272 Archived-At: > Date: Thu, 21 Feb 2013 13:35:39 -0800 > From: Paul Eggert > CC: Eli Zaretskii , bzg@altern.org, emacs-devel@gnu.org > > On 02/21/13 11:03, Glenn Morris wrote: > > I agree; could someone backport the needed changes please? > > Done, by backporting trunk bzr 111300 and 111840 into emacs-24. > > The problem with the TRAMP User Manual still remains in emacs-24, > just as it does in the trunk. If an easy fix to that turns up > before the final pretest I assume it'll be OK to install it into > emacs-24; please let me know otherwise. The problem is with this macro: @macro trampfn {method, user, host, localname}@c @value{prefix}@yyy{\method\,@value{postfixhop}}@yyy{\user\,@@}\host\@value{postfix}\localname\@c @end macro It uses intermediate macros, because the manual calls this macro with some of its arguments empty, e.g.: @trampfn{telnet, , , /usr/local/bin/etc} and it wants the prefixes and postfixes (@ and :) not to appear when the corresponding argument is empty. I think the best way to fix this would be to introduce several macros, one each for every number of non-empty arguments, and then use each one as needed. A bit less convenient, perhaps, but much more straightforward. The question is would Michael accept this solution.