GNU bug report logs - #30559
26.0.91; grep-use-null-filename-separator customization

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 20 Feb 2018 21:37:01 UTC

Severity: normal

Tags: fixed

Found in version 26.0.91

Fixed in version 26.1

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.91; grep-use-null-filename-separator customization
Date: Tue, 20 Feb 2018 23:04:06 +0200
This is a request to push the patch to the emacs-26 release branch.

Recipe:
1. ‘M-x customize-variable RET grep-use-null-filename-separator RET’
2. Select a non-default value
3. ‘C-x C-s’

Customizing and saving the new defcustom ‘grep-use-null-filename-separator’
fails because ‘grep-host-defaults-alist’ is missing from the second
‘add-to-list’:

diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 14e251e..755c9c7 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -734,6 +734,8 @@ grep-compute-defaults
 	     (grep-use-null-device ,grep-use-null-device)
 	     (grep-find-command ,grep-find-command)
 	     (grep-find-template ,grep-find-template)
+	     (grep-use-null-filename-separator
+	      ,grep-use-null-filename-separator)
 	     (grep-find-use-xargs ,grep-find-use-xargs)
 	     (grep-highlight-matches ,grep-highlight-matches))))))
 




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

Previous Next


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