#EmacsTip: Want to remove the Nth element from a list? Just do (pop (nthcdr N LIST)).
#emacstip #emacs #emacslisp #lisp
#EmacsTip: Do you think you're too busy? Track your time with #OrgClock to get the real picture.
#emacstip #orgclock #emacs #orgmode #time #timetracking
#emacstip Reading the builtin manuals using `M-x info`! Got some spare time? Read a couple of interesting looking manual pages.
Navigation tips: `n` or `p` for next and previous nodes, `u` to go up one node. Press enter to follow a link. `l` to go back to where you where if followed a link or pressed a key you didn't intend. Finally, `?` to see a list of commands and general help information.
Some starting manuals to explore: the #emacs manual, Emacs Lisp Intro and Magit manuals.
#emacstip Use the interfactive function `base64-encode-region` to encode the current region in base64!
#EmacsTip: Many of us dislike the "yes or no" prompts, so we override "yes-or-no-p" with "y-or-n-p". But did you know that from Emacs 28.1 there's a customizable variable for that? Now you just need to set "use-short-answers" to "t". Or use the Custom interface.
#EmacsTip: Do you want your #Emacs to echo immediately the key you pressed? Put this in your #EmacsConfiguration:
(setq echo-keystrokes 1e-6)
(FYI Zero means never echo.)
#emacstip #emacs #EmacsConfiguration #emacsconfig #initel
#EmacsTip: I love the plain nature of #OrgMode. Recently I needed to embed a diagram in it. I don't want to lose the power of plain text, but drawing #ASCIIart is time wasting. I have a mouse laying around, so I wrote the following and did C-c ' on it:
#+begin_src artist
#+end_src
#emacstip #orgmode #asciiart #emacs #drawing #diagram #artistmode
#EmacsTip: Did you ever felt artistic and tried out #ArtistMode? It allows you to #draw things with your #mouse in your #Emacs.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Picture-Mode.html
#emacstip #artistmode #draw #mouse #emacs #drawing
#EmacsTip: Do you want #Flymake to show diagnostics as a floating #popup? Try #FlymakePopon!
https://codeberg.org/akib/emacs-flymake-popon
#Emacs #SyntaxChecker #Flymake #FlymakePopon #Popon #Posframe
#emacstip #flymake #popup #flymakepopon #emacs #syntaxchecker #popon #posframe
#EmacsTip: Patch definitions in #Emacs packages with #ElPatch!
#emacstip #emacs #elpatch #patch #functionpatch
#EmacsTip: Feeling bored? Try the #TypingOfEmacs game (from package "typing"). Install and M-x typing-of-emacs, it'll automatically get the word list from current buffer. Great way to increase your typing speed. New game for #NewYear!
#emacstip #typingofemacs #newyear #emacs #typing #touchtyping #game
#EmacsTip: Do you think your #Emacs startup time is too long? Before you try to optimize it, I would like say, try to not start Emacs at all! People live in #Emacs. They start #Emacs once and keep using it for days and months (perhaps someone's out there who's using for years?). If you don't live in #Emacs, use #emacsclient and avoid the startup time while you do the real work.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html
#emacstip #emacs #emacsclient #emacsserver
#EmacsTip: #Workroom provides multiple named "workrooms" (or workspaces). Every workroom has its own set of buffer. Workrooms can have multiple "views" (or window configurations). Integrates with #Project, #Desktop, #Winner and obviously with buffer selection UIs.
#emacstip #workroom #project #desktop #winner #emacs #workspace #perspective
#EmacsTip: Frustrated? Feeling bored? Wanna waste some time? There's M-x doctor for you.
#EmacsTip: Don't blame Emacs Lisp for your slow package. #EmacsLisp is probably faster than what you think it to be. First check what you wrote. (This is true of any #programming language.)
#emacstip #emacslisp #programming #emacs #elisp