From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#9246: Scrolling bug with word-wrap in emacs -nw Date: Sat, 31 Dec 2011 21:59:24 -0500 Message-ID: References: <8762mb1jq1.fsf@gmail.com> <1312839728.2986.6.camel@kiwi-pc2> <83fwgaxkdu.fsf@gnu.org> <87ehvudqcs.fsf@gmail.com> <8362h6xc0q.fsf@gnu.org> <877h1m56ob.fsf@gmail.com> <8339cax74g.fsf@gnu.org> <87ty4p3nr0.fsf@gmail.com> <83wr9lx4u6.fsf@gnu.org> <87ipkzvvy2.fsf@gmail.com> <83y5tutnc0.fsf@gnu.org> <87mxaaupjd.fsf@gmail.com> <83hb0it66b.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1325386816 27884 80.91.229.12 (1 Jan 2012 03:00:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2012 03:00:16 +0000 (UTC) Cc: antoine.levitt@gmail.com, 9246@debbugs.gnu.org, riccardi.thomas@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 01 04:00:11 2012 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 1RhBeb-0005uD-8e for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2012 04:00:09 +0100 Original-Received: from localhost ([::1]:56237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhBea-0000cf-TZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 22:00:08 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhBeV-0000ZJ-Eo for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 22:00:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhBeP-0006f5-Vu for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 22:00:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhBeP-0006cQ-GL for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 21:59:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RhBhN-0003jf-KK for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 22:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jan 2012 03:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9246-submit@debbugs.gnu.org id=B9246.132538695214326 (code B ref 9246); Sun, 01 Jan 2012 03:03:01 +0000 Original-Received: (at 9246) by debbugs.gnu.org; 1 Jan 2012 03:02:32 +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 1RhBgu-0003j0-Ae for submit@debbugs.gnu.org; Sat, 31 Dec 2011 22:02:32 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhBgs-0003it-Dt for 9246@debbugs.gnu.org; Sat, 31 Dec 2011 22:02:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RhBds-0005Ha-Qm; Sat, 31 Dec 2011 21:59:24 -0500 In-reply-to: (message from Stefan Monnier on Sat, 31 Dec 2011 05:33:58 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 31 Dec 2011 22:03:01 -0500 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:55343 Archived-At: > There's redisplay-end-trigger-functions, but it's deprecated. Stefan > expressed the desire to have a hook you want many times in the past, > but no one stepped forward to do the job yet. Actually, I'd like a pre-redisplay-hook, not a post-redisplay-hook. Hooks in redisplay make me worry, for two reasons: 1. If used in a nontrivial way, they will make it very hard to debug. It is hard to see what's going on if the principal objects change when you try to look at them. 2, Why would you want them? If you put the correct contents in the buffer, it will display the way you want, right? We do use redisplay hooks for fontification. The reason is that fontifying everything would be too slow. Fontification doesn't cause problem #1 because it is stable as long as the buffer's contents don't change in other ways. However, I think we should resist adding more redisplay hooks unless they are very very necessary. And when we do, we should try to make them limited. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/