all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: Juri Linkov <juri@linkov.net>
Cc: 38624@debbugs.gnu.org
Subject: bug#38624: 27.0.50; [wish] tab navigation via keyboard should mimic buffer navigation
Date: Mon, 23 Dec 2019 21:14:32 +0100	[thread overview]
Message-ID: <87v9q6lryv.fsf@len.workgroup> (raw)
In-Reply-To: <877e2pclew.fsf@mail.linkov.net>

Hi Juri,
* Juri Linkov <juri@linkov.net> [2019-12-22; 01:24]:
>> It irritated me though that the current tab is not a member of
>> the list.
>
> I wonder why would you want to switch to the current tab?

I did not *want* to switch to the current tab as in deliberately
calling tab-bar-select-tab-by-name with the intention to switch
to the current tab.  My test case was with one or two tabs and
the list of tabs was very short, shorter than expected.

>> Therefore with only one tab the list is empty.  If one then hits
>> RET on this empty list, there is an error message:
>> "funcall-interactively: Wrong type argument: number-or-marker-p,
>> nil".
>
> Thanks for noticing, this is fixed now.
>
>> I now see that an unconfigured emacs also does not show the
>> buffer from one called switch-to-buffer.  helm-mini which I
>> actually use, shows the the buffer you worked in when callin
>> helm-mini as a possible last target of the listed buffers.  This
>> seems more natural to me.
>
> Indeed switch-to-buffer does this for a reason - it would be
> confusing for users to see the current buffer/tab in the
> list of buffers/tabs to switch, e.g. when the user accidentally
> selects the current buffer/tab from the list and nothing happens.

I see.  It makes sense to shorten the list of targets to the
minimum.  To me it seems more natural to have a full list.  But I
agree that there is no loss in functionality if the current tab
is not member of the list.

Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-






      reply	other threads:[~2019-12-23 20:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-15 15:58 bug#38624: 27.0.50; [wish] tab navigation via keyboard should mimic buffer navigation Gregor Zattler
2019-12-15 23:06 ` Juri Linkov
2019-12-16  9:11   ` Gregor Zattler
2019-12-16 21:46     ` Juri Linkov
2019-12-17 23:53       ` Gregor Zattler
2019-12-19  0:15         ` Juri Linkov
2019-12-19 23:21           ` Juri Linkov
2019-12-20 12:03             ` Gregor Zattler
2019-12-21 23:24               ` Juri Linkov
2019-12-23 20:14                 ` Gregor Zattler [this message]

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=87v9q6lryv.fsf@len.workgroup \
    --to=telegraph@gmx.net \
    --cc=38624@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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.