unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lennart Borgman <lennart.borgman@ourcomments.org>,
	emacs@whaite.ca, emacs-devel@gnu.org
Subject: Re: mouse-drag-mode-line should maybe use window-tree
Date: Sun, 04 Dec 2005 19:20:08 -0500	[thread overview]
Message-ID: <87zmngbdts.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1EiFXp-000402-5Y@fencepost.gnu.org> (Richard M. Stallman's message of "Fri, 02 Dec 2005 13:22:05 -0500")

>     To me the documentation for `adjust-window-trailing-edge' looks like it
>     is doing the same thing as `enlarge-window' with preserve-before set to
>     t.  Am I missing something?
> They are not the same, because adjust-window-trailing-edge will never
> delete a window.

Could you explain the choice of identifier?  I have a hard time understanding
what "adjust-window-trailing-edge" can mean.  What's a trailing edge?

Couldn't we just change the `preserve-before' argument (which is new in
Emacs-22 anyway) instead?

AFAIK in all the cases where the `preserve-before' argument is useful, it's
also useful to avoid deleting windows, but if not, we could have 3 values
for `preserve-before', e.g.:
- nil: same as before.
- `nodelete': behave like adjust-window-trailing-edge.
- t: same as above, but can delete windows.


        Stefan

  parent reply	other threads:[~2005-12-05  0:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  0:29 mouse-drag-mode-line should maybe use window-tree Lennart Borgman
2005-11-25 15:50 ` Richard M. Stallman
2005-11-25 18:37   ` Peter Whaite
2005-11-27 19:36     ` Richard M. Stallman
2005-12-01 23:56       ` Lennart Borgman
2005-12-02 18:22         ` Richard M. Stallman
2005-12-04 23:20           ` Lennart Borgman
2005-12-05 16:37             ` Richard M. Stallman
2005-12-05 16:48               ` Lennart Borgman
2005-12-06 16:41                 ` Richard M. Stallman
2005-12-07 22:42                   ` Lennart Borgman
2005-12-05  0:20           ` Stefan Monnier [this message]
2005-12-05  0:37             ` Lennart Borgman
2005-12-05  0:42               ` Lennart Borgman
2005-12-05  0:42               ` Stefan Monnier
2005-12-05 16:37             ` Richard M. Stallman
2005-12-05 17:04               ` Lennart Borgman
2005-12-06 16:43                 ` Richard M. Stallman
2005-11-26 10:21   ` Lennart Borgman
2005-11-27  0:31     ` Richard M. Stallman
2005-11-28 23:57       ` Lennart Borgman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87zmngbdts.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=emacs@whaite.ca \
    --cc=lennart.borgman@ourcomments.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).