adding a convert to table from csv

This commit is contained in:
Chris Cochrun 2022-12-17 10:00:12 -06:00
parent 064e0d4881
commit 1f2721158c
3 changed files with 9 additions and 1 deletions

View file

@ -606,6 +606,10 @@ Let's start by creating a self contained function of what I'd like started on ev
(set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line) (set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line)
(set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch)) (set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch))
(defun chris/org-convert-csv-table (beg end)
(interactive (list (mark) (point)))
(org-table-convert-region beg end ","))
(defun chris/org-agenda-setup () (defun chris/org-agenda-setup ()
(interactive) (interactive)
(org-indent-mode +1) (org-indent-mode +1)

View file

@ -341,6 +341,10 @@
(set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line) (set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line)
(set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch)) (set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch))
(defun chris/org-convert-csv-table (beg end)
(interactive (list (mark) (point)))
(org-table-convert-region beg end ","))
(defun chris/org-agenda-setup () (defun chris/org-agenda-setup ()
(interactive) (interactive)
(org-indent-mode +1) (org-indent-mode +1)

View file

@ -1,4 +1,4 @@
;;; Automatically generated by recentf on Fri Dec 16 12:19:06 2022. ;;; Automatically generated by recentf on Fri Dec 16 21:05:02 2022.
(setq recentf-list 'nil) (setq recentf-list 'nil)