dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit aced3d5dfabb160a7d84c24970abd802ab9df959
parent a4dc60422a4114cd143afdd66f7b201991a8a836
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Sat, 28 Mar 2026 22:38:21 -0300

Simple httpd.

Diffstat:
Memacs/config.org | 22+++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -58,10 +58,11 @@ All the icons. I like icons. Don't you like icons? (use-package all-the-icons) #+END_SRC -Make some reading modes use variable text. +Make some reading modes use variable text. Help mode variable pitch is only enabled in actual help buffers, because various modes use the help mode and they usually don't look good with variable pitch. #+BEGIN_SRC emacs-lisp (add-hook 'help-mode-hook #'variable-pitch-mode) +(add-hook 'package-menu-mode-hook #'variable-pitch-mode) (add-hook 'Man-mode-hook #'variable-pitch-mode) #+END_SRC @@ -318,16 +319,20 @@ Fixes org mode. #+END_SRC *** Xrefs -So the editor is a little less dumb. +So the editor is a little less dumb. Remove tags from completion-at-point because they need the project directory defined. #+BEGIN_SRC emacs-lisp (setq-default tags-revert-without-query 1) (with-eval-after-load 'etags (add-hook 'prog-mode-hook - (lambda () - (etags-regen-mode t) - (xref-etags-mode t)))) + (lambda () + (etags-regen-mode t) + (xref-etags-mode t) + (setq-local completion-at-point-functions + (remove + #'tags-completion-at-point-function + completion-at-point-functions))))) (global-set-key (kbd "C-c 2") #'xref-find-references-and-replace) #+END_SRC @@ -460,6 +465,13 @@ Vterm is the best VT220/xterm/ECMA-48 terminal emulator for Emacs. :hook (vterm-mode . (lambda () (setq show-trailing-whitespace nil)))) #+END_SRC +*** HTTPD +Sometimes we need a simple web server. + +#+BEGIN_SRC emacs-lisp +(use-package simple-httpd) +#+END_SRC + *** Miscelaneous Lice to add licenses.