From: Mark Wooding Date: Sun, 20 May 2018 19:22:16 +0000 (+0100) Subject: Merge remote-tracking branch 'staging' X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/caf1fc6497bf52e22e4a43d0b172d73e8c5a205d?hp=6690f2cc3b29bab6a01f4e9a77306b659418b05e Merge remote-tracking branch 'staging' * staging: dot/gitconfig.in: Don't have `git send-email' try to do threading. dot/gitconfig.in: Abolish the `git email' alias. dot/gitconfig.in: Remove output filename; force full indices. git/gitignore: Ignore toplevel `p/' and `p.*/' directories. git/gitignore: Only ignore `build' etc. if they're toplevel directories. git/gitignore: Deprecate `deb-build/' and `build-*/' directories. dot/gitconfig.in: Configure `format-patch' to do sensible things. --- diff --git a/dot/zshrc b/dot/zshrc index a42e482..f6b205a 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -137,6 +137,7 @@ unsetopt bash_auto_list unsetopt beep setopt extendedglob unsetopt flow_control +unsetopt global_export setopt glob_star_short setopt hist_ignore_all_dups setopt hist_ignore_space diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 24d076d..001fa29 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -1012,6 +1012,9 @@ (defun mdw-w3m-browse-url (url &optional new-session-p) (w3m-browse-url url new-session-p)) (select-window window))))) +(eval-after-load 'w3m + '(define-key w3m-mode-map [?\e ?\r] 'w3m-view-this-url-new-session)) + (defvar mdw-good-url-browsers '(browse-url-chromium browse-url-mozilla @@ -4006,7 +4009,7 @@ (defun ssh (host) (ansi-term (list "ssh" host) (format "ssh@%s" host))) (defvar git-grep-command - "env PAGER=cat git grep --no-color -nH -e " + "env GIT_PAGER=cat git grep --no-color -nH -e " "*The default command for \\[git-grep].") (defvar git-grep-history nil) @@ -4016,7 +4019,8 @@ (defun git-grep (command-args) (interactive (list (read-shell-command "Run git grep (like this): " git-grep-command 'git-grep-history))) - (grep command-args)) + (let ((grep-use-null-device nil)) + (grep command-args))) ;;;-------------------------------------------------------------------------- ;;; Magit configuration.