all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 8911@debbugs.gnu.org
Subject: bug#8911: bs-cycle-next deletes window in some cases.
Date: Tue, 21 Jun 2011 18:37:38 +0200	[thread overview]
Message-ID: <BANLkTikra4vNXaOtHNOhWy02n1gAA4Dodw@mail.gmail.com> (raw)
In-Reply-To: <jwvei2nkv9p.fsf-monnier+emacs@gnu.org>

On Tue, Jun 21, 2011 at 18:28, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> If the window is dedicated, and the user invokes bs-cycle-next
>> (usually, by having it bound to a key, and not realizing that the
>> window is dedicated), that's user error, but the user should not be
>
> Not if the window is softly-dedicated (in which case the window should
> be un-dedicated).

Yes, I'm talking of strong dedication.

> But that's the semantics of (set-window-dedicated-p (selected-window) t).
> If you don't like it, then you should use
> (set-window-dedicated-p (selected-window) 'soft) instead.

The semantics of strong dedication is not entirely clear to me, but
I'd say it is more about what happens to the window/buffer
correspondence, that what happens in other windows or to other
buffers. In other words, if I make a window strongly dedicated I'm not
saying I what I do want about other buffers or other windows, I'm only
saying "I don't want other buffers in this window".

I agree cases are not always clear cut, and I suppose that in other
situations I would find the behavior that you describe quite logical.
Not so for bs-cycle-next, whose purpose is to cycle buffers in the
current window (I should know, I was the one to propose these commands
to Olaf Sylvester quite a few years ago, and judging by the ChangeLogs
I'm the main user of bs.el among the Emacs developers ;-)

    Juanma





  reply	other threads:[~2011-06-21 16:37 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 11:01 bug#8911: bs-cycle-next deletes window in some cases Juanma Barranquero
2011-06-21 13:37 ` martin rudalics
2011-06-21 14:00   ` Juanma Barranquero
2011-06-21 14:42     ` martin rudalics
2011-06-21 15:02       ` Juanma Barranquero
2011-06-21 16:12         ` martin rudalics
2011-06-21 16:21           ` Juanma Barranquero
2011-06-21 16:28         ` Stefan Monnier
2011-06-21 16:37           ` Juanma Barranquero [this message]
2011-06-22  2:14           ` Stefan Monnier
2011-06-22  2:31             ` Juanma Barranquero
2011-06-22 20:11               ` Stefan Monnier
2011-06-21 16:22     ` Stefan Monnier
2011-06-21 16:28       ` Juanma Barranquero
2011-06-21 17:15         ` Drew Adams
2011-06-22  2:11           ` Stefan Monnier
2011-06-22  2:53             ` Drew Adams
2011-06-22  3:13               ` Drew Adams
2011-06-22 20:07               ` Stefan Monnier
2011-06-22 22:01                 ` Drew Adams
2011-06-23 21:55                   ` Stefan Monnier
2011-06-25 21:24                     ` Juanma Barranquero
2011-06-26  9:29                       ` martin rudalics
2011-06-26 11:25                         ` Juanma Barranquero
2011-06-27  1:30                           ` Stefan Monnier
2011-06-27  1:53                             ` Juanma Barranquero
2011-06-27  7:00                               ` martin rudalics
2011-06-27  9:38                                 ` Juanma Barranquero
2011-06-27 12:46                                   ` martin rudalics
2011-06-27 14:01                                     ` Juanma Barranquero
2011-06-27 14:12                                       ` martin rudalics
2011-06-27 14:22                                         ` Juanma Barranquero
2011-06-27 20:11                                           ` Juanma Barranquero
2011-06-29  3:27                               ` Stefan Monnier
2011-06-29  3:57                                 ` Juanma Barranquero
2011-06-30 17:02                                   ` Stefan Monnier
2011-06-30 18:50                                     ` Juanma Barranquero
2011-07-01 12:07                                       ` Juanma Barranquero
2011-06-29  7:11                                 ` martin rudalics
2011-06-30 17:06                                   ` Stefan Monnier
2011-06-29 11:36                                 ` Juanma Barranquero
2011-06-29 15:36                                 ` Drew Adams
2011-06-29 18:21                                   ` Drew Adams
2011-06-30  7:00                                     ` martin rudalics
2011-06-30 15:31                                       ` Drew Adams
2011-06-22  2:07         ` Stefan Monnier
2011-06-21 16:36       ` martin rudalics
2011-06-21 17:07       ` Drew Adams

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=BANLkTikra4vNXaOtHNOhWy02n1gAA4Dodw@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=8911@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.