unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Antoine Levitt <antoine.levitt@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: bug#8615: bug#6954: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files
Date: Sat, 16 Jul 2011 14:47:45 +0200	[thread overview]
Message-ID: <871uxqtmry.fsf@gmail.com> (raw)
In-Reply-To: m3r55rw1v3.fsf@quimbies.gnus.org

[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]

16/07/11 01:38, Lars Magne Ingebrigtsen
> Christoph Scholtes <cschol2112@googlemail.com> writes:
>
>> Most other files (all?) are opened in view-mode, which binds `q' and
>> z' differently. I think view-mode and special-mode need to agree on
>> how to map certain keys, e.g. `q', i.e. common operations like quit or
>> kill-buffer. Either by deriving view-mode from special-mode or
>> matching the maps.
>
> It's not a view-mode issue.
>
> Open up a directory in dired.  Select a sub-directory.  Type `q'.  End
> up in a buffer that wasn't the one you started in.
>
> So `quit-window' and friends have apparently gotten a bit confused in
> the last couple of days.

I'm not 100% sure that's related, but the ordering in (buffer-list) has
changed recently.

I think there's a bug that the order of (buffer-list) is sometimes not
modified when switching buffers. I attach a piece of code I use to
quickly switch buffers, with debug info printing the first buffers in
(buffer-list). The order of (buffer-list) is not modified when I press
s-tab, but it is when I M-x switch-to-most-recent-buffer. This result in
this code behaving in weird ways on recent versions of emacs. It used to
be fine a few days ago (if this bug proves hard to track, I'm willing to
bisect).

I'll report this as a separate bug if this turns out to be unrelated.


[-- Attachment #2: test.el --]
[-- Type: application/emacs-lisp, Size: 879 bytes --]

  parent reply	other threads:[~2011-07-16 12:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3mxgh6k9m.fsf@quimbies.gnus.org>
     [not found] ` <8762n3z13p.fsf@jidanni.org>
2011-07-15 21:30   ` bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files Lars Magne Ingebrigtsen
2011-07-15 22:57     ` bug#6954: " Christoph Scholtes
     [not found]       ` <8762pqnxf9.fsf@jidanni.org>
2011-07-15 23:22         ` bug#8615: " jidanni
2011-07-15 23:35           ` Christoph Scholtes
2011-07-15 23:38             ` Lars Magne Ingebrigtsen
2011-07-16  0:40               ` bug#6954: " Christoph Scholtes
2011-07-16 12:47               ` Antoine Levitt [this message]
2011-07-16 13:11     ` martin rudalics
2011-07-16 15:19       ` Christoph Scholtes
2011-07-20 15:09         ` bug#6954: " Chong Yidong
     [not found]           ` <87eidfar8r.fsf@jidanni.org>
2011-07-20 15:40             ` jidanni

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=871uxqtmry.fsf@gmail.com \
    --to=antoine.levitt@gmail.com \
    --cc=emacs-devel@gnu.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).