From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: RE: Why doesn't Emacs have a horizontal scroll bar? Date: Wed, 4 Jul 2007 09:56:48 +0800 Message-ID: <63F95800EDD046419F17688AAFD41CCF01A9138B@rnd-ex01.rnd.gdnt.local> References: <87y7hxiii1.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1183514329 28947 80.91.229.12 (4 Jul 2007 01:58:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2007 01:58:49 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 03:58:48 2007 connect(): Connection refused Return-path: Envelope-to: geh-help-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 1I5u8k-0002tL-68 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 03:58:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5u8j-0007p9-Dx for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 21:58:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5u8U-0007mA-Se for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 21:58:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5u8U-0007lb-EM for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 21:58:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5u8U-0007lS-9R for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 21:58:30 -0400 Original-Received: from email.gdnt.com.cn ([202.104.30.38]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5u8R-0007iC-LJ for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 21:58:30 -0400 Original-Received: from sd-ef-01.cnshn.gdnt.local ([202.38.41.132]) by email.gdnt.com.cn with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Jul 2007 10:00:57 +0800 Original-Received: from sd-ex-02.cnshn.gdnt.local ([202.38.38.7]) by sd-ef-01.cnshn.gdnt.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 3 Jul 2007 21:00:22 -0500 Original-Received: from rnd-ex01.rnd.gdnt.local ([202.38.32.250]) by sd-ex-02.cnshn.gdnt.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Jul 2007 10:00:22 +0800 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <87y7hxiii1.fsf@gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why doesn't Emacs have a horizontal scroll bar? Thread-Index: Ace9itlNJS7brXNgQ62djckcXfj+hAAUsC/A X-OriginalArrivalTime: 04 Jul 2007 02:00:22.0418 (UTC) FILETIME=[14978720:01C7BDDF] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.6.1039-15232.002 X-TM-AS-Result: No--11.494900-8.000000-31 X-detected-kernel: Windows 2000 SP4, XP SP1+ X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45456 Archived-At: Thanks Amy! longlines-mode is exactly what I need. And I configure = 'longlines-wrap-follows-window-size' to 't'. "In Long Lines mode, long lines are wrapped if they extend beyond `fill-column'. The soft newlines used for line wrapping will not show up when the text is yanked or saved to disk." Regards, Brian -----Original Message----- From: help-gnu-emacs-bounces+brianjiang=3Dgdnt.com.cn@gnu.org = [mailto:help-gnu-emacs-bounces+brianjiang=3Dgdnt.com.cn@gnu.org] On = Behalf Of Amy Templeton Sent: 2007=C4=EA7=D4=C24=C8=D5 0:01 To: help-gnu-emacs@gnu.org Subject: Re: Why doesn't Emacs have a horizontal scroll bar? wrote: > Also, I think "Truncate long lines in this buffer" is good enough too. = > It is not "word wrap". It truncate the words at any position (e.g.,=20 > "words" can be truncate to "wo" in current line and "ords" > in the next line.) It is really make the text difficult to read. > Any solution for this? (auto-fill can wrap the text in a word basis,=20 > but 1). It doesn't wrap the word based on the window width, 2). It=20 > will modify the file while we don't want to change > anything.) There's a mode called longlines-mode you might like. You seem to be = working with files that for some reason can't be wrapped, which in and = of itself tends to make things difficult. What this mode does is to = change the *appearance* of the buffer such that long lines are wrapped = at the fill-column, but in actuality it takes an actual newline () = to finish a line when the actual file is saved. I'd suggest checking it = out (M-x longlines-mode ). Amy -- You can learn many things from children. How much patience you have, = for instance. -- Franklin P. Jones _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs