From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24949: Command-line argument parsing: named daemons Date: Thu, 07 Sep 2017 05:31:46 +0300 Message-ID: <838thr1bot.fsf@gnu.org> References: <05vavopehh.fsf@fencepost.gnu.org> <8337isgkkh.fsf@gnu.org> <83efrj1z4t.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504751541 25376 195.159.176.226 (7 Sep 2017 02:32:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2017 02:32:21 +0000 (UTC) Cc: 24949@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 07 04:32:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpmbs-0005kG-U3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Sep 2017 04:32:05 +0200 Original-Received: from localhost ([::1]:38619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpmbz-0000a7-Hm for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Sep 2017 22:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpmbr-0000Yk-2U for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 22:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpmbq-0005kg-4c for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 22:32:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpmbq-0005ka-1n for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 22:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dpmbp-0003Ku-RY for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2017 22:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2017 02:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24949-submit@debbugs.gnu.org id=B24949.150475151712812 (code B ref 24949); Thu, 07 Sep 2017 02:32:01 +0000 Original-Received: (at 24949) by debbugs.gnu.org; 7 Sep 2017 02:31:57 +0000 Original-Received: from localhost ([127.0.0.1]:53670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpmbk-0003Ka-HC for submit@debbugs.gnu.org; Wed, 06 Sep 2017 22:31:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpmbi-0003KK-AO for 24949@debbugs.gnu.org; Wed, 06 Sep 2017 22:31:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpmbY-0005gr-40 for 24949@debbugs.gnu.org; Wed, 06 Sep 2017 22:31:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpmbY-0005gn-0P; Wed, 06 Sep 2017 22:31:44 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1489 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dpmbX-0000tf-7w; Wed, 06 Sep 2017 22:31:43 -0400 In-reply-to: (message from Philipp Stephani on Wed, 06 Sep 2017 18:32:18 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136655 Archived-At: > From: Philipp Stephani > Date: Wed, 06 Sep 2017 18:32:18 +0000 > Cc: rgm@gnu.org, 24949@debbugs.gnu.org > > Why would we want to do that? Documentation should describe the > software, not our wishes. If we want to change how the software > works, we should change the code first, and only after that change the > documentation. Am I missing something here? > > For almost all arguments all four variants (-foo bar, --foo bar, -foo=bar, --foo=bar) appear to work, for long and > for short options. Either we should document that they work (that's what everybody expects by now), or turn > the unwanted versions into explicit errors. > We should generally change the code and the documentation at the same time, to make sure they are > consistent. I agree with the last sentence. It's almost exactly what I said. The rest of what you write sounds like a contradiction to me, as currently the only inconsistency I see is that the emacs.1 man page creates a wrong impression that omitting the = would work.