* bug#8084: 24.0.50; Grep output not usable in Ubuntu
@ 2011-02-20 1:44 Lars Magne Ingebrigtsen
2011-02-21 9:00 ` Glenn Morris
0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-02-20 1:44 UTC (permalink / raw)
To: 8084
In a default install of Ubuntu Maverick, M-x grep doesn't seem to work
very well. The problem seems to be related to Ubuntu grep having
colourising switched on by default.
Adding --color=never to the options fixes the problem, but we probably
don't want to do that? Adding GREP_COLORS=never to the environment
is supposed to help, but doesn't seem to do anything to me.
This is the output I get from
M-x grep -nH -e hello *.el
-*- mode: grep; default-directory: "~/pgnus/lisp/" -*-
Grep started at Sat Feb 19 17:40:48
grep -nH -e hello *.el
auth-source.el:262:;; (let ((auth-source-debug 'debug)) (auth-source-do-debug "[01;31mhello[m"))
auth-source.el:263:;; (let ((auth-source-debug t)) (auth-source-do-debug "[01;31mhello[m"))
auth-source.el:264:;; (let ((auth-source-debug nil)) (auth-source-do-debug "[01;31mhello[m"))
gnus.el:4080: ;; "[01;31mhello[m", and the select method is ("[01;31mhello[m" (my-var "something"))
gnus.el:4082: ;; called "[01;31mhello[m+alt.alt".
In GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
of 2011-02-14 on lenovo
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Summary
Minor modes in effect:
diff-auto-refine-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
C-x C-s C-x 4 a D o c u m e n t SPC a <backspace> l
a y o u t SPC n a m e s . C-x C-s H-d H-c C-c C-c <help-echo>
b <help-echo> <switch-frame> g <up> <up> <up> <up>
<up> <up> <up> <return> d d q <return> <return> n n
q SPC SPC <backspace> A T q M-x g r e p <return> h
e l l o SPC * . e l <return> <switch-frame> <help-echo>
M-x M-p <return> C-a C-y = n e v e r SPC C-e SPC *
<backspace> <backspace> * . h e l l o <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
h e l l o p SPC <backspace> <backspace> SPC * e . <backspace>
<backspace> . e l <return> C-x C-f <M-backspace> l
i s <tab> <return> M-x M-p <return> M-p <return> <help-echo>
M-: M-p C-g M-x M-p <return> M-p C-a <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> S <return> M-x M-p <return> M-p M-p <return>
x M-p <return> M-x M-p <return> M-p M-p <return> M-x
M-p <return> M-p <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <right> <M-backspace> a l w a
y s <return> M-: M-p C-g M-x M-p <return> M-p <help-echo>
<down-mouse-1> <mouse-movement> <mouse-movement> <drag-mouse-1>
M-x M-p C-a <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <M-backspace>
<M-backspace> <M-backspace> <return> H-o H-o M-x M-p
<return> M-p <return> C-x o <down> <down> <down> <down>
<up> C-SPC <up> <up> <up> C-SPC <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> M-w H-o g SPC <backspace> M-x r e p o
<tab> r <tab> <return>
Recent messages:
Grep finished (matches found)
Quit
Grep finished (matches found) [2 times]
(No deletions requested)
Grep finished (matches found) [2 times]
Quit
read-extended-command: Command attempted to use minibuffer while in minibuffer
Grep finished (matches found) [2 times]
Mark set [2 times]
Making completion list...
Load-path shadows:
/home/larsi/pgnus/lisp/compface hides ~/pgnus/contrib/compface
/home/larsi/pgnus/lisp/color hides /home/larsi/src/emacs/trunk/lisp/color
/home/larsi/pgnus/lisp/password-cache hides /home/larsi/src/emacs/trunk/lisp/password-cache
/home/larsi/pgnus/lisp/sha1 hides /home/larsi/src/emacs/trunk/lisp/sha1
/home/larsi/pgnus/lisp/hex-util hides /home/larsi/src/emacs/trunk/lisp/hex-util
/home/larsi/pgnus/lisp/format-spec hides /home/larsi/src/emacs/trunk/lisp/format-spec
/home/larsi/pgnus/lisp/md4 hides /home/larsi/src/emacs/trunk/lisp/md4
/home/larsi/pgnus/lisp/dns-mode hides /home/larsi/src/emacs/trunk/lisp/textmodes/dns-mode
/home/larsi/pgnus/lisp/sasl-ntlm hides /home/larsi/src/emacs/trunk/lisp/net/sasl-ntlm
/home/larsi/pgnus/lisp/sasl-cram hides /home/larsi/src/emacs/trunk/lisp/net/sasl-cram
/home/larsi/pgnus/lisp/dns hides /home/larsi/src/emacs/trunk/lisp/net/dns
/home/larsi/pgnus/lisp/sasl-digest hides /home/larsi/src/emacs/trunk/lisp/net/sasl-digest
/home/larsi/pgnus/lisp/imap hides /home/larsi/src/emacs/trunk/lisp/net/imap
/home/larsi/pgnus/lisp/ntlm hides /home/larsi/src/emacs/trunk/lisp/net/ntlm
/home/larsi/pgnus/lisp/tls hides /home/larsi/src/emacs/trunk/lisp/net/tls
/home/larsi/pgnus/lisp/hmac-def hides /home/larsi/src/emacs/trunk/lisp/net/hmac-def
/home/larsi/pgnus/lisp/hmac-md5 hides /home/larsi/src/emacs/trunk/lisp/net/hmac-md5
/home/larsi/pgnus/lisp/dig hides /home/larsi/src/emacs/trunk/lisp/net/dig
/home/larsi/pgnus/lisp/sasl hides /home/larsi/src/emacs/trunk/lisp/net/sasl
/home/larsi/pgnus/lisp/netrc hides /home/larsi/src/emacs/trunk/lisp/net/netrc
/home/larsi/pgnus/lisp/hashcash hides /home/larsi/src/emacs/trunk/lisp/mail/hashcash
/home/larsi/pgnus/lisp/binhex hides /home/larsi/src/emacs/trunk/lisp/mail/binhex
/home/larsi/pgnus/lisp/uudecode hides /home/larsi/src/emacs/trunk/lisp/mail/uudecode
/home/larsi/pgnus/lisp/mml2015 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml2015
/home/larsi/pgnus/lisp/gnus-fun hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-fun
/home/larsi/pgnus/lisp/gnus-int hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-int
/home/larsi/pgnus/lisp/mml hides /home/larsi/src/emacs/trunk/lisp/gnus/mml
/home/larsi/pgnus/lisp/spam hides /home/larsi/src/emacs/trunk/lisp/gnus/spam
/home/larsi/pgnus/lisp/mm-encode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-encode
/home/larsi/pgnus/lisp/gnus-picon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-picon
/home/larsi/pgnus/lisp/sieve-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-mode
/home/larsi/pgnus/lisp/nnml hides /home/larsi/src/emacs/trunk/lisp/gnus/nnml
/home/larsi/pgnus/lisp/gnus-html hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-html
/home/larsi/pgnus/lisp/sieve-manage hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-manage
/home/larsi/pgnus/lisp/gnus-srvr hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-srvr
/home/larsi/pgnus/lisp/sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve
/home/larsi/pgnus/lisp/gnus-bcklg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bcklg
/home/larsi/pgnus/lisp/gnus-draft hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-draft
/home/larsi/pgnus/lisp/gnus-async hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-async
/home/larsi/pgnus/lisp/proto-stream hides /home/larsi/src/emacs/trunk/lisp/gnus/proto-stream
/home/larsi/pgnus/lisp/mm-bodies hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-bodies
/home/larsi/pgnus/lisp/gnus-gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-gravatar
/home/larsi/pgnus/lisp/nnagent hides /home/larsi/src/emacs/trunk/lisp/gnus/nnagent
/home/larsi/pgnus/lisp/gnus-cus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cus
/home/larsi/pgnus/lisp/nnregistry hides /home/larsi/src/emacs/trunk/lisp/gnus/nnregistry
/home/larsi/pgnus/lisp/nntp hides /home/larsi/src/emacs/trunk/lisp/gnus/nntp
/home/larsi/pgnus/lisp/nnbabyl hides /home/larsi/src/emacs/trunk/lisp/gnus/nnbabyl
/home/larsi/pgnus/lisp/pop3 hides /home/larsi/src/emacs/trunk/lisp/gnus/pop3
/home/larsi/pgnus/lisp/gnus-undo hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-undo
/home/larsi/pgnus/lisp/rfc2047 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2047
/home/larsi/pgnus/lisp/gnus-group hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-group
/home/larsi/pgnus/lisp/nnir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnir
/home/larsi/pgnus/lisp/canlock hides /home/larsi/src/emacs/trunk/lisp/gnus/canlock
/home/larsi/pgnus/lisp/rtree hides /home/larsi/src/emacs/trunk/lisp/gnus/rtree
/home/larsi/pgnus/lisp/nnfolder hides /home/larsi/src/emacs/trunk/lisp/gnus/nnfolder
/home/larsi/pgnus/lisp/shr-color hides /home/larsi/src/emacs/trunk/lisp/gnus/shr-color
/home/larsi/pgnus/lisp/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface
/home/larsi/pgnus/lisp/nnmbox hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmbox
/home/larsi/pgnus/lisp/auth-source hides /home/larsi/src/emacs/trunk/lisp/gnus/auth-source
/home/larsi/pgnus/lisp/mm-extern hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-extern
/home/larsi/pgnus/lisp/rfc1843 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc1843
/home/larsi/pgnus/lisp/nndir hides /home/larsi/src/emacs/trunk/lisp/gnus/nndir
/home/larsi/pgnus/lisp/nnnil hides /home/larsi/src/emacs/trunk/lisp/gnus/nnnil
/home/larsi/pgnus/lisp/html2text hides /home/larsi/src/emacs/trunk/lisp/gnus/html2text
/home/larsi/pgnus/lisp/message hides /home/larsi/src/emacs/trunk/lisp/gnus/message
/home/larsi/pgnus/lisp/gnus-vm hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-vm
/home/larsi/pgnus/lisp/flow-fill hides /home/larsi/src/emacs/trunk/lisp/gnus/flow-fill
/home/larsi/pgnus/lisp/score-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/score-mode
/home/larsi/pgnus/lisp/mm-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-uu
/home/larsi/pgnus/lisp/smime hides /home/larsi/src/emacs/trunk/lisp/gnus/smime
/home/larsi/pgnus/lisp/gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gravatar
/home/larsi/pgnus/lisp/gnus-eform hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-eform
/home/larsi/pgnus/lisp/gnus-ems hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ems
/home/larsi/pgnus/lisp/gnus-diary hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-diary
/home/larsi/pgnus/lisp/gnus-demon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-demon
/home/larsi/pgnus/lisp/gnus-win hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-win
/home/larsi/pgnus/lisp/nnweb hides /home/larsi/src/emacs/trunk/lisp/gnus/nnweb
/home/larsi/pgnus/lisp/starttls hides /home/larsi/src/emacs/trunk/lisp/gnus/starttls
/home/larsi/pgnus/lisp/spam-wash hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-wash
/home/larsi/pgnus/lisp/nngateway hides /home/larsi/src/emacs/trunk/lisp/gnus/nngateway
/home/larsi/pgnus/lisp/nndraft hides /home/larsi/src/emacs/trunk/lisp/gnus/nndraft
/home/larsi/pgnus/lisp/rfc2104 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2104
/home/larsi/pgnus/lisp/mml1991 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml1991
/home/larsi/pgnus/lisp/nnmaildir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmaildir
/home/larsi/pgnus/lisp/gnus-ml hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ml
/home/larsi/pgnus/lisp/mml-sec hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-sec
/home/larsi/pgnus/lisp/gnus-registry hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-registry
/home/larsi/pgnus/lisp/gnus-cache hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cache
/home/larsi/pgnus/lisp/messcompat hides /home/larsi/src/emacs/trunk/lisp/gnus/messcompat
/home/larsi/pgnus/lisp/gnus-msg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-msg
/home/larsi/pgnus/lisp/gnus-mlspl hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mlspl
/home/larsi/pgnus/lisp/nnvirtual hides /home/larsi/src/emacs/trunk/lisp/gnus/nnvirtual
/home/larsi/pgnus/lisp/mm-view hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-view
/home/larsi/pgnus/lisp/yenc hides /home/larsi/src/emacs/trunk/lisp/gnus/yenc
/home/larsi/pgnus/lisp/nnmail hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmail
/home/larsi/pgnus/lisp/gnus-kill hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-kill
/home/larsi/pgnus/lisp/gnus-dup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dup
/home/larsi/pgnus/lisp/legacy-gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/legacy-gnus-agent
/home/larsi/pgnus/lisp/gmm-utils hides /home/larsi/src/emacs/trunk/lisp/gnus/gmm-utils
/home/larsi/pgnus/lisp/mm-util hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-util
/home/larsi/pgnus/lisp/gnus-cite hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cite
/home/larsi/pgnus/lisp/shr hides /home/larsi/src/emacs/trunk/lisp/gnus/shr
/home/larsi/pgnus/lisp/gnus-spec hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-spec
/home/larsi/pgnus/lisp/gnus-topic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-topic
/home/larsi/pgnus/lisp/gnus-start hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-start
/home/larsi/pgnus/lisp/nnheader hides /home/larsi/src/emacs/trunk/lisp/gnus/nnheader
/home/larsi/pgnus/lisp/spam-report hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-report
/home/larsi/pgnus/lisp/spam-stat hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-stat
/home/larsi/pgnus/lisp/gnus-sum hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sum
/home/larsi/pgnus/lisp/mm-url hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-url
/home/larsi/pgnus/lisp/mm-decode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-decode
/home/larsi/pgnus/lisp/gnus-util hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-util
/home/larsi/pgnus/lisp/nnmh hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmh
/home/larsi/pgnus/lisp/mm-partial hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-partial
/home/larsi/pgnus/lisp/nnimap hides /home/larsi/src/emacs/trunk/lisp/gnus/nnimap
/home/larsi/pgnus/lisp/gnus-bookmark hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bookmark
/home/larsi/pgnus/lisp/deuglify hides /home/larsi/src/emacs/trunk/lisp/gnus/deuglify
/home/larsi/pgnus/lisp/gnus-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-uu
/home/larsi/pgnus/lisp/nnoo hides /home/larsi/src/emacs/trunk/lisp/gnus/nnoo
/home/larsi/pgnus/lisp/mail-prsvr hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-prsvr
/home/larsi/pgnus/lisp/gnus-salt hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-salt
/home/larsi/pgnus/lisp/gnus-art hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-art
/home/larsi/pgnus/lisp/gnus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus
/home/larsi/pgnus/lisp/nneething hides /home/larsi/src/emacs/trunk/lisp/gnus/nneething
/home/larsi/pgnus/lisp/nndoc hides /home/larsi/src/emacs/trunk/lisp/gnus/nndoc
/home/larsi/pgnus/lisp/gnus-setup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-setup
/home/larsi/pgnus/lisp/gnus-mh hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mh
/home/larsi/pgnus/lisp/mml-smime hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-smime
/home/larsi/pgnus/lisp/gnus-sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sieve
/home/larsi/pgnus/lisp/mailcap hides /home/larsi/src/emacs/trunk/lisp/gnus/mailcap
/home/larsi/pgnus/lisp/smiley hides /home/larsi/src/emacs/trunk/lisp/gnus/smiley
/home/larsi/pgnus/lisp/rfc2231 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2231
/home/larsi/pgnus/lisp/ietf-drums hides /home/larsi/src/emacs/trunk/lisp/gnus/ietf-drums
/home/larsi/pgnus/lisp/gnus-range hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-range
/home/larsi/pgnus/lisp/nnmairix hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmairix
/home/larsi/pgnus/lisp/gnus-dired hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dired
/home/larsi/pgnus/lisp/.dir-locals hides /home/larsi/src/emacs/trunk/lisp/gnus/.dir-locals
/home/larsi/pgnus/lisp/utf7 hides /home/larsi/src/emacs/trunk/lisp/gnus/utf7
/home/larsi/pgnus/lisp/gnus-sync hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sync
/home/larsi/pgnus/lisp/ecomplete hides /home/larsi/src/emacs/trunk/lisp/gnus/ecomplete
/home/larsi/pgnus/lisp/qp hides /home/larsi/src/emacs/trunk/lisp/gnus/qp
/home/larsi/pgnus/lisp/mail-source hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-source
/home/larsi/pgnus/lisp/nndiary hides /home/larsi/src/emacs/trunk/lisp/gnus/nndiary
/home/larsi/pgnus/lisp/gnus-delay hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-delay
/home/larsi/pgnus/lisp/gnus-score hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-score
/home/larsi/pgnus/lisp/nnspool hides /home/larsi/src/emacs/trunk/lisp/gnus/nnspool
/home/larsi/pgnus/lisp/gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-agent
/home/larsi/pgnus/lisp/gnus-logic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-logic
/home/larsi/pgnus/lisp/mail-parse hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-parse
/home/larsi/pgnus/lisp/nnrss hides /home/larsi/src/emacs/trunk/lisp/gnus/nnrss
/home/larsi/pgnus/lisp/rfc2045 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2045
/home/larsi/pgnus/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date
/home/larsi/pgnus/lisp/parse-time hides /home/larsi/src/emacs/trunk/lisp/calendar/parse-time
/home/larsi/pgnus/lisp/pgg-gpg hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg-gpg
/home/larsi/pgnus/lisp/pgg-pgp5 hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg-pgp5
/home/larsi/pgnus/lisp/pgg-def hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg-def
/home/larsi/pgnus/lisp/pgg-pgp hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg-pgp
/home/larsi/pgnus/lisp/pgg hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg
/home/larsi/pgnus/lisp/pgg-parse hides /home/larsi/src/emacs/trunk/lisp/obsolete/pgg-parse
Features:
(shadow emacsbug grep compile comint nroff-mode arc-mode archive-mode
tramp-cache tramp tramp-compat advice advice-preload tramp-loaddefs
url-handlers thingatpt epa-file epa derived epg texinfo info log-view
timezone pp flow-fill vc-annotate gnus-bcklg shr-color color nndir nnml
nnspool url-http url-auth url-gw shr gnus-html browse-url xml url-cache
mm-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-util url-parse url-vars mule-util utf-7 diff-mode debug
log-edit easy-mmode pcvs-util vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir
ewoc vc vc-dispatcher etags ring help-fns apropos cl-specs edebug
canlock sha1 hex-util dired-aux help-mode view vc-git sort smiley
ansi-color gnus-async gnus-draft newcomment gnus-cite ecomplete qp
gnus-ml disp-table gnus-fun gnus-mdrtn multi-isearch gnus-topic nndoc
nnmbox nndraft nnfolder nnimap parse-time utf7 nnmh auth-source eieio
byte-opt bytecomp byte-compile assoc netrc gnutls spam-report spam
spam-stat gnus-uu yenc gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime password-cache dig mailcap nntp proto-stream starttls tls
gnus-cache nnir gnus-sum macroexp nnoo gnus-group gnus-undo nnmail
mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message
sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
mailheader gnus-win gnus-load gnus gnus-ems nnheader gnus-util time-date
mail-utils mm-util mail-prsvr wid-edit ido flyspell ispell dired
regexp-opt add-log mail-extr jka-compr cl tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dynamic-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; Grep output not usable in Ubuntu
2011-02-20 1:44 bug#8084: 24.0.50; Grep output not usable in Ubuntu Lars Magne Ingebrigtsen
@ 2011-02-21 9:00 ` Glenn Morris
2011-02-21 9:19 ` Lars Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2011-02-21 9:00 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 8084
Lars Magne Ingebrigtsen wrote:
> In a default install of Ubuntu Maverick, M-x grep doesn't seem to work
> very well. The problem seems to be related to Ubuntu grep having
> colourising switched on by default.
How did they switch on colours by default? I would have guessed it's
just a shell alias, which shouldn't affect Emacs.
In any case, it's kind of odd that this would cause a problem, since
Emacs itself turns on grep colours by default - see
grep-highlight-matches and grep-process-setup.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; Grep output not usable in Ubuntu
2011-02-21 9:00 ` Glenn Morris
@ 2011-02-21 9:19 ` Lars Ingebrigtsen
2011-02-21 21:44 ` Glenn Morris
2011-02-21 21:44 ` bug#8084: 24.0.50; Grep output not usable in Ubuntu Stefan Monnier
0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2011-02-21 9:19 UTC (permalink / raw)
To: Glenn Morris; +Cc: 8084
Glenn Morris <rgm@gnu.org> writes:
>> In a default install of Ubuntu Maverick, M-x grep doesn't seem to work
>> very well. The problem seems to be related to Ubuntu grep having
>> colourising switched on by default.
>
> How did they switch on colours by default? I would have guessed it's
> just a shell alias, which shouldn't affect Emacs.
D'oh! It is:
larsi@lenovo:~$ type grep
grep is aliased to `grep --color=auto'
That explains why doing stuff like
GREP_COLORS=never grep ...
doesn't work for me... How silly.
But does Emacs bypass the shell alias settings?
> In any case, it's kind of odd that this would cause a problem, since
> Emacs itself turns on grep colours by default - see
> grep-highlight-matches and grep-process-setup.
The former is 'auto for me. But still I'm getting...
gnus.el:4080: ;; "[01;31mhello[m", and the select method is ("[01;31mhello[m" (my-var "something"))
Oh, d'oh again!
I have
(global-font-lock-mode -1)
and that makes the escape codes not work.
So this is all user error, I think. Or should M-x grep work if you have
font locking switched off? It's not only that the output of M-x grep is
unreadable, but `next-error' doesn't work the first time, either. (The
second and subsequent times it does work.)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; Grep output not usable in Ubuntu
2011-02-21 9:19 ` Lars Ingebrigtsen
@ 2011-02-21 21:44 ` Glenn Morris
2011-02-21 22:46 ` Andreas Schwab
2011-08-10 19:03 ` bug#8084: 24.0.50; grep still relies on font-lock somewhat Juri Linkov
2011-02-21 21:44 ` bug#8084: 24.0.50; Grep output not usable in Ubuntu Stefan Monnier
1 sibling, 2 replies; 9+ messages in thread
From: Glenn Morris @ 2011-02-21 21:44 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 8084
Lars Ingebrigtsen wrote:
> But does Emacs bypass the shell alias settings?
It just calls the executable, without going through the shell.
> (global-font-lock-mode -1)
Probably grep-process-setup should also test font-lock status before
enabling color.
I did notice that the help-echo and mouse-face properties will also be
lost without font-lock though.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; Grep output not usable in Ubuntu
2011-02-21 21:44 ` Glenn Morris
@ 2011-02-21 22:46 ` Andreas Schwab
2011-08-10 19:03 ` bug#8084: 24.0.50; grep still relies on font-lock somewhat Juri Linkov
1 sibling, 0 replies; 9+ messages in thread
From: Andreas Schwab @ 2011-02-21 22:46 UTC (permalink / raw)
To: Glenn Morris; +Cc: Lars Ingebrigtsen, 8084
Glenn Morris <rgm@gnu.org> writes:
> Lars Ingebrigtsen wrote:
>
>> But does Emacs bypass the shell alias settings?
>
> It just calls the executable, without going through the shell.
That's not true, you wouldn't get the filename expansion without the
shell. The real reason is that non-interactive shells don't expand
aliases.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; grep still relies on font-lock somewhat
2011-02-21 21:44 ` Glenn Morris
2011-02-21 22:46 ` Andreas Schwab
@ 2011-08-10 19:03 ` Juri Linkov
2011-09-05 9:49 ` Juri Linkov
1 sibling, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2011-08-10 19:03 UTC (permalink / raw)
To: Glenn Morris; +Cc: Lars Ingebrigtsen, 8084
>> (global-font-lock-mode -1)
>
> Probably grep-process-setup should also test font-lock status before
> enabling color.
Do I understand correctly that after revno:104159 (2011-05-08) that
fixes bug#7952 by handling escape sequences in the process filter
rather than in font-lock, now the line `(null font-lock-mode)' should be
removed from `grep-process-setup' and this bug#8084 should be closed?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; grep still relies on font-lock somewhat
2011-08-10 19:03 ` bug#8084: 24.0.50; grep still relies on font-lock somewhat Juri Linkov
@ 2011-09-05 9:49 ` Juri Linkov
2011-09-06 18:42 ` Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2011-09-05 9:49 UTC (permalink / raw)
To: Glenn Morris; +Cc: Lars Ingebrigtsen, 8084-done
> Do I understand correctly that after revno:104159 (2011-05-08) that
> fixes bug#7952 by handling escape sequences in the process filter
> rather than in font-lock, now the line `(null font-lock-mode)' should be
> removed from `grep-process-setup'
I now think that `grep-process-setup' should still check for
`(null font-lock-mode)' to not output color escapes
that can't be highlighted with `font-lock-face' by `grep-filter'.
There is no harm to output color escapes because `grep-filter'
still removes them, but this is useless because text properties
`font-lock-face' can't be displayed when `font-lock-mode' is nil.
> and this bug#8084 should be closed?
I fixed comments and closed this bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; grep still relies on font-lock somewhat
2011-09-05 9:49 ` Juri Linkov
@ 2011-09-06 18:42 ` Stefan Monnier
0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2011-09-06 18:42 UTC (permalink / raw)
To: 8084
> I now think that `grep-process-setup' should still check for
> `(null font-lock-mode)' to not output color escapes
> that can't be highlighted with `font-lock-face' by `grep-filter'.
> There is no harm to output color escapes because `grep-filter'
> still removes them, but this is useless because text properties
> `font-lock-face' can't be displayed when `font-lock-mode' is nil.
The (null font-lock-mode) test is an optimization. It may provide more
reliable and slightly faster behavior for those people who don't want
the highlighting.
It does come with one downside, which is that enabling font-lock-mode
after the fact will not result in the matches being highlighted.
I'm not too worried about this downside, so either way is fine by me.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#8084: 24.0.50; Grep output not usable in Ubuntu
2011-02-21 9:19 ` Lars Ingebrigtsen
2011-02-21 21:44 ` Glenn Morris
@ 2011-02-21 21:44 ` Stefan Monnier
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2011-02-21 21:44 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 8084
> So this is all user error, I think.
No.
> Or should M-x grep work if you have font locking switched off?
Yes.
> It's not only that the output of M-x grep is unreadable, but
> `next-error' doesn't work the first time, either.
grep.el's treatment of color-escape-sequences should be moved to
a process-filter. I do not have time to work on this, right now, so
if someone else could take care of it, that would be great.
> (The second and subsequent times it does work.)
No idea why that would happen.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-09-06 18:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-20 1:44 bug#8084: 24.0.50; Grep output not usable in Ubuntu Lars Magne Ingebrigtsen
2011-02-21 9:00 ` Glenn Morris
2011-02-21 9:19 ` Lars Ingebrigtsen
2011-02-21 21:44 ` Glenn Morris
2011-02-21 22:46 ` Andreas Schwab
2011-08-10 19:03 ` bug#8084: 24.0.50; grep still relies on font-lock somewhat Juri Linkov
2011-09-05 9:49 ` Juri Linkov
2011-09-06 18:42 ` Stefan Monnier
2011-02-21 21:44 ` bug#8084: 24.0.50; Grep output not usable in Ubuntu Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).