From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r111840: Port documentation to Texinfo 5.0. Date: Fri, 22 Feb 2013 21:34:40 +0100 Message-ID: <87bobc3x5r.fsf@gmx.de> 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> <8338woma6c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361565297 30171 80.91.229.3 (22 Feb 2013 20:34:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 20:34:57 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org, bzg@altern.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 21:35:19 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 1U8zKt-0004Hj-HI for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2013 21:35:15 +0100 Original-Received: from localhost ([::1]:39358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zKZ-0002TN-3l for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2013 15:34:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zKV-0002SO-Qr for emacs-devel@gnu.org; Fri, 22 Feb 2013 15:34:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8zKV-00030N-0q for emacs-devel@gnu.org; Fri, 22 Feb 2013 15:34:51 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:61544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8zKU-000309-OQ for emacs-devel@gnu.org; Fri, 22 Feb 2013 15:34:50 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M2rpw-1UxvFo3UIA-00sfSR for ; Fri, 22 Feb 2013 21:34:46 +0100 Original-Received: (qmail invoked by alias); 22 Feb 2013 20:34:46 -0000 Original-Received: from p57BB972E.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.46] by mail.gmx.net (mp032) with SMTP; 22 Feb 2013 21:34:46 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19v4dIi/aVv+c3ZleWI/Xqiz2FcnMI6xe5cPnGqFq Zzfk+YCQ74EHQs In-Reply-To: <8338woma6c.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Feb 2013 21:16:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 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:157270 Archived-At: Eli Zaretskii writes: > 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. I haven't played with texinfo 5 yet, so I cannot say too much. But the idea of @trampfn was to have just one unique macro with plays for all. Before changing this, I would like to check with texinfo 5 whether it is still possible. If I understand Glenn correctly, we have no rush for the emacs-24 branch (please correct me if I'm wrong). Best regards, Michael.