aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-05-05 12:48:33 -0700
committerPaul Eggert2016-05-05 12:50:01 -0700
commit50650cb6887d99b01eeb1e686fc1f695c2a0c64a (patch)
treed4396e21d5911ae39f67f5718fbcb45a59158f8e
parent5e814e02f0b0b85fa486975eced09e4a7ed8ce5c (diff)
downloademacs-50650cb6887d99b01eeb1e686fc1f695c2a0c64a.tar.gz
emacs-50650cb6887d99b01eeb1e686fc1f695c2a0c64a.zip
Doc fixes for fclist and grep
A newline is needed between two fc-list calls. egrep and fgrep have been withdrawn from POSIX, so document grep -E and grep -F instead.
-rw-r--r--doc/emacs/frames.texi5
-rw-r--r--etc/PROBLEMS2
-rw-r--r--lisp/cedet/cedet-cscope.el2
-rw-r--r--lisp/cedet/semantic/symref.el2
-rw-r--r--lisp/man.el2
-rw-r--r--src/bidi.c4
6 files changed, 9 insertions, 8 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 23ccd6a8f41..a7e709f9221 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -764,7 +764,8 @@ Fontconfig fonts, you can use the @command{fc-list} command to list
764the available fixed-width fonts, like this: 764the available fixed-width fonts, like this:
765 765
766@example 766@example
767fc-list :spacing=mono fc-list :spacing=charcell 767fc-list :spacing=mono
768fc-list :spacing=charcell
768@end example 769@end example
769 770
770@noindent 771@noindent
@@ -772,7 +773,7 @@ For server-side X fonts, you can use the @command{xlsfonts} program to
772list the available fixed-width fonts, like this: 773list the available fixed-width fonts, like this:
773 774
774@example 775@example
775xlsfonts -fn '*x*' | egrep "^[0-9]+x[0-9]+" 776xlsfonts -fn '*x*' | grep -E '^[0-9]+x[0-9]+'
776xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*' 777xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*'
777xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*' 778xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*'
778@end example 779@end example
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index be9400bf264..533c4e9be8d 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1655,7 +1655,7 @@ which combination produces "M-x" in the echo area. You can also use
1655the 'xmodmap' utility to show all the keys which produce a Meta 1655the 'xmodmap' utility to show all the keys which produce a Meta
1656modifier: 1656modifier:
1657 1657
1658 xmodmap -pk | egrep -i "meta|alt" 1658 xmodmap -pk | grep -Ei "meta|alt"
1659 1659
1660A more convenient way of finding out which keys produce a Meta modifier 1660A more convenient way of finding out which keys produce a Meta modifier
1661is to use the 'xkbprint' utility, if it's available on your system: 1661is to use the 'xkbprint' utility, if it's available on your system:
diff --git a/lisp/cedet/cedet-cscope.el b/lisp/cedet/cedet-cscope.el
index 9a54d341f56..373149c16e3 100644
--- a/lisp/cedet/cedet-cscope.el
+++ b/lisp/cedet/cedet-cscope.el
@@ -52,7 +52,7 @@ SCOPE is the scope of the search, such as 'project or 'subdirs."
52 ;; -0 = Find C symbol 52 ;; -0 = Find C symbol
53 ;; -1 = Find global definition 53 ;; -1 = Find global definition
54 ;; -3 = Find references 54 ;; -3 = Find references
55 ;; -6 = Find egrep pattern 55 ;; -6 = Find grep -E pattern
56 ;; -7 = Find file 56 ;; -7 = Find file
57 (let ((idx (cond ((eq type 'file) 57 (let ((idx (cond ((eq type 'file)
58 "-7") 58 "-7")
diff --git a/lisp/cedet/semantic/symref.el b/lisp/cedet/semantic/symref.el
index 088740b2624..516a4f30414 100644
--- a/lisp/cedet/semantic/symref.el
+++ b/lisp/cedet/semantic/symref.el
@@ -266,7 +266,7 @@ Returns an object of class `semantic-symref-result'."
266;;;###autoload 266;;;###autoload
267(defun semantic-symref-find-text (text &optional scope) 267(defun semantic-symref-find-text (text &optional scope)
268 "Find a list of occurrences of TEXT in the current project. 268 "Find a list of occurrences of TEXT in the current project.
269TEXT is a regexp formatted for use with egrep. 269TEXT is a regexp formatted for use with grep -E.
270Optional SCOPE specifies which file set to search. Defaults to `project'. 270Optional SCOPE specifies which file set to search. Defaults to `project'.
271Refers to `semantic-symref-tool', to determine the reference tool to use 271Refers to `semantic-symref-tool', to determine the reference tool to use
272for the current buffer. 272for the current buffer.
diff --git a/lisp/man.el b/lisp/man.el
index 2b2ee99a9be..5acf90baf28 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -964,7 +964,7 @@ otherwise look like a page name.
964 964
965An \"apropos\" query with -k gives a buffer of matching page 965An \"apropos\" query with -k gives a buffer of matching page
966names or descriptions. The pattern argument is usually an 966names or descriptions. The pattern argument is usually an
967\"egrep\" style regexp. 967\"grep -E\" style regexp.
968 968
969 -k pattern" 969 -k pattern"
970 970
diff --git a/src/bidi.c b/src/bidi.c
index c23ff954356..573e513469d 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -2498,10 +2498,10 @@ typedef struct bpa_stack_entry {
2498 2498
2499 And finally, cross-reference these two: 2499 And finally, cross-reference these two:
2500 2500
2501 fgrep -w -f brackets.txt decompositions.txt 2501 grep -Fw -f brackets.txt decompositions.txt
2502 2502
2503 where "decompositions.txt" was produced by the 1st script, and 2503 where "decompositions.txt" was produced by the 1st script, and
2504 "brackets.txt" by the 2nd script. In the output of fgrep, look 2504 "brackets.txt" by the 2nd script. In the output of grep, look
2505 only for decompositions that don't begin with some compatibility 2505 only for decompositions that don't begin with some compatibility
2506 formatting tag, such as "<compat>". Only decompositions that 2506 formatting tag, such as "<compat>". Only decompositions that
2507 consist solely of character codepoints are relevant to bidi 2507 consist solely of character codepoints are relevant to bidi