unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 13167@debbugs.gnu.org
Subject: bug#13167: 24.3.50; C-x right C-x left interferes with buffer order
Date: Sat, 22 Dec 2012 11:27:50 +0200	[thread overview]
Message-ID: <8738yy77gx.fsf@mail.jurta.org> (raw)
In-Reply-To: <50CF205A.50004@gmx.at> (martin rudalics's message of "Mon, 17 Dec 2012 14:38:34 +0100")

>> 12. q   the last q doesn't restore the initial buffer *scratch*
>
> Is the list of previous buffers empty in step 12 ?

As I see, the list of previous buffers is not empty,
but I don't know why it doesn't restore the *scratch* buffer.

> Then we could heuristically show the last buffer added to the list of
> next buffers here.  Preferring a buffer which is not on any of this
> window's lists doesn't make much sense in this case, I think.
>
> I guess that this scenario would also break the recipe you proposed
> earlier, namely to keep next and previous buffers as lists built from
> elements of the same type and not choose an element from the next
> buffers when quitting.

Yes, such change will break this scenario.

As a general question, do you know a reason why structure and functionality
of window-local `prev-buffers' and `next-buffers' should differ from
frame-local frame parameters `buffer-list' and `buried-buffer-list'?

I have a feeling that adding the handling of window-local counterparts
`prev-buffers' and `next-buffers' to the same places in code that currently
handle frame-local buffer lists `buffer-list' and `buried-buffer-list'
could help to fix all these window-related buffer-order inconsistencies.





  reply	other threads:[~2012-12-22  9:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 23:37 bug#13167: 24.3.50; C-x right C-x left interferes with buffer order Juri Linkov
2012-12-13 10:29 ` martin rudalics
2012-12-14  0:45   ` Juri Linkov
2012-12-14 10:25     ` martin rudalics
2012-12-15 10:49       ` Juri Linkov
2012-12-15 18:06         ` martin rudalics
2012-12-16  9:17           ` Juri Linkov
2012-12-16 18:12             ` martin rudalics
2012-12-17  9:35               ` Juri Linkov
2012-12-17  9:57                 ` Juri Linkov
2012-12-17 13:38                   ` martin rudalics
2012-12-22  9:27                     ` Juri Linkov [this message]
2012-12-22 15:41                       ` martin rudalics
2012-12-23  9:49                         ` Juri Linkov
2012-12-23 14:03                           ` martin rudalics
2024-01-10 17:03       ` Juri Linkov
2024-01-11  9:15         ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-12  7:42           ` Juri Linkov
2024-01-12  8:48             ` Eli Zaretskii
2024-01-10 11:26 ` Stefan Kangas
2024-01-10 17:01   ` Juri Linkov

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=8738yy77gx.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=13167@debbugs.gnu.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).