From a62de9d26459910a41332c77576d2847b079156c Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Thu, 8 Dec 2022 14:57:06 +0100 Subject: [PATCH] add to my-help elisp commands and make link clickable opening help --- lisp/my/my.el | 69 +++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/lisp/my/my.el b/lisp/my/my.el index a8674ce7..dd98ba4d 100644 --- a/lisp/my/my.el +++ b/lisp/my/my.el @@ -37,59 +37,68 @@ *General Commands* /S: shift, C: control, M: alt or ⌘/ - [[save-buffer][Save]] ............... =[C-x]= =[C-s]= Help ..................... =[C-h]= - [[write-file][Save as]] ............ =[C-x]= =[C-w]= [[keyboard-quit][Cancel]] ................... =[C-g]= - [[find-file][Open file]] .......... =[C-x]= =[C-f]= [[undo][Undo]] ..................... =[C-/]= - [[counsel-recentf][Open recent]] ........ =[C-x]= =[C-r]= [[kill-buffer][Close buffer]] ......... =[C-x]= =[k]= - [[dired][Browse directory]] ..... =[C-x]= =[d]= [[counsel-switch-buffer][Switch buffer]] ........ =[C-x]= =[b]= - [[previous-buffer][Previous buffer]] ... =[C-x]= =[left]= [[next-buffer][Next buffer]] ...... =[C-x]= =[right]= - [[save-buffers-kill-terminal][Quit]] ............... =[C-x]= =[C-c]= + [[help:save-buffer][Save]] ............... =[C-x]= =[C-s]= Help ..................... =[C-h]= + [[help:write-file][Save as]] ............ =[C-x]= =[C-w]= [[help:keyboard-quit][Cancel]] ................... =[C-g]= + [[help:find-file][Open file]] .......... =[C-x]= =[C-f]= [[help:undo][Undo]] ..................... =[C-/]= + [[help:counsel-recentf][Open recent]] ........ =[C-x]= =[C-r]= [[help:kill-buffer][Close buffer]] ......... =[C-x]= =[k]= + [[help:dired][Browse directory]] ..... =[C-x]= =[d]= [[help:counsel-switch-buffer][Switch buffer]] ........ =[C-x]= =[b]= + [[help:previous-buffer][Previous buffer]] ... =[C-x]= =[left]= [[help:next-buffer][Next buffer]] ...... =[C-x]= =[right]= + [[help:save-buffers-kill-terminal][Quit]] ............... =[C-x]= =[C-c]= - [[swiper][Search]] ................... =[C-s]= [[goto-line][Go to line]] ......... =[M-g]= =[M-g]= + [[help:swiper][Search]] ................... =[C-s]= [[help:goto-line][Go to line]] ......... =[M-g]= =[M-g]= Replace .................. =[M-%]= Execute .................. =[M-x]= - [[begin-of-buffer][Begin of buffer]] .......... =[M-<]= [[end-of-buffer][End of buffer]] ............ =[M->]= - [[beginning-of-line][Begin of line]] ............ =[C-a]= [[end-of-line][End of line]] .............. =[C-e]= + [[help:begin-of-buffer][Begin of buffer]] .......... =[M-<]= [[help:end-of-buffer][End of buffer]] ............ =[M->]= + [[help:beginning-of-line][Begin of line]] ............ =[C-a]= [[help:end-of-line][End of line]] .............. =[C-e]= Mark ................... =[C-spc]= Copy from mark............ =[M-w]= Kill from mark............ =[C-w]= Kill from cursor.......... =[C-k]= - [[yank][Paste]] .................... =[C-y]= Paste older .............. =[M-y]= - [[mark-whole-buffer][Mark whole buffer]] .... =[C-x]= =[h]= + [[help:yank][Paste]] .................... =[C-y]= Paste older .............. =[M-y]= + [[help:mark-whole-buffer][Mark whole buffer]] .... =[C-x]= =[h]= /[[info:emacs#Key%2520Bindings][Other key bindings]]/ *Mouse* - Scroll right ......... =[mouse-6]= Scroll left .......... =[mouse-7]= - [[previous-buffer][Previous buffer]] ...... =[mouse-8]= [[next-buffer][Next buffer]] .......... =[mouse-9]= + Scroll right ......... =[mouse-6]= [[help:previous-buffer][Previous buffer]] ...... =[mouse-8]= + Scroll left .......... =[mouse-7]= [[help:next-buffer][Next buffer]] .......... =[mouse-9]= *Org* - [[org-toggle-pretty-entities][Pretty entities]] (\\xyz to UTF8 char) ................ =[C-c]= =[C-x]= =[\\]= - [[org-redisplay-images][Redisplay inline images]] ........................ =[C-c]= =[C-x]= =[C-M-v]= + [[help:org-toggle-pretty-entities][Pretty entities]] (\\xyz to UTF8 char) ................ =[C-c]= =[C-x]= =[\\]= + [[help:org-redisplay-images][Redisplay inline images]] ........................ =[C-c]= =[C-x]= =[C-M-v]= /TABLE/ - [[org-shiftleft][Move cell left]] ........ =[S-left]= [[org-shiftright][Move cell right]] ....... =[S-right]= - [[org-shiftup][Move cell up]] ............ =[S-up]= [[org-shiftdown][Move cell down]] ......... =[S-down]= - [[org-table-blank-field][Clear cell]] ............. =[space]= + [[help:org-shiftleft][Move cell left]] ........ =[S-left]= [[help:org-shiftup][Move cell up]] ............ =[S-up]= + [[help:org-shiftright][Move cell right]] ...... =[S-right]= [[help:org-shiftdown][Move cell down]] ........ =[S-down]= + [[help:org-table-blank-field][Clear cell]] ............. =[space]= - [[org-table-create-or-convert-from-region][Convert]] seperator (1. tab, 2. comma, 3. space) ........... =[C-c]= =[|]= - [[org-table-create-or-convert-from-region][Convert]] using comma separator ...................... =[C-u]= =[C-c]= =[|]= - [[org-table-create-or-convert-from-region][Convert]] using tab separator .................. =[C-u]= =[C-u]= =[C-c]= =[|]= - [[org-table-create-or-convert-from-region][Convert]] using N spaces separator ........... =[C-u]= =INTEGER= =[C-c]= =[|]= - [[org-table-create-or-convert-from-region][Convert]] using regex to match separator ....... =[C-u]= =REGEX= =[C-c]= =[|]= + [[help:org-table-create-or-convert-from-region][Convert]] seperator (1. tab, 2. comma, 3. space) ........... =[C-c]= =[|]= + [[help:org-table-create-or-convert-from-region][Convert]] using comma separator ...................... =[C-u]= =[C-c]= =[|]= + [[help:org-table-create-or-convert-from-region][Convert]] using tab separator .................. =[C-u]= =[C-u]= =[C-c]= =[|]= + [[help:org-table-create-or-convert-from-region][Convert]] using N spaces separator ........... =[C-u]= =INTEGER= =[C-c]= =[|]= + [[help:org-table-create-or-convert-from-region][Convert]] using regex to match separator ....... =[C-u]= =REGEX= =[C-c]= =[|]= /SRC/ - [[org-babel-tangle][write src block to file]] (=:tangle filename=) ......... =[C-c]= =[C-v]= =[t]= + [[help:org-babel-tangle][write src block to file]] (=:tangle filename=) ......... =[C-c]= =[C-v]= =[t]= - For *Gnuplot* source blocks: Do not use =%= but =\\%= or in a format - command =\\%%= - - =%= starts a comment in LaTeX and therefore stops further - interpretations like a closing bracket =}= etc. + /SRC figures generating tex output, e.g. gnuplot/ + Do not use =%= but =\\%= or in a format command =\\%%= + - =%= starts a comment in LaTeX and therefore stops further interpre- + tations like a closing bracket =}= etc. - Gnuplot graphics are imported as .tex (text, axis, legend) and .eps (figure) files. - =\\%= and =\\%%= can also be used for HTML SVG export - [[elisp:(my-org-article-help)][Article]] help + /Export/ /Export LaTeX/ + [[elisp:(my-org-article-help)][Article]] help [[help:org-latex-remove-logfiles][Logfiles are removed]]. Deactivate + for debugging. + +*Elisp* + + [[help:eval-expression][Evaluate expression]] ...... =[M-:]= [[help:forward-sexp][Jump to next expression]] =[C-M-f]= + - [[help:eval-last-sexp][last to echo]] ..... =[C-x]= =[C-e]= [[help:backward-sexp][Jump tp prev. expression]] =[C-M-b]= + - [[help:eval-print-last-sexp][last to buffer]] [[help:kill-sexp][Cut expression]] ......... =[C-M-k]= + [[help:mark-sexp][Mark expression]] ........ =[C-M-@]= [[help:backward-kill-sexp][Cut last expression]] . =[C-M-back]= ") (my-org-help-mode)