Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92191 - Ibuffer: Deletion fails after (setq ibuffer-expert t) is set [Poss. FIX attached]
Summary: Ibuffer: Deletion fails after (setq ibuffer-expert t) is set [Poss. FIX attac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 13:54 UTC by Prof. Jonathan King
Modified: 2005-06-03 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prof. Jonathan King 2005-05-10 13:54:00 UTC
The package is

	% emerge -pv app-emacs/ibuffer
	[ebuild   R   ] app-emacs/ibuffer-1.9 

Setting the variable

	(setq ibuffer-expert t)

breaks the deletion of buffers in ibuffer's display: 

Neither
  marking a buffer with "d" then typing "x"
  [x runs the command ibuffer-do-kill-on-deletion-marks]
nor
  marking a buffer with "m" then typing "D"
  [D runs the command ibuffer-do-delete]

causes a deletion.  However, with

	(setq ibuffer-expert nil)

then both provoke "Really kill <buffer>?" and typing "yes" indeed
kills the buffer.

I presume this is a bug (unless some obscure configuration
variable is the cause) with "ibuffer", and presume that it needs
to be tossed upstream.
Comment 1 Prof. Jonathan King 2005-05-11 12:06:41 UTC
I propose a possible resolution of both this bug and of
http://bugs.gentoo.org/show_bug.cgi?id=92190 .

================
As of 11May2005, Gentoo's version of "ibuffer.el" is

    app-emacs/ibuffer-1.9 

A websearch finds a more recent version, version 2.6.1, at

    http://www.shootybangbang.com/software/ibuffer.el

and it appears to be a website http://www.shootybangbang.com/ of the
original author, John Paul Wallington.

When I load this version, deletion works correctly.

================
As for bug-report 92190, for the newer version of ibuffer,

    (customize-group "ibuffer")

refers to URL http://web.verbum.org/~walters which does appear to
be correct.
================
My suggestion is to replace the old ibuffer with

    app-emacs/ibuffer-2.6.1

and make this the Gentoo ebuild for ibuffer.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-21 13:45:44 UTC
Thanks for the info. I updated ibuffer.el to 2.6.1.
Please test if the problem is solved with the ebuild.
Comment 3 Prof. Jonathan King 2005-06-03 15:32:14 UTC
A normal emerge produces

  app-emacs/ibuffer-2.6.1 (masked by: ~x86 keyword)

But when I try 

 ACCEPT_KEYWORDS="~x86"  emerge -av =app-emacs/ibuffer-2.6.1

a get a list of about 40 pkgs that Portage wants to install,
together with this message: 

  Total size of downloads: 214,454 kB

  !!! Error: The above package list contains packages which cannot be installed
  !!!        on the same system.

Even without the error, I don't want to install that much.