From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.bugs Subject: bug#9084: 24.0.50; displaying man pages splits the window and formats the text for the full width of the whole frame rather than for the width of the window the text is displayed in, which is only 1/2 the width of the frame Date: Thu, 14 Jul 2011 23:07:35 +0200 Organization: my virtual residence Message-ID: <878vs0d10o.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310677713 4174 80.91.229.12 (14 Jul 2011 21:08:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 21:08:33 +0000 (UTC) To: 9084@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 23:08:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhT92-0001pl-5p for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 23:08:28 +0200 Original-Received: from localhost ([::1]:48269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT90-00015Q-Op for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 17:08:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT8g-00014k-Hz for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhT8e-0003XX-AZ for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:08:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT8d-0003XH-K6 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhT8c-0001ke-LX; Thu, 14 Jul 2011 17:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lee Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9084 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13106776756717 (code B ref -1); Thu, 14 Jul 2011 21:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jul 2011 21:07:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhT8U-0001kI-3v for submit@debbugs.gnu.org; Thu, 14 Jul 2011 17:07:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhT8Q-0001k5-SK for submit@debbugs.gnu.org; Thu, 14 Jul 2011 17:07:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhT8J-0003UM-HT for submit@debbugs.gnu.org; Thu, 14 Jul 2011 17:07:44 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:48901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT8J-0003UI-Aw for submit@debbugs.gnu.org; Thu, 14 Jul 2011 17:07:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT8H-000119-DR for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:07:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhT8F-0003U4-Pe for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:07:41 -0400 Original-Received: from static.103.179.46.78.clients.your-server.de ([78.46.179.103]:42647 helo=static.73.179.46.78.clients.your-server.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhT8F-0003Tp-5t for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 17:07:39 -0400 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1QhT8B-0002iv-D4 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 23:07:35 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 17:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49090 Archived-At: Well, the lengthy subject pretty much says it :) When I have an emacs frame the size of the full screen (like 231 characters, 68 lines at 1920x1200 pixels) displaying a single window (buffer) and do "M-x man" to display a manual page, emacs splits the window horizontally (as in `split-window-horizontally`) and displays the manual page in one of the windows within the frame. That's great, only the man page is then difficult to read because it's formatted for the width of the whole frame (231 characters/line) and not for the width of the frame it is displayed in. Since emacs automatically splits the frame, wouldn't it make more sense to format the manual page to the width of the frame it is displayed in (unless the frame is unreasonably narrow)? Lines that are 231 characters long aren't so nice for reading, anyway ... When I first M-x split-window-horizontally and then M-x man, the manual page is formatted for the width of the window it's displayed in. So this might be as simple as reversing the order in which things happen: first splitting the frame automatically and then formatting the manual page vs. formatting the manual page first and then splitting the frame. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) of 2011-07-13 on yun Windowing system distributor `The X.Org Foundation', version 11.0.11002000 configured using `configure '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Man Minor modes in effect: desktop-save-mode: t shell-dirtrack-mode: t highlight-changes-visible-mode: t global-hl-line-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: r d SPC f o r SPC a n SPC e n t r y SPC t e l l i n g s o m e f r o m SPC q SPC s p e c i f y i n g SPC w h e t h e r SPC t o SPC t r u r n SPC o n SPC N u , m L o c k SPC o r SPC n o t SPC a n d SPC t u r n SPC i t SPC o n SPC o r SPC n o t SPC f r o m SPC h t t h e r e SPC . . . SPC SPC O r SPC y o u SPC c o u l d SPC m a k e SPC y o u r SPC o w n SPC s t a r t u p SPC s c r i p t SPC t h a t SPC c h e c k s SPC / e t c / d e f a u l t / k e y b o a r d SPC . . . x m a n s e t l e d s x e m a b u r e p o r Recent messages: Note: file is write protected Setting up indent for shell type sh setting up indent stuff Indentation variables are now local. Indentation setup for shell type sh Auto-saving...done Invoking man setleds in the background Please wait: formatting the setleds man page... setleds man page formatted Making completion list... Load-path shadows: None found. Features: (shadow emacsbug org-colview cal-move cal-iso conf-mode flow-fill browse-url gnus-dup newcomment gnus-dired desktop org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex org-bbdb info gnus-eform skeleton sh-script executable flyspell ispell bookmark multi-isearch tabify shell mule-util sort smiley ansi-color gnus-cite gnus-async gnus-bcklg shadowfile ange-ftp woman man speedbar sb-image ezimage dframe rst compile rcirc proced hilit-chg hi-lock dired cwarn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ebnf2ps ps-print ps-def lpr cus-edit help-mode view debug qp gnus-ml nndraft nnmh nndoc nnmaildir parse-time rot13 disp-table netrc gnutls network-stream auth-source eieio assoc starttls tls nnfolder bbdb-gnus bbdb-snarf mail-extr bbdb-com cl nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-diary gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nndiary nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit jka-compr server cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs remember org-remember org-datetree org byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint comint ob-keys ob ob-eval org-complete pcomplete org-list org-faces org-compat org-entities org-macs noutline outline easy-mmode cal-menu easymenu calendar cal-loaddefs ring erc-goodies erc erc-backend erc-compat format-spec thingatpt pp bbdb-autoloads bbdb regexp-opt timezone hl-line saveplace time-date paren cus-start cus-load boxquote rect tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs)