unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 27717@debbugs.gnu.org
Subject: bug#27717: other-window when there is no other window
Date: Sun, 16 Jul 2017 21:13:44 +0200	[thread overview]
Message-ID: <877ez8qjo7.fsf@jane> (raw)
In-Reply-To: <87efthjxb2.fsf@jidanni.org>


On 2017-07-15, at 21:48, 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:

> C-x o runs the command other-window.
>
> Alas, if there is no other window, it does nothing.
>
> It doesn't even print a message "no other window". BUG!
>
> Better yet in this case would be just switch to an other buffer (the
> same buffer that switch-to-buffer asks the user about, but without
> asking the user.)
>
> And only if there is also no other buffer, then print the message.

How about this

http://mbork.pl/2017-02-26_other-window-or-switch-buffer

and that

http://mbork.pl/2017-06-12_smart-next-window-or-buffer

?

Best,

-- 
Marcin Borkowski





  parent reply	other threads:[~2017-07-16 19:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-15 19:48 bug#27717: other-window when there is no other window 積丹尼 Dan Jacobson
2017-07-16  8:28 ` martin rudalics
2017-07-16 15:13 ` 積丹尼 Dan Jacobson
2017-07-16 16:04   ` Eli Zaretskii
2017-07-16 16:11 ` 積丹尼 Dan Jacobson
2017-07-16 19:13 ` Marcin Borkowski [this message]
2017-07-16 23:31 ` 積丹尼 Dan Jacobson
2017-07-17  7:03   ` martin rudalics
2017-07-17  8:18 ` 積丹尼 Dan Jacobson
2019-08-17 23:37 ` Lars Ingebrigtsen

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=877ez8qjo7.fsf@jane \
    --to=mbork@mbork.pl \
    --cc=27717@debbugs.gnu.org \
    --cc=jidanni@jidanni.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).