From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Wed, 22 Sep 2004 23:53:29 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <87llfn5ihw.fsf@emacswiki.org> <01c49c75$Blat.v2.2.2$7a37cb00@zahav.net.il> <01c49d70$Blat.v2.2.2$f7cfb860@zahav.net.il> <01c49da7$Blat.v2.2.2$cd5f7160@zahav.net.il> <01c4a0d0$Blat.v2.2.2$37047fe0@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095890053 18912 80.91.229.6 (22 Sep 2004 21:54:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2004 21:54:13 +0000 (UTC) Cc: epameinondas@gmx.de, boris@gnu.org, emacs-devel@gnu.org, alex@emacswiki.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 22 23:53:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAF3l-0008CM-00 for ; Wed, 22 Sep 2004 23:53:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAF9k-0002Uv-Bf for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2004 18:00:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAF9Z-0002Ue-0q for emacs-devel@gnu.org; Wed, 22 Sep 2004 17:59:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAF9W-0002UG-QM for emacs-devel@gnu.org; Wed, 22 Sep 2004 17:59:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAF9U-0002U5-JU for emacs-devel@gnu.org; Wed, 22 Sep 2004 17:59:54 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAF3J-0004UZ-O0; Wed, 22 Sep 2004 17:53:29 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 2656D262919; Wed, 22 Sep 2004 23:53:28 +0200 (CEST) Original-To: Eli Zaretskii In-Reply-To: <01c4a0d0$Blat.v2.2.2$37047fe0@zahav.net.il> (Eli Zaretskii's message of "Wed, 22 Sep 2004 20:14:57 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27464 "Eli Zaretskii" writes: >> Cc: Oliver Scholz , boris@gnu.org, eliz@gnu.org, >> alex@emacswiki.org, emacs-devel@gnu.org >> From: no-spam@cua.dk (Kim F. Storm) >> Date: Wed, 22 Sep 2004 09:44:19 +0200 >> >> I still think my idea to use "anonymous" windows as the base of a >> block display model would be a good solution > > But a window is more than just a portion of the display; for example, > you cannot get out of a window without typing a special command, like > "C-x o". Wouldn't it be hard to lift this kind of limitations? One fairly trivial solution: We could add before-beginning-of-buffer-hook and after-end-of-buffer-hook which are hooks which are run when point is moved backwards when (bolp) or forwards at (eobp). These could be setup to jump to the proper position in the "parent window". There could also be explicit bindings for this, e.g. M-left and M-right. -- Kim F. Storm http://www.cua.dk