From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jaalto Newsgroups: gmane.emacs.bugs Subject: bug#7622: [PATCH] lib-src/emacsclient.c: Change -H to -h. Order options alphabetically Date: Wed, 11 Apr 2012 08:21:52 +0300 Message-ID: <20120411052152.GO13747@taiko.cante.net> References: <87r5dn59oa.fsf@picasso.cante.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334121786 32688 80.91.229.3 (11 Apr 2012 05:23:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2012 05:23:06 +0000 (UTC) Cc: 7622@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 07:23:05 2012 Return-path: Envelope-to: geb-bug-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 1SHq1H-0007ca-I9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2012 07:23:03 +0200 Original-Received: from localhost ([::1]:56837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHq1G-0003n7-Ji for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2012 01:23:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHq1D-0003ms-Om for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 01:23:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHq1B-0002Dd-NX for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 01:22:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHq1B-0002DU-Ji for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 01:22:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHq2E-0007AW-5Z for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2012 01:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jaalto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2012 05:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 7622-submit@debbugs.gnu.org id=B7622.133412179227501 (code B ref 7622); Wed, 11 Apr 2012 05:24:02 +0000 Original-Received: (at 7622) by debbugs.gnu.org; 11 Apr 2012 05:23:12 +0000 Original-Received: from localhost ([127.0.0.1]:50054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHq1P-00079V-GS for submit@debbugs.gnu.org; Wed, 11 Apr 2012 01:23:12 -0400 Original-Received: from emh01.mail.saunalahti.fi ([62.142.5.107]:46855) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHq1J-00079H-Ao for 7622@debbugs.gnu.org; Wed, 11 Apr 2012 01:23:10 -0400 Original-Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh01-2.mail.saunalahti.fi (Postfix) with SMTP id 9A1A68C97F; Wed, 11 Apr 2012 08:21:58 +0300 (EEST) Original-Received: from emh06.mail.saunalahti.fi ([62.142.5.116]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A01B0C6753D; Wed, 11 Apr 2012 08:21:58 +0300 Original-Received: from bongo.cante.net (a91-155-176-245.elisa-laajakaista.fi [91.155.176.245]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 3EC78E51A2; Wed, 11 Apr 2012 08:21:55 +0300 (EEST) Original-Received: from test20.cante.net ([192.168.1.20]) by bongo.cante.net with esmtp (Exim 4.77) (envelope-from ) id 1SHpwR-0003K1-J3; Wed, 11 Apr 2012 08:18:03 +0300 Original-Received: from jaalto by test20.cante.net with local (Exim 4.77) (envelope-from ) id 1SHq09-0005tS-5A; Wed, 11 Apr 2012 08:21:53 +0300 Content-Disposition: inline In-Reply-To: X-Gpg-Key-Id: 0xD189E680 X-Gpg-Key-Info: http://key-server.de:11371/pks/lookup?search=0xD189E680&op=vindex X-Gpg-Key-Get: ttp://key-server.de:11371/pks/lookup?search=0xD189E680&op=get User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jaalto@taiko.cante.net X-SA-Exim-Scanned: No (on test20.cante.net); SAEximRunCond expanded to false X-Antivirus: VAMS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58746 Archived-At: On 2012-04-11 01:48, Lars Magne Ingebrigtsen wrote: | Jari Aalto writes: | | > The patch changes help option to lowercase -h like found e.g. in GNU | > cp(1). The option help is also presented alphabetically. | | [larsi@stories ~/src/emacs/trunk]$ cp -h | cp: invalid option -- 'h' | | So I don't think this change would be correct. I remembered wrong. GNU uses --long options for cp(1) and mv(1); I assume because it wanted to reserve all short options. But almot universally lowercase -h, is understood as a synonym for --help. At least for emacsclient that would work well as there are no conflicting options[*]. The patch would also make the listing a little easier; alphabetical as in GNU programs in general. Jari [*] -H and -h could have been taken to mean something else for historical reasons in other programs.