From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dilyan Palauzov Newsgroups: gmane.emacs.bugs Subject: emacs --help , improvement for output formatting Date: Sat, 12 Jan 2008 19:11:41 +0100 Message-ID: <478902DD.6030709@aegee.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1200171267 14113 80.91.229.12 (12 Jan 2008 20:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2008 20:54:27 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 12 21:54:50 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JDnNQ-0003FO-4n for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2008 21:54:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDnN2-0007zR-7j for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2008 15:54:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDkpb-0003Tr-4c for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2008 13:11:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDkpY-0003Sf-Um for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2008 13:11:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDkpY-0003Sb-LN for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2008 13:11:40 -0500 Original-Received: from smtp.aegee.uni-karlsruhe.de ([129.13.62.220]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JDkpY-00011L-C2 for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2008 13:11:40 -0500 Original-Received: from smtp.aegee.org (aegeeserv.aegee.uni-karlsruhe.de [129.13.131.80]) by smtp2.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1JDkpV-0005UN-D0; Sat, 12 Jan 2008 19:11:37 +0100 X-Mail-Sent-By-AEGEE.org-Account: didopalauzov Original-Received: from [129.13.226.91] (vpnwwwext.rz.uni-karlsruhe.de [129.13.72.177]) (authenticated bits=0) by smtp.aegee.org (8.14.2/8.13.6) with ESMTP id m0CIBaap010497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 12 Jan 2008 18:11:37 GMT User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) X-Virus-Scanned: ClamAV 0.92/5478/Fri Jan 11 15:39:22 2008 on AEGEEserv.aegee.uni-karlsruhe.de X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 12 Jan 2008 15:54:19 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17333 Archived-At: Dear Developers, When I type `emacs --help` with emacs 22.1.1, the first 2 paragraphs are: Run Emacs, the extensible, customizable, self-documenting real-time display editor. The recommended way to start Emacs for normal editing is with no options at all. Run M-x info RET m emacs RET m emacs invocation RET inside Emacs to read the main documentation for these command-line arguments. and the last 3: You can generally also specify long option names with a single -; for example, -batch as well as --batch. You can use any unambiguous abbreviation for a --option. Various environment variables and window system resources also affect Emacs' operation. See the main documentation. Report bugs to bug-gnu-emacs@gnu.org. First, please see the Bugs section of the Emacs manual or the file BUGS. The point is, that they are truncated within emacs and do not use the whole width of the terminal. In my opinion it must be the terminal who decides when this lines are to be truncated. But, if you can get the line width from emacs at the --help stage, then you could also improve the output for --color, that --help prints: --color, --color=MODE override color mode for character terminals; MODE defaults to `auto', and can also be `never', `auto', `always', or a mode name like `ansi8' Here the last 3 lines shall exand to the end of the terminal, not be truncated much before. Със здраве, Дилян