pkg update and first config fix

org-brain not working, add org-roam
This commit is contained in:
2022-12-19 23:02:34 +01:00
parent 02b3e07185
commit 82f05baffe
885 changed files with 356098 additions and 36993 deletions

View File

@@ -94,7 +94,7 @@ Otherwise go as far as possible and return -1."
(defun ess-skip-thing (thing)
"Leave point at the end of THING.
THING can be 'function, 'paragraph, or 'line."
THING can be \\='function, \\='paragraph, or \\='line."
(cond
((eql thing 'line) (goto-char (line-end-position)))
((eql thing 'paragraph) (forward-paragraph))
@@ -163,7 +163,7 @@ This function will work even if LIST is unsorted. See also `delete-dups'."
'flatten-tree
(lambda (list)
"Take the arguments and flatten them into one long LIST.
Drops 'nil' entries."
Drops `nil' entries."
;; Taken from lpr.el
;; `lpr-flatten-list' is defined here (copied from "message.el" and
;; enhanced to handle dotted pairs as well) until we can get some
@@ -266,6 +266,19 @@ process to avoid excessive requests."
(process-put *proc* ',time-var (current-time))
out)))))
(defmacro with-ess-process-buffer (no-error &rest body)
"Execute BODY in the process buffer of `ess-current-process-name'.
If NO-ERROR is t don't trigger error when there is not current
process. Symbol *proc* is bound to the current process during the
evaluation of BODY."
(declare (indent 1) (debug t))
`(let ((*proc* (and ess-local-process-name (get-process ess-local-process-name))))
(if *proc*
(with-current-buffer (process-buffer *proc*)
,@body)
(unless ,no-error
(error "No current ESS process")))))
;;*;; Emacs Integration
@@ -390,7 +403,8 @@ calling `untrace-function' on these functions."
#'untrace-function
#'trace-function))))
(dolist (fn fns)
(funcall do (intern fn)))))
(when (symbol-function (intern fn))
(funcall do (intern fn))))))
;;*;; External modes
@@ -491,7 +505,7 @@ FUN is the function to return data for eldoc."
(setq-local eldoc-documentation-function #'eldoc-documentation-default)))))
(defmacro ess--execute-electric-command (map &optional prompt wait exit-form &rest args)
"Execute single-key commands defined in MAP till a key is pressed which is not part of map.
"Execute keys defined in MAP till a key is pressed which is not in MAP.
Single-key input commands are those that once executed do not
require the prefix command for subsequent invocation. Return the
value of the lastly executed command. PROMPT is passed to
@@ -574,7 +588,7 @@ With double prefix ARG (\\[universal-argument]
If the current language defines `ess-build-tags-command' use it
and ask the subprocess to build the tags. Otherwise use imenu
regexp and call find .. | etags .. in a shell command. You must
have 'find' and 'etags' programs installed.
have `find' and `etags' programs installed.
Use M-. to navigate to a tag. \\[visit-tags-table] to
append/replace the currently used tag table.