unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: martin rudalics <rudalics@gmx.at>, Juri Linkov <juri@jurta.org>
Cc: 16115@debbugs.gnu.org
Subject: bug#16115: 24.3.50; doc string of `display-buffer-in-side-window' - there is no SIDE arg
Date: Sat, 14 Dec 2013 08:20:15 -0800 (PST)	[thread overview]
Message-ID: <d6efdf3b-a414-4cb1-9562-af379a5261fd@default> (raw)
In-Reply-To: <52AC3FAA.2070601@gmx.at>

>  > Shouldn't `display-buffer-below-selected' display the buffer below,
>  > and not on the right?  I.e. like you recently added the let-binding
>  > `(split-width-threshold)' to `display-buffer-at-bottom',
>  > it would also make sense to do the same by moving the let-binding
>  > `(split-height-threshold 0)' to `display-buffer-below-selected'.
> 
> Just that now we apparently have a request for displaying the buffer at
> the right ...

No, we do not.  To be clear -

On StackOverflow someone asked how to do that; that's all.  The request
was to get pretty much the effect of `C-x 3 C-x o C-x b some-buffer',
essentially popping to a buffer in a window on the right.

I don't do that kind of thing often, so I looked in the doc for a
possible answer.  I thought I recalled seeing info about how to do
things like this in the various long threads about the new fine-tuning
possibilities of `display-buffer', so I figured there was likely a
simple way to do this, or at least some way.

I came across `display-buffer-in-side-window', and both its name and
its doc seemed to correspond to the request.  I quickly wrote a command
that used that function, and that command seemed (still seems) to DTRT.

I sent a minor bug report, mentioning only that there is no SIDE
parameter (which parameter is incorrectly mentioned in the doc string).

Nothing more.  There was no request for a function to pop to a buffer
at the right.

What you might consider, if you like, is to make clear in the doc, if
it is not already so (and I couldn't find it), what is available to do
what the OP requested, IOW, what is the right way, if there is a way,
to pop to a buffer at the right.

And you might want to make clear in the `display-buffer-in-side-window'
doc that it is not for this - and why not: what it is really for, since
its name and current doc misled at least me in this regard.

If you do not want to do that, fine.  THIS bug report is only about
asking that SIDE be removed from the doc string, which I think Martin
has already done.  As far as I am concerned, if that is done then this
bug is fixed.





  reply	other threads:[~2013-12-14 16:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 16:59 bug#16115: 24.3.50; doc string of `display-buffer-in-side-window' - there is no SIDE arg Drew Adams
2013-12-11 17:55 ` martin rudalics
2013-12-11 18:57   ` Drew Adams
2013-12-11 19:01     ` Drew Adams
2013-12-12 10:14     ` martin rudalics
2013-12-12 16:18       ` Drew Adams
2013-12-12 18:09         ` martin rudalics
2013-12-12 19:50           ` Drew Adams
2013-12-14 11:22             ` martin rudalics
2013-12-13 21:54           ` Juri Linkov
2013-12-14 11:23             ` martin rudalics
2013-12-14 16:20               ` Drew Adams [this message]
2013-12-14 17:17                 ` martin rudalics
2013-12-14 17:16             ` martin rudalics
2013-12-15 19:56               ` Juri Linkov
2013-12-16 10:10                 ` martin rudalics
2013-12-16 20:19                   ` Juri Linkov
2013-12-17 17:31                     ` martin rudalics
2013-12-11 23:54   ` Juri Linkov
2013-12-12 10:15     ` martin rudalics
2013-12-12 18:25       ` Stefan Monnier
2013-12-13 10:13         ` martin rudalics
2013-12-13 10:56           ` Eli Zaretskii
2013-12-14 11:23             ` martin rudalics
2013-12-14 12:09               ` Eli Zaretskii
2013-12-14 13:45                 ` martin rudalics
2013-12-14 14:06                   ` Eli Zaretskii
2013-12-13  1:18       ` Juri Linkov
2013-12-13 10:13         ` 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

  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=d6efdf3b-a414-4cb1-9562-af379a5261fd@default \
    --to=drew.adams@oracle.com \
    --cc=16115@debbugs.gnu.org \
    --cc=juri@jurta.org \
    --cc=rudalics@gmx.at \
    /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).