GNU bug report logs - #30901
26.0.91; defcustom ibuffer-never-search-content-mode type mismatches default

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Wed, 21 Mar 2018 23:03:01 UTC

Severity: normal

Found in version 26.0.91

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alex Branham <alex.branham <at> gmail.com>
Subject: bug#30901: closed (Re: bug#30901: 26.0.91; defcustom
 ibuffer-never-search-content-mode type mismatches default)
Date: Wed, 21 Mar 2018 23:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#30901: 26.0.91; defcustom ibuffer-never-search-content-mode type mismatches default

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30901 <at> debbugs.gnu.org.

-- 
30901: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30901
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 30901-done <at> debbugs.gnu.org
Subject: Re: bug#30901: 26.0.91;
 defcustom ibuffer-never-search-content-mode type mismatches default
Date: Wed, 21 Mar 2018 19:40:06 -0400
Version: 26.1

commit e32f352 (HEAD, emacs-26)
Date:   Wed Mar 21 19:38:44 2018 -0400

    * lisp/ibuf-ext.el (ibuffer-never-search-content-mode): Fix type.

diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index 2023165..a3143e5 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -114,7 +114,7 @@ ibuffer-never-search-content-mode
   "A list of major modes ignored by `ibuffer-mark-by-content-regexp'.
 Buffers whose major mode is in this list, are not searched."
   :version "26.1"
-  :type '(repeat regexp)
+  :type '(repeat (symbol :tag "Major mode"))
   :require 'ibuf-ext
   :group 'ibuffer)
 

[Message part 3 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.91;
 defcustom ibuffer-never-search-content-mode type mismatches default
Date: Wed, 21 Mar 2018 18:03:22 -0500
ibuffer-never-search-content-mode's default does not match its :type,
causing M-x customize-variable to complain about it:

(defcustom ibuffer-never-search-content-mode '(dired-mode)
  "A list of major modes ignored by `ibuffer-mark-by-content-regexp'.
Buffers whose major mode is in this list, are not searched."
  :version "26.1"
  :type '(repeat regexp)
  :require 'ibuf-ext
  :group 'ibuffer)



This bug report was last modified 7 years and 123 days ago.

Previous Next


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