Akib Azmain Turja · @akib
152 followers · 1318 posts · Server hostux.social

: Want to remove the Nth element from a list? Just do (pop (nthcdr N LIST)).

#emacstip #emacs #emacslisp #lisp

Last updated 2 years ago

Akib Azmain Turja · @akib
143 followers · 1279 posts · Server hostux.social

: Do you think you're too busy? Track your time with to get the real picture.

orgmode.org/manual/Clocking-Wo

#emacstip #orgclock #emacs #orgmode #time #timetracking

Last updated 2 years ago

· @michael
40 followers · 59 posts · Server mastodon.sinax.be

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 manual, Emacs Lisp Intro and Magit manuals.

#emacstip #emacs

Last updated 2 years ago

· @michael
40 followers · 57 posts · Server mastodon.sinax.be

Use the interfactive function `base64-encode-region` to encode the current region in base64!

#emacstip

Last updated 2 years ago

Akib Azmain Turja · @akib
141 followers · 1244 posts · Server hostux.social

: Is mode line so long that it gets truncated? Try customizing "mode-line-compact" to "long".

gnu.org/software/emacs/manual/

#emacstip #emacs #modeline #ui

Last updated 2 years ago

Akib Azmain Turja · @akib
141 followers · 1244 posts · Server hostux.social

: 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 #emacs

Last updated 2 years ago

Akib Azmain Turja · @akib
139 followers · 1225 posts · Server hostux.social

: Do you want your to echo immediately the key you pressed? Put this in your :

(setq echo-keystrokes 1e-6)

(FYI Zero means never echo.)

#emacstip #emacs #EmacsConfiguration #emacsconfig #initel

Last updated 2 years ago

Akib Azmain Turja · @akib
139 followers · 1222 posts · Server hostux.social

: I love the plain nature of . Recently I needed to embed a diagram in it. I don't want to lose the power of plain text, but drawing 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

Last updated 2 years ago

Akib Azmain Turja · @akib
137 followers · 1218 posts · Server hostux.social
Akib Azmain Turja · @akib
137 followers · 1204 posts · Server hostux.social

: Do use with nnmaildir? Surely it works, but you might be interested in for making your Gnus faster.

#emacstip #gnus #dovecot #imap #emacs #mail

Last updated 2 years ago

Akib Azmain Turja · @akib
137 followers · 1197 posts · Server hostux.social
Akib Azmain Turja · @akib
137 followers · 1188 posts · Server hostux.social
Akib Azmain Turja · @akib
134 followers · 1179 posts · Server hostux.social

: Feeling bored? Try the 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 !

emacswiki.org/emacs/TypingOfEm

#emacstip #typingofemacs #newyear #emacs #typing #touchtyping #game

Last updated 2 years ago

Akib Azmain Turja · @akib
131 followers · 1142 posts · Server hostux.social

: Do you think your 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 . They start 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 , use and avoid the startup time while you do the real work.

gnu.org/software/emacs/manual/

#emacstip #emacs #emacsclient #emacsserver

Last updated 2 years ago

Akib Azmain Turja · @akib
126 followers · 1115 posts · Server hostux.social

: Does your take much time to start? Garbage collector is often (at least partly) responsible for long startup time. You might want to increase 'gc-cons-threshold' temporarily.

#emacstip #emacs #initel #emacsstartup #emacsgc

Last updated 2 years ago

Akib Azmain Turja · @akib
126 followers · 1095 posts · Server hostux.social

: Do use (NOT part of the project)? Use the gnuplot package for a nice gnuplot shell in your with completion enabled.

github.com/emacs-gnuplot/gnupl

#emacstip #gnuplot #gnu #emacs #graph #plotting

Last updated 2 years ago

Akib Azmain Turja · @akib
124 followers · 1077 posts · Server hostux.social
Akib Azmain Turja · @akib
122 followers · 1056 posts · Server hostux.social

: provides multiple named "workrooms" (or workspaces). Every workroom has its own set of buffer. Workrooms can have multiple "views" (or window configurations). Integrates with , , and obviously with buffer selection UIs.

codeberg.org/akib/emacs-workro

#emacstip #workroom #project #desktop #winner #emacs #workspace #perspective

Last updated 2 years ago

Akib Azmain Turja · @akib
119 followers · 1030 posts · Server hostux.social

: Frustrated? Feeling bored? Wanna waste some time? There's M-x doctor for you.

#emacstip

Last updated 2 years ago

Akib Azmain Turja · @akib
117 followers · 1010 posts · Server hostux.social

: Don't blame Emacs Lisp for your slow package. is probably faster than what you think it to be. First check what you wrote. (This is true of any language.)

akib.codeberg.page/blog/emacs-

#emacstip #emacslisp #programming #emacs #elisp

Last updated 2 years ago