all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [rudalics@gmx.at: enlarge-window with preserve-before non-nil]
Date: Sun, 15 May 2005 11:59:31 -0400	[thread overview]
Message-ID: <E1DXLWd-0004t1-Bl@fencepost.gnu.org> (raw)
In-Reply-To: <4286481B.6070702@swipnet.se> (jan.h.d@swipnet.se)


	| W4
    W2  |---
	| W5
    - -------
	W3


      i1
      | \
      |  i2 (i1) --> w2 (i2)
      |   |            |
      |  w3 (i1)     i3 (i2)
      |                 \
      |                 w4 (i3)
      |                   |
     minibuf            w5 (i3)



That structure is correct.


      w4
    ------
      w5
    ------
      w3

      i1
      | \
      |  \
      |   i3 (i1)
      |    |    \
      | w3 (i1)  \
      |          w4 (i3)
      |           |
    minibuf      w5 (i3)

That structure is erroneous.
i3 should not exist.

    I think it is correct up to the last delete of w2.  But what the
    rule should be for eliminating i3 in the last step I don't know.
    I think this is the desired last step:

      i1
      | \
      |  \
      |  w4 (i1)
      |     |
      |  w5 (i1)
      |     |
      |  w3 (i1)
      |
    minibuf

    i1 possibly replaced with i3.

The incorrect structure is in i3, so I think it should eliminate i3.
The criterion for doing so is that i3 is a vchild of its parent
and also has a vchild.  That should never occur.

After the code operates on i3, putting it in place of i2, it check if
i3 is a vchild and has a vchild.  If so, it should to eliminate i3,
putting w4 into its place in the structure, and make w3 be the next of
w5.

Want to implement that?

(The same thing should be done with hchild.)

  reply	other threads:[~2005-05-15 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04 16:25 [rudalics@gmx.at: enlarge-window with preserve-before non-nil] Richard Stallman
2005-05-08 20:24 ` Jan D.
2005-05-09 21:03   ` Richard Stallman
2005-05-14 18:48     ` Jan D.
2005-05-15 15:59       ` Richard Stallman [this message]
2005-05-17  4:47         ` Jan D.
2005-05-17 11:58         ` Stefan Monnier
2005-06-06 10:43         ` Jan D.
2005-06-06 16:37           ` Richard Stallman
2005-06-27  8:35           ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1DXLWd-0004t1-Bl@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.