From bb57c3e606d844000ceb725a4f15f7d92a1d5b67 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 5 Jan 2025 17:34:34 +1100 Subject: [emacs][gdb] Infobox with gitlab * emacs/.emacs.d/init/ycp-org.el: Forgot to require 'my-org-remark * emacs/.emacs.d/lisp/my/infobox.el: A utility to display alist in a help buffer * emacs/.emacs.d/lisp/my/my-buffer.el: Add a function that fontify a string with a given mode * emacs/.emacs.d/lisp/my/my-gitlab.el: Example of using infobox, by displaying gitlab project info in a help buffer * emacs/.emacs.d/lisp/my/my-net.el: add a function that fetch a url raw * emacs/.emacs.d/lisp/my/my-prog.el: reduce timeout in gdb completion from 1 to .1 sec, but the code is commented out anyway because it does not work (see preceding comments) * misc/.gdbinit: enable debuginfod and reduce max-completions to 20 to reduce hanging caused by exhaustive search of completions --- emacs/.emacs.d/lisp/my/my-prog.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/.emacs.d/lisp/my/my-prog.el') diff --git a/emacs/.emacs.d/lisp/my/my-prog.el b/emacs/.emacs.d/lisp/my/my-prog.el index 396d919..a81d36d 100644 --- a/emacs/.emacs.d/lisp/my/my-prog.el +++ b/emacs/.emacs.d/lisp/my/my-prog.el @@ -419,7 +419,7 @@ overlay arrow in source buffer." ;; (gdb-input (concat "complete " context command) ;; (lambda () (setq gud-gdb-fetch-lines-in-progress nil))) ;; (while gud-gdb-fetch-lines-in-progress -;; (accept-process-output (get-buffer-process gud-comint-buffer) 1))) +;; (accept-process-output (get-buffer-process gud-comint-buffer) .1))) ;; (gud-gdb-completions-1 gud-gdb-fetched-lines))) ;;; which-func -- cgit v1.2.3