GNU bug report logs - #8804
Creating ibuffer named filters via / g doesn't work

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Sun, 5 Jun 2011 18:21:02 UTC

Severity: normal

Merged with 8280

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Creating ibuffer named filters via / g doesn't work
Date: Sun, 05 Jun 2011 10:07:32 -0400
emacs-version:
GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of
2011-06-04 on localhost

Steps to reproduce from emacs -Q:

M-x ibuffer RET
/ n sc RET
/ g foo RET

The filter group named foo is NOT created as expected.

I believe this is caused by the fix for bug#7969, which changed the
definition for ibuffer-filter-disable. After evaluating the old
definition, namely:

(defun ibuffer-filter-disable ()
  "Disable all filters currently in effect in this buffer."
  (interactive)
  (setq ibuffer-filtering-qualifiers nil
        ) ;ibuffer-filter-groups nil
  (let ((buf (ibuffer-current-buffer)))
    (ibuffer-update nil t)
    (when buf
      (ibuffer-jump-to-buffer (buffer-name buf)))))

The above procedure results in a filter group named foo. The new
definition sets ibuffer-filter-groups to nil as well, which is a problem
because ibuffer-filters-to-filter-group ends by calling it.




This bug report was last modified 13 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.