Skip to content

Commit

Permalink
doc: add articles to read and modes to check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Mar 26, 2024
1 parent 0277ecb commit ff3f9f7
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/interesting_modes.org
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,19 @@ them properly.
- [[https://github.com/alphapapa/activities.el][activities.el]]: "Inspired by Genera’s and KDE’s concepts of “activities”, this
Emacs library allows the user to manage frames/tabs, windows, and buffers
according to their purpose. "
- [[https://github.com/fritzgrabo/project-tab-groups][project-tab-groups]]: "Provides a global minor mode that enhances the Emacs
built-in project.el library to support keeping projects isolated in named tab
groups."
- [[https://github.com/casouri/vundo][vundo]]: "Vundo (visual undo) displays the undo history as a tree and lets you
move in the tree to go back to previous buffer states. To use vundo, type M-x
vundo RET in the buffer you want to undo. A"
- [[https://github.com/hlissner/emacs-solaire-mode][emacs-solaire-mode]]: "solaire-mode is an aesthetic plugin designed to visually
distinguish "real" buffers (i.e. file-visiting code buffers where you do most
of your work) from "unreal" buffers (like popups, sidebars, log buffers,
terminals, etc) by giving the latter a slightly different -- often darker --
background:"
- [[https://codeberg.org/akib/emacs-flymake-popon][emacs-flymake-popon]]: "Flymake diagnostics on cursor hover"
- [[https://www.emacswiki.org/emacs/VolatileHighlights][VolatileHighlights]]: "VolatileHighlights highlights changes to the buffer
caused by commands such as ‘undo’, ‘yank’/’yank-pop’, etc. The highlight
disappears at the next command. The highlighting gives useful visual feedback
for what your operation actually changed in the buffer."
39 changes: 39 additions & 0 deletions doc/notes_and_comments.org
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Problems:
- [[https://github.com/angrybacon/dotemacs/tree/master][dotemacs by angrybacon]]
- [[https://github.com/daviwil/emacs-from-scratch/tree/master][Emacs From Scratch]]: "This is an example of a fully custom Emacs configuration
that you can use as inspiration when building your own!"
- [[https://github.com/danieljamesross/emacs.d][emacs.d]]: danieljamesross's emacs.d

* Articles to read
:properties:
Expand All @@ -62,6 +63,44 @@ Problems:
- [[https://joaotavora.github.io/yasnippet/snippet-development.html#org6796ab7][YAS - Writing snippets]]
- [[https://ismailefe.org/blog/emacs_functions/][My Must Emacs Functions]]
- [[https://arialdomartini.github.io/emacs-surround][Emacs: Let's surround!]]
- [[http://yummymelon.com/devnull/improving-emacs-isearch-usability-with-transient.html][Improving Emacs isearch Usability with Transient]]
- [[https://sachachua.com/dotemacs/index.html#mastodon-org-contacts-complete][mastodon-org-contacts-complete]]. See also:
- [[https://stackoverflow.com/questions/67824561/completion-at-point-function-that-returns-the-cdr][completion-at-point function that returns the cdr]]
- [[https://github.com/moesenle/rosemacs-debs/blob/master/rosemacs.el][rosemacs.el]]
- [[https://tsdh.org/posts/2021-06-21-using-eldoc-with-magit.html][Using Eldoc with Magit]]
- [[https://blog.costan.ro/post/2022-02-22-emacs-completion-system/][Completion system]]
- [[https://utcc.utoronto.ca/~cks/space/blog/programming/EmacsUnderstandingCompletion][My understanding of various sorts of completion in GNU Emacs]]
- [[https://www.emacswiki.org/emacs/sql-complete.el][sql-complete.el]]
- [[https://emacsredux.com/blog/2014/12/05/converting-between-symbols-and-strings/][Converting Between Symbols and Strings]]
- [[https://stackoverflow.com/questions/11272632/how-to-create-a-column-view-in-emacs-lisp][How to create a column view in Emacs Lisp?]]
- [[https://github.com/emacsorphanage/mongo/blob/master/mongo.el][mongo.el]]

#+begin_src emacs-lisp
(define-derived-mode mymode tabulated-list-mode "mymode" "Major mode My Mode, just a test"
(setq tabulated-list-format [("Col1" 18 t)
("Col2" 12 nil)
("Col3" 10 t)
("Col4" 0 nil)])
(setq tabulated-list-padding 2)
(setq tabulated-list-sort-key (cons "Col3" nil))
(tabulated-list-init-header))

(defun print-current-line-id ()
(interactive)
(message (concat "current line ID is: " (tabulated-list-get-id))))

(defun my-listing-command ()
(interactive)
(pop-to-buffer "*MY MODE*" nil)
(mymode)
(setq tabulated-list-entries (list
(list "1" ["1" "2" "3" "4"])
(list "2" ["a" "b" "c" "d"])))
(tabulated-list-print t))
#+end_src

- [[https://www.reddit.com/r/emacs/comments/1ems7u/never_switch_to_compilation_buffer/][Never switch to compilation buffer]]
- [[https://www.reddit.com/r/emacs/comments/d0dexw/compilation_buffer_in_background/][Compilation buffer in background]]

* References
:properties:
Expand Down

0 comments on commit ff3f9f7

Please sign in to comment.