kill-buffer kills the dired frame

View: New views
2 Messages — Rating Filter:   Alert me  

kill-buffer kills the dired frame

by Peter Gacs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Enter your bug report here.

I start Aquamacs, then turn off customizations using
Help>Diagnose...>Start Aquamacs without customizations.
Then I go into directory named kut using C-xC-f.
In the directory, I go into a subdirectory named ait using Return.
Then I want to go back to directory kut using Kill-buffer (C-x k).
The frame disappears.  (The kut buffer did not go away, only its frame.)


In GNU Emacs 22.2.50.2 (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0)
  of 2008-07-13 on applecore.inf.ed.ac.uk - Aquamacs Distribution 1.5CVS
Windowing system distributor `Apple Inc.', version 10.4.11
configured using `configure  '--without-x' '--prefix=/usr/local''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   locale-coding-system: iso-8859-1
   default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
   savehist-mode: t
   smart-frame-positioning-mode: t
   global-visual-line-mode: t
   visual-line-mode: t
   recentf-mode: t
   encoded-kbd-mode: t
   osx-key-mode: t
   show-paren-mode: t
   delete-selection-mode: t
   pc-selection-mode: t
   cua-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
C-x C-f k u t <return> <down> <down> <down> <up> <return>
C-x C-k <return> C-g C-x k <return> <menu-bar> <help-menu>
<bug-diagnosis> <send-emacs-bug-report>

Recent messages:
Loading /Users/gacs/Library/Preferences/Aquamacs Emacs/frame-
positions.el (source)...done
Truncate long lines disabled
Mark set
Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system.
It is Free Software: you can improve and redistribute it under the  
GNU General Public License, version 3
or later. Copyright (C) 2008 Free Software Foundation, Inc. (C) 2008  
D. Reitter. No Warranty.
Loading dired...done
No keyboard macro defined.  Create one? (y or n)
Quit
Loading emacsbug...done

Command line: (/Applications/Aquamacs Emacs.app/Contents/MacOS/
Aquamacs Emacs)

PATH: /Library/Frameworks/Python.framework/Versions/Current/bin:/sw/
bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/
Users/gacs/bin:/usr/X11R6/bin:/Library/Frameworks/Python.framework/
Versions/Current/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/
usr/local/bin:/sw/bin:/Users/gacs/bin:/usr/X11R6/bin:/usr/bin:/bin:/
usr/sbin:/sbin

exec-path: (/Library/Frameworks/Python.framework/Versions/Current/
bin /sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /sw/
bin /Users/gacs/bin /usr/X11R6/bin /Library/Frameworks/
Python.framework/Versions/Current/bin /sw/bin /sw/sbin /bin /sbin /
usr/bin /usr/sbin /usr/local/bin /sw/bin /Users/gacs/bin /usr/X11R6/
bin /usr/bin /bin /usr/sbin /sbin /Applications/Aquamacs Emacs.app/
Contents/MacOS/libexec /Applications/Aquamacs Emacs.app/Contents/
MacOS/bin)

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
__
https://lists.sourceforge.net/lists/listinfo/aquamacs-bugs

Re: kill-buffer kills the dired frame

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 13 Jul 2008, at 15:50, Peter Gacs wrote:
>
> I start Aquamacs, then turn off customizations using
> Help>Diagnose...>Start Aquamacs without customizations.
> Then I go into directory named kut using C-xC-f.
> In the directory, I go into a subdirectory named ait using Return.
> Then I want to go back to directory kut using Kill-buffer (C-x k).
> The frame disappears.  (The kut buffer did not go away, only its  
> frame.)


Okay, thanks.
In a vanilla Aquamacs, you have one-buffer-one-frame-mode switched on  
(Options / Show Buffers in New Frames).
This will always cause the kill-buffer command to remove the frame.

Try switching this mode off - does that help?  I can't reproduce your  
issue with one-buffer-one-frame-mode switched off.
My understanding was that you had it off anyways.

You may argue that this behavior of kill-buffer is unsuitable in cases  
where the buffer was created to be shown in the current frame/window  
anyways, and I tend to agree.



--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!






-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
__
https://lists.sourceforge.net/lists/listinfo/aquamacs-bugs

smime.p7s (2K) Download Attachment
LightInTheBox - Buy quality products at wholesale price