Skip to content

Commit

Permalink
aimless eldoc tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyrg committed Nov 7, 2024
1 parent df1746c commit 8baed7d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ Raw: [rgr/org](etc/elisp/rgr-org.el)

3. org agenda files

See `org-agenda-files` [org-agenda-files](#org4244b82)
See `org-agenda-files` [org-agenda-files](#org3e9a7d8)
maintain a file pointing to agenda sources : NOTE, NOT tangled. ((no-littering-expand-etc-file-name "org/agenda-files.txt"))

~/.emacs.d/var/org/orgfiles
Expand Down Expand Up @@ -1913,12 +1913,15 @@ Raw: [rgr/programming](etc/elisp/rgr-programming.el)
(use-package eldoc
:demand t
:custom
(eldoc-idle-delay 5)
;;(eldoc-echo-area-prefer-doc-buffer t)
;;(eldoc-echo-area-use-multiline-p nil)
:config
(eldoc-idle-delay 1)
(eldoc-echo-area-prefer-doc-buffer t)
(eldoc-echo-area-use-multiline-p nil)
:init
(global-eldoc-mode)
(use-package eldoc-box
:demand t
:hook
(eglot-managed-mode . eldoc-box-hover-at-point-mode)
:bind
("C-." . eldoc-box-help-at-point)))

Expand All @@ -1942,7 +1945,6 @@ Raw: [rgr/programming](etc/elisp/rgr-programming.el)
4. JSON

(use-package json-mode)
(use-package jsonrpc)

5. Treemacs

Expand Down Expand Up @@ -2324,8 +2326,6 @@ Raw: [rgr/programming](etc/elisp/rgr-programming.el)
(add-hook 'after-save-hook 'eglot-format-buffer)
:custom
(eglot--mode-line-format nil)
:hook
(eglot-managed-mode . eldoc-box-hover-mode)
:bind
(:map eglot-mode-map
("<C-return>" . eglot-code-actions)))
Expand Down Expand Up @@ -2881,7 +2881,7 @@ to add to version control.

### [php.ini](editor-config/php.ini) changes e.g /etc/php/7.3/php.ini

`xdebug.file_link_format` is used by compliant apps to format a protocol uri. This is handled on my Linux system as a result of [emacsclient.desktop](#org4200dc5) documented below.
`xdebug.file_link_format` is used by compliant apps to format a protocol uri. This is handled on my Linux system as a result of [emacsclient.desktop](#org320096e) documented below.

xdebug.file_link_format = "emacsclient://%f@%l"

Expand Down Expand Up @@ -2914,7 +2914,7 @@ to add to version control.
fi


<a id="org4200dc5"></a>
<a id="org320096e"></a>

### Gnome protocol handler desktop file

Expand Down
14 changes: 7 additions & 7 deletions emacs-config.org
Original file line number Diff line number Diff line change
Expand Up @@ -2132,12 +2132,15 @@ Raw: [[file+sys:etc/elisp/rgr-programming.el][rgr/programming]]
(use-package eldoc
:demand t
:custom
(eldoc-idle-delay 5)
;;(eldoc-echo-area-prefer-doc-buffer t)
;;(eldoc-echo-area-use-multiline-p nil)
:config
(eldoc-idle-delay 1)
(eldoc-echo-area-prefer-doc-buffer t)
(eldoc-echo-area-use-multiline-p nil)
:init
(global-eldoc-mode)
(use-package eldoc-box
:demand t
:hook
(eglot-managed-mode . eldoc-box-hover-at-point-mode)
:bind
("C-." . eldoc-box-help-at-point)))
#+end_src
Expand All @@ -2162,7 +2165,6 @@ Raw: [[file+sys:etc/elisp/rgr-programming.el][rgr/programming]]
**** JSON
#+begin_src emacs-lisp
(use-package json-mode)
(use-package jsonrpc)
#+end_src
**** Treemacs
:PROPERTIES:
Expand Down Expand Up @@ -2574,8 +2576,6 @@ https://github.com/joaotavora/eglot
(add-hook 'after-save-hook 'eglot-format-buffer)
:custom
(eglot--mode-line-format nil)
:hook
(eglot-managed-mode . eldoc-box-hover-mode)
:bind
(:map eglot-mode-map
("<C-return>" . eglot-code-actions)))
Expand Down
2 changes: 0 additions & 2 deletions etc/elisp/rgr-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
(add-hook 'after-save-hook 'eglot-format-buffer)
:custom
(eglot--mode-line-format nil)
:hook
(eglot-managed-mode . eldoc-box-hover-mode)
:bind
(:map eglot-mode-map
("<C-return>" . eglot-code-actions)))
Expand Down
12 changes: 7 additions & 5 deletions etc/elisp/rgr-programming.el
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
(use-package eldoc
:demand t
:custom
(eldoc-idle-delay 5)
;;(eldoc-echo-area-prefer-doc-buffer t)
;;(eldoc-echo-area-use-multiline-p nil)
:config
(eldoc-idle-delay 1)
(eldoc-echo-area-prefer-doc-buffer t)
(eldoc-echo-area-use-multiline-p nil)
:init
(global-eldoc-mode)
(use-package eldoc-box
:demand t
:hook
(eglot-managed-mode . eldoc-box-hover-at-point-mode)
:bind
("C-." . eldoc-box-help-at-point)))

Expand All @@ -24,7 +27,6 @@
(prog-mode . indent-bars-mode))

(use-package json-mode)
(use-package jsonrpc)

(use-package
treemacs
Expand Down
Binary file modified var/secrets/bmkp/current-bookmark.el
Binary file not shown.

0 comments on commit 8baed7d

Please sign in to comment.