From b50fed139843407f74e6325783438510d6a6143f Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Wed, 22 Apr 2015 10:23:13 +0100 Subject: better ack command --- init.el | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 114 insertions(+), 20 deletions(-) diff --git a/init.el b/init.el index c093045..95ef002 100755 --- a/init.el +++ b/init.el @@ -10,18 +10,28 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(auto-coding-alist (quote (("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion) ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion) ("^/home/dakkar/.claws-mail/tmp" . utf-8)))) + '(ack-command "ack --nopager ") + '(auto-coding-alist + (quote + (("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion) + ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion) + ("^/home/dakkar/.claws-mail/tmp" . utf-8)))) '(browse-url-browser-function (quote browse-url-generic)) '(browse-url-generic-program "/usr/bin/firefox") '(browse-url-lynx-input-attempts 10 t) '(browse-url-netscape-program "/usr/bin/firefox") - '(c-cleanup-list (quote (brace-else-brace brace-elseif-brace brace-catch-brace empty-defun-braces scope-operator))) + '(c-cleanup-list + (quote + (brace-else-brace brace-elseif-brace brace-catch-brace empty-defun-braces scope-operator))) '(c-echo-syntactic-information-p t) '(c-tab-always-indent nil) '(calendar-week-start-day 1) '(case-fold-search t) '(column-number-mode t) - '(confluence-default-space-alist (quote (("https://confluence.nap/rpc/xmlrpc" . "TA") ("https://confluence.nap/rpc/xmlrpc" . "BAK")))) + '(confluence-default-space-alist + (quote + (("https://confluence.nap/rpc/xmlrpc" . "TA") + ("https://confluence.nap/rpc/xmlrpc" . "BAK")))) '(confluence-url "https://confluence.nap/rpc/xmlrpc") '(cperl-close-paren-offset -4) '(cperl-continued-statement-offset 4) @@ -30,20 +40,52 @@ '(cperl-indent-parens-as-block t) '(cperl-under-as-char nil) '(current-language-environment "English") - '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 0) (width . 80) (height . 25) (right-fringe) (left-fringe) (fullscreen . fullheight)))) + '(default-frame-alist + (quote + ((tool-bar-lines . 0) + (width . 80) + (height . 25) + (right-fringe) + (left-fringe) + (fullscreen . fullheight)))) '(desktop-load-locked-desktop t) '(desktop-save t) '(desktop-save-mode t) - '(diary-date-forms (quote ((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W") (year "-" month "-" day "[^0-9]")))) + '(diary-date-forms + (quote + ((month "/" day "[^/0-9]") + (month "/" day "/" year "[^0-9]") + (monthname " *" day "[^,0-9]") + (monthname " *" day ", *" year "[^0-9]") + (dayname "\\W") + (year "-" month "-" day "[^0-9]")))) '(ecb-cedet-url "http://belnet.dl.sourceforge.net/sourceforge/ecb/") '(ecb-download-url "http://belnet.dl.sourceforge.net/sourceforge/ecb/") '(ecb-options-version "2.27") '(emacs-wiki-charset-default "utf-8") '(emacs-wiki-coding-default (quote utf-8)) - '(emacs-wiki-grep-command "find %D -type f ! -name '*~' | xargs grep -E -n -e \"\\<%W\\>\"") - '(emacs-wiki-mode-hook (quote (emacs-wiki-use-font-lock footnote-mode highlight-changes-mode))) + '(emacs-wiki-grep-command + "find %D -type f ! -name '*~' | xargs grep -E -n -e \"\\<%W\\>\"") + '(emacs-wiki-mode-hook + (quote + (emacs-wiki-use-font-lock footnote-mode highlight-changes-mode))) '(enable-local-variables t) - '(file-coding-system-alist (quote (("\\.po\\'\\|\\.po\\." . po-find-file-coding-system) ("\\.dz\\'" no-conversion . no-conversion) ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.tgz\\'" no-conversion . no-conversion) ("\\.tbz\\'" no-conversion . no-conversion) ("\\.bz2\\'" no-conversion . no-conversion) ("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.elc\\'" emacs-mule . emacs-mule) ("\\.utf\\(-8\\)?\\'" . utf-8) ("\\(\\`\\|/\\)loaddefs.el\\'" raw-text . raw-text-unix) ("\\.tar\\'" no-conversion . no-conversion) ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system) ("" undecided . utf-8)))) + '(file-coding-system-alist + (quote + (("\\.po\\'\\|\\.po\\." . po-find-file-coding-system) + ("\\.dz\\'" no-conversion . no-conversion) + ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) + ("\\.tgz\\'" no-conversion . no-conversion) + ("\\.tbz\\'" no-conversion . no-conversion) + ("\\.bz2\\'" no-conversion . no-conversion) + ("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) + ("\\.elc\\'" emacs-mule . emacs-mule) + ("\\.utf\\(-8\\)?\\'" . utf-8) + ("\\(\\`\\|/\\)loaddefs.el\\'" raw-text . raw-text-unix) + ("\\.tar\\'" no-conversion . no-conversion) + ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) + ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system) + ("" undecided . utf-8)))) '(file-name-coding-system (quote utf-8) t) '(flymake-log-level 0) '(flymake-master-file-dirs (quote ("." "./src" "./lib" "./t/lib"))) @@ -52,11 +94,34 @@ '(global-font-lock-mode t nil (font-lock)) '(gnus-default-charset (quote iso-8859-15)) '(gnus-default-posting-charset (quote iso-8859-15)) - '(gnus-group-charset-alist (quote (("^hk\\>\\|^tw\\>\\|\\" cn-big5) ("^cn\\>\\|\\" cn-gb-2312) ("^fj\\>\\|^japan\\>" iso-2022-jp-2) ("^tnn\\>\\|^pin\\>\\|^sci.lang.japan" iso-2022-7bit) ("^relcom\\>" koi8-r) ("^fido7\\>" koi8-r) ("^\\(cz\\|hun\\|pl\\|sk\\|hr\\)\\>" iso-8859-2) ("^israel\\>" iso-8859-15) ("^han\\>" euc-kr) ("^alt.chinese.text.big5\\>" chinese-big5) ("^soc.culture.vietnamese\\>" vietnamese-viqr) ("^\\(comp\\|rec\\|alt\\|sci\\|soc\\|news\\|gnu\\|bofh\\)\\>" iso-8859-15) (".*" iso-8859-15)))) - '(gnus-group-posting-charset-alist (quote (("^\\(no\\|fr\\)\\.[^,]*\\(,[ -]*\\(no\\|fr\\)\\.[^,]*\\)*$" iso-8859-15 (iso-8859-15)) ("^\\(fido7\\|relcom\\)\\.[^,]*\\(,[ -]*\\(fido7\\|relcom\\)\\.[^,]*\\)*$" koi8-r (koi8-r)) (message-this-is-mail nil nil) (message-this-is-news nil t)))) - '(gnus-ignored-headers (quote ("^Path:" "^Expires:" "^Date-Received:" "^References:" "^Xref:" "^Lines:" "^Relay-Version:" "^Message-ID:" "^Approved:" "^Sender:" "^Received:" "^X-UIDL:" "^MIME-Version:" "^Return-Path:" "^In-Reply-To:" "^Content-Transfer-Encoding:" "^X-WebTV-Signature:" "^X-MimeOLE:" "^X-MSMail-Priority:" "^X-Priority:" "^X-Loop:" "^X-Authentication-Warning:" "^X-MIME-Autoconverted:" "^X-Face:" "^X-Attribution:" "^X-Originating-IP:" "^Delivered-To:" "^NNTP-[-A-Za-z]+:" "^Distribution:" "^X-no-archive:" "^X-Trace:" "^X-Complaints-To:" "^X-NNTP-Posting-Host:" "^X-Orig.*:" "^Abuse-Reports-To:" "^Cache-Post-Path:" "^X-Article-Creation-Date:" "^X-Poster:" "^X-Mail2News-Path:" "^X-Server-Date:" "^X-Cache:" "^Originator:" "^X-Problems-To:" "^X-Auth-User:" "^X-Post-Time:" "^X-Admin:" "^X-UID:" "^Resent-[-A-Za-z]+:" "^X-Mailing-List:" "^Precedence:" "^Original-[-A-Za-z]+:" "^X-filename:" "^X-Orcpt:" "^Old-Received:" "^X-Pgp" "^X-Auth:" "^X-From-Line:" "^X-Gnus-Article-Number:" "^X-Majordomo:" "^X-Url:" "^X-Sender:" "^MBOX-Line" "^Priority:" "^X-Pgp" "^X400-[-A-Za-z]+:" "^Status:" "^X-Gnus-Mail-Source:" "^Cancel-Lock:" "^X-FTN" "^X-EXP32-SerialNo:" "^Encoding:" "^Importance:" "^Autoforwarded:" "^Original-Encoded-Information-Types:" "^X-Ya-Pop3:" "^X-Face-Version:" "^X-Vms-To:" "^X-ML-NAME:" "^X-ML-COUNT:" "^Mailing-List:" "^X-finfo:" "^X-md5sum:" "^X-md5sum-Origin:" "^X-Sun-Charset:" "^X-Accept-Language:" "^X-Envelope-Sender:" "^List-[A-Za-z]+:" "^X-Listprocessor-Version:" "^X-Received:" "^X-Distribute:" "^X-Sequence:" "^X-Juno-Line-Breaks:" "^X-Notes-Item:" "^X-MS-TNEF-Correlator:" "^x-uunet-gateway:" "^X-Received:" "^Content-length:" "X-precedence:"))) + '(gnus-group-charset-alist + (quote + (("^hk\\>\\|^tw\\>\\|\\" cn-big5) + ("^cn\\>\\|\\" cn-gb-2312) + ("^fj\\>\\|^japan\\>" iso-2022-jp-2) + ("^tnn\\>\\|^pin\\>\\|^sci.lang.japan" iso-2022-7bit) + ("^relcom\\>" koi8-r) + ("^fido7\\>" koi8-r) + ("^\\(cz\\|hun\\|pl\\|sk\\|hr\\)\\>" iso-8859-2) + ("^israel\\>" iso-8859-15) + ("^han\\>" euc-kr) + ("^alt.chinese.text.big5\\>" chinese-big5) + ("^soc.culture.vietnamese\\>" vietnamese-viqr) + ("^\\(comp\\|rec\\|alt\\|sci\\|soc\\|news\\|gnu\\|bofh\\)\\>" iso-8859-15) + (".*" iso-8859-15)))) + '(gnus-group-posting-charset-alist + (quote + (("^\\(no\\|fr\\)\\.[^,]*\\(,[ +]*\\(no\\|fr\\)\\.[^,]*\\)*$" iso-8859-15 + (iso-8859-15)) + ("^\\(fido7\\|relcom\\)\\.[^,]*\\(,[ +]*\\(fido7\\|relcom\\)\\.[^,]*\\)*$" koi8-r + (koi8-r)) + (message-this-is-mail nil nil) + (message-this-is-news nil t)))) + '(gnus-ignored-headers + (quote + ("^Path:" "^Expires:" "^Date-Received:" "^References:" "^Xref:" "^Lines:" "^Relay-Version:" "^Message-ID:" "^Approved:" "^Sender:" "^Received:" "^X-UIDL:" "^MIME-Version:" "^Return-Path:" "^In-Reply-To:" "^Content-Transfer-Encoding:" "^X-WebTV-Signature:" "^X-MimeOLE:" "^X-MSMail-Priority:" "^X-Priority:" "^X-Loop:" "^X-Authentication-Warning:" "^X-MIME-Autoconverted:" "^X-Face:" "^X-Attribution:" "^X-Originating-IP:" "^Delivered-To:" "^NNTP-[-A-Za-z]+:" "^Distribution:" "^X-no-archive:" "^X-Trace:" "^X-Complaints-To:" "^X-NNTP-Posting-Host:" "^X-Orig.*:" "^Abuse-Reports-To:" "^Cache-Post-Path:" "^X-Article-Creation-Date:" "^X-Poster:" "^X-Mail2News-Path:" "^X-Server-Date:" "^X-Cache:" "^Originator:" "^X-Problems-To:" "^X-Auth-User:" "^X-Post-Time:" "^X-Admin:" "^X-UID:" "^Resent-[-A-Za-z]+:" "^X-Mailing-List:" "^Precedence:" "^Original-[-A-Za-z]+:" "^X-filename:" "^X-Orcpt:" "^Old-Received:" "^X-Pgp" "^X-Auth:" "^X-From-Line:" "^X-Gnus-Article-Number:" "^X-Majordomo:" "^X-Url:" "^X-Sender:" "^MBOX-Line" "^Priority:" "^X-Pgp" "^X400-[-A-Za-z]+:" "^Status:" "^X-Gnus-Mail-Source:" "^Cancel-Lock:" "^X-FTN" "^X-EXP32-SerialNo:" "^Encoding:" "^Importance:" "^Autoforwarded:" "^Original-Encoded-Information-Types:" "^X-Ya-Pop3:" "^X-Face-Version:" "^X-Vms-To:" "^X-ML-NAME:" "^X-ML-COUNT:" "^Mailing-List:" "^X-finfo:" "^X-md5sum:" "^X-md5sum-Origin:" "^X-Sun-Charset:" "^X-Accept-Language:" "^X-Envelope-Sender:" "^List-[A-Za-z]+:" "^X-Listprocessor-Version:" "^X-Received:" "^X-Distribute:" "^X-Sequence:" "^X-Juno-Line-Breaks:" "^X-Notes-Item:" "^X-MS-TNEF-Correlator:" "^x-uunet-gateway:" "^X-Received:" "^Content-length:" "X-precedence:"))) '(gnus-large-newsgroup 2000) '(gnus-select-method (quote (nntp "news.ngi.it"))) '(icomplete-mode t nil (icomplete)) @@ -77,40 +142,69 @@ '(nxml-child-indent 1) '(nxml-default-buffer-file-coding-system (quote utf-8)) '(nxml-slash-auto-complete-flag t) - '(package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/")))) + '(package-archives + (quote + (("gnu" . "http://elpa.gnu.org/packages/") + ("melpa" . "http://melpa.milkbox.net/packages/")))) '(pov-external-viewer-command "display") '(pov-help-file "povuser.txt") '(reftex-extra-bindings nil) '(reftex-label-alist (quote (AMSTeX))) - '(rst-adornment-faces-alist (quote ((1 . rst-level-1-face) (2 . rst-level-2-face) (3 . rst-level-3-face) (4 . rst-level-4-face) (5 . rst-level-5-face) (6 . rst-level-6-face) (t . font-lock-keyword-face) (nil . font-lock-keyword-face)))) + '(rst-adornment-faces-alist + (quote + ((1 . rst-level-1-face) + (2 . rst-level-2-face) + (3 . rst-level-3-face) + (4 . rst-level-4-face) + (5 . rst-level-5-face) + (6 . rst-level-6-face) + (t . font-lock-keyword-face) + (nil . font-lock-keyword-face)))) '(rst-directive-face (quote font-lock-constant-face)) '(rst-mode-lazy nil) '(ruby-deep-indent-paren nil) '(sendmail-coding-system nil t) '(server-kill-new-buffers t) '(server-raise-frame nil) - '(server-temp-file-regexp "^/home/dakkar/\\.claws-mail/tmp\\|/tmp/\\(Re\\|mutt\\)\\|/draft$") + '(server-temp-file-regexp + "^/home/dakkar/\\.claws-mail/tmp\\|/tmp/\\(Re\\|mutt\\)\\|/draft$") '(sgml-balanced-tag-edit t t) - '(sgml-catalog-files (quote ("catalog" "/usr/local/lib/sgml/catalog" "/home/dakkar/.emacs-lisp/catalog")) t) + '(sgml-catalog-files + (quote + ("catalog" "/usr/local/lib/sgml/catalog" "/home/dakkar/.emacs-lisp/catalog")) t) '(sgml-indent-data t t) '(sgml-indent-step 1 t) '(sgml-insert-end-tag-on-new-line t t) '(sgml-live-element-indicator t t) '(sgml-local-catalogs nil t) - '(sgml-markup-faces (quote ((start-tag . font-lock-builtin-face) (end-tag . font-lock-builtin-face) (comment . font-lock-comment-face) (pi . bold) (sgml . bold) (doctype . bold) (entity . italic) (shortref . bold))) t) + '(sgml-markup-faces + (quote + ((start-tag . font-lock-builtin-face) + (end-tag . font-lock-builtin-face) + (comment . font-lock-comment-face) + (pi . bold) + (sgml . bold) + (doctype . bold) + (entity . italic) + (shortref . bold))) t) '(sgml-name-8bit-mode nil) '(sgml-set-face t t) '(sgml-slash-distance nil) '(smiley-regexp-alist nil) '(speedbar-show-unknown-files nil) - '(speedbar-supported-extension-expressions (quote (".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".f\\(90\\|77\\|or\\)?" ".ada" ".pl" ".tcl" ".m" ".scm" ".pm" ".py" ".s?html" "Makefile\\(\\.in\\)?" ".x[ms]l"))) + '(speedbar-supported-extension-expressions + (quote + (".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".f\\(90\\|77\\|or\\)?" ".ada" ".pl" ".tcl" ".m" ".scm" ".pm" ".py" ".s?html" "Makefile\\(\\.in\\)?" ".x[ms]l"))) '(strokes-use-strokes-buffer nil) '(tex-default-mode (quote latex-mode)) '(tex-dvi-view-command "xdvi") '(tool-bar-mode nil nil (tool-bar)) '(tooltip-delay 1.5) '(tooltip-short-delay 0.2) - '(tramp-default-proxies-alist (quote ((tramp-local-host-regexp nil nil) (nil "\\`root\\'" "/ssh:%h:")))) + '(tramp-default-proxies-alist + (quote + ((tramp-local-host-regexp nil nil) + (nil "\\`root\\'" "/ssh:%h:")))) '(truncate-partial-width-windows nil) '(uniquify-buffer-name-style (quote forward) nil (uniquify)) '(url-be-asynchronous t) -- cgit v1.2.3