From 5718852d4280b06e4306b9e8caccd3ff6dc85caa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 5 Feb 2023 14:05:23 -0800 Subject: ref(aspell): don't maintain the dictionary in the repo Dictionaries are machine specific, no point in managing them through git. Change-Id: Ie72ad746e124b73e42135ede82a5ae6d7e45de2e --- README.org | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index ee1ffae..d81eded 100644 --- a/README.org +++ b/README.org @@ -2,33 +2,6 @@ #+AUTHOR: Franck Cuny #+EMAIL: franck@fcuny.net -* Goals -- keep it simple -- do within Emacs only what makes sense -* Emacs -** go -*** compile -You can compile a go binary using =M-x compile= inside a go buffer. -*** debugging -We need to install =dlv= first: -#+begin_src sh -go install github.com/go-delve/delve/cmd/dlv@latest -#+end_src +This configuration works for both macos and linux. -For =dap-mode= you also need to install =nodejs=. On arch you do this with -#+begin_src sh -sudo pacman -Syu nodejs -#+end_src - -Then from emacs =M-x dap-go-set= to install the dependencies. - -It's unclear as to why =node= is still in the picture since it looks like =dlv= seems to support =dap= directly (see [[https://github.com/go-delve/delve/issues/1515][delve/issues/1515]]). - -To debug a program, you can set breakpoints where you need with =M-x dap-breakpoint-add=. To start the debugger hit =M-x dap-debug=. - -If the program you debug needs argument, call =M-x dap-debug-edit-template=. Add the argument(s) you need to the program and evaluate the buffer (=C-c C-e=). Next time you call the debugger, the argument(s) will be passed to the program. You can also set environment variables if you need. - -The binding =C-c d= will bring an hydra menu for debugging. - -The REPL is not brought on by default when starting a debugging session, but =M-x dap-ui-repl= will start a REPL (the position is controlled by the variable =dap-ui-buffer-configurations=). -** git +To install the configuration, run ~make~. -- cgit 1.4.1