Skip to content

Instantly share code, notes, and snippets.

View jthaman's full-sized avatar

John T Haman jthaman

  • Washington DC
View GitHub Profile
@jthaman
jthaman / consult-ripgrep-all.el
Last active April 10, 2024 01:09
Call ripgrep-all in emacs with consult
;; Note: put `rga' in your PATH. -*- lexical-binding: t; -*-
(require 'consult)
(defcustom consult-ripgrep-all-args
"rga --null --line-buffered --color=never --max-columns=1000 --path-separator /\ --smart-case --no-heading --with-filename --line-number"
"Command line arguments for ripgrep, see `consult-ripgrep-all'.
The dynamically computed arguments are appended.
Can be either a string, or a list of strings or expressions."
:type '(choice string (repeat (choice string expression))))
This file has been truncated, but you can view the full file.
======================================================================
1 -> (ess-set-width)
1 <- ess-set-width: nil
======================================================================
1 -> (ess--get-mode-line-indicator)
1 <- ess--get-mode-line-indicator: ("" "R" (:eval (let ((proc (get-process ess-local-process-name))) (if (and proc (process-get proc 'dbg-active)) (let ((str ess-debug-indicator)) (ess-debug-minor-mode 1) (put-text-property 1 (length str) 'face '(:foreground "white" :background "red") str) str) (ess-debug-minor-mode -1) #1=""))) (:eval (or (and (ess-process-live-p) (ess-process-get 'on-error-action)) #1#)))
======================================================================
1 -> (ess-debug-minor-mode -1)
1 <- ess-debug-minor-mode: nil
======================================================================
@jthaman
jthaman / gist:c800d0554ba50ca44dfa8f782576ee63
Created January 31, 2021 15:29
Current buffer has no process, ESS dribble
(R): ess-dialect=R, buf=JTH/v3_data_read.R, start-arg=nil
current-prefix-arg=nil
(inferior-ess: waiting for process to start (before hook)
NORMAL-FILTER:
--> busy:t busy-end:nil sec-prompt:nil interruptable:nil <--
--> running-async:nil callback:nil suppress-next-output:nil <--
--> dbg-active:nil is-recover:nil <--
--> string:
data:text/html, <body contenteditable style="font: 2rem/1.5 monospace;max-width:60rem;margin:0 auto;padding:4rem;">