Works with #gnuplot, too, of course:
/*
#+BEGIN_SRC gnuplot :file myfunc2.png :results graphics
plot sin(x)
#+END_SRC
*/
Works with #gnuplot, too, of course:
/*
#+BEGIN_SRC gnuplot :file myfunc2.png :results graphics
plot sin(x)
#+END_SRC
*/
This cool trick (some would call it "dirty hack" ) by @plantarum can be used for #dot/#graphviz, as well:
(defun my-babel-execute-maybe ()
(interactive)
(org-mode)
(org-babel-execute-maybe)
(org-display-inline-images)
(normal-mode))
E.g. imagine this comment or doc string:
/*
#+BEGIN_SRC dot :file myfunction.svg :cmdline -Kdot -Tsvg
digraph {
a -> b;
}
#+END_SRC
*/
Thanks! I wasn't aware of normal-mode!
(defun my-latex-preview (&optional ARG)
(interactive "P")
(org-mode)
(org-latex-preview ARG)
(normal-mode))
#hackThePlanet
#lispyGopherClimate #interview with 500 hats of @lambdacalculus
Their kofi: https://ko-fi.com/lambdacalculus
https://communitymedia.video/w/iEzEkc2SPuL5twaSnTEEq5 #archive
of #DOOM #redstaros #piratebox fame
Previewing their
#phreakNIC #technology #hacker
#HOPE #HOPE_16
talks!
Also #oldComputerChallenge happening RIGHT NOW https://screwlisp.small-web.org/occ/25/jul15.txt (I'm doing #xemacs emacs)
LambdaCalculus knows #emacs #lisp ...! And that's where it began then #commonLisp #CCL on the #macintosh
Works for me in #JavaScript, #Python, and #Rust buffers, but not in #C, where I get:
rx--translate-bounded-repetition: rx ‘**’ range error
This works for me, though:
(defun my-latex-preview (&optional ARG)
(interactive "P")
(let ((the-mode major-mode))
(org-mode)
(org-latex-preview ARG)
(funcall the-mode)))
Marcin Borkowski: Interacting with an unreliable process https://mbork.pl/2025-07-14_Interacting_with_an_unreliable_process #emacs
Emacs org-mode includes the function `org-latex-preview`, which provides image overlays for LaTeX formulas in the buffer. As it turns out, it mostly works in non-org-mode buffers. It does throw warnings. I have suppressed them with this little wrapper:
```
(defun tws-latex-preview (&optional ARG)
(interactive "P")
(let ((warning-minimum-level ':error))
(org-latex-preview ARG)))
```
Not rigorously tested, but seems to work for making pretty comments in my source code.
The stream for #Emacs reader was wonderful where we chatted, fixed a major bug and did some performance comparison. Thanks to those who attended. Here's the 4h28m long recording:
#emacs #fjEl #forgejo #codeberg
fj.el release 0.16
- bind r to add reaction to item at point
- ensure sane default for sorting of issues/repos where possible
- overhaul rendering of item body HTML (for performance reasons)
- defcustom fj-timeline-default-items (for performance reasons)
- respect verbatim/code formatting in item titles and and timeline messages
- bind > to load more items in item timeline view
- include compose buffers in switch to fj buffer / kill all fj buffers
- fix a bunch of (contextually) broken commands
- i also worked on an api layer, but got sidetracked with jag.el, which attempts to do api client library code generation based on Swagger/OpenAPI (WIP)
Holler if you run into any issues upon updating.
if you appreciate my work on fj.el, consider donating:
https://paypal.me/martianh. (even a small amount is appreciated.)
& thanks a lot to the recent donors!
released 2.0.2
(mainly a fix stuff release)
- fix a bunch of tests
- add cmd to view instance's Nodeinfo (what software it runs)
- make usernames etc. safe from random unicode hack ups (rtl override)
- fix some native-compile issues
- fix handling of snac tags
- migrated profiles: display link to new profile on old
- fix display of baseline tags
Holler if you run into any issues upon updating.
if you appreciate my work on mastodon.el, consider donating:
https://paypal.me/martianh. (even a small amount is appreciated.)
& thanks a lot to the recent donators!
Join Protesilaos Stavrou for 'Prot Asks' public video calls about Emacs and life in general. He calls for volunteers to do public interviews.
https://protesilaos.com/codelog/2025-07-10-prot-asks-chats-videos-proposal/
The first interview is live: https://protesilaos.com/codelog/2025-07-12-prot-asks-carlos-emacs-engineering-life-spain/
Apparently evil-mode and visual-line-mode can work together! You just have to (setq evil-respect-visual-line-mode t) before evil is loaded!
For years, I've wanted this in org-mode! I just assumed that it was a bug that evil-mode could not work with visual line mode! Please tell me I'm not the only person who didn't know this! What else do I not know about Emacs? What's your best Emacs tip? #emacs #spacemacs
In #mastodonEl, a great Mastodon client for #Emacs, I was putting point on content warnings and read more folds to press RET, like a chump! This is specially "difficult" because they don't start in the first column. But there are commands mastodon-tl-toggle-spoiler-text-in-toot (bound to c) and mastodon-tl-fold-post-toggle (bound to !) which work with point anywhere in a toot!
"you should get a faster laptop to make music"
no. you should get a slower laptop
#programming #systemsProgramming #software #commonLisp #sitcalc #emacs #eepitch
https://screwlisp.small-web.org/complex/my-eepitch-send-actions-and-the-situation-calculus/
I relate #Sandewall's call for situation calculus actions and the shared environment / database to be moved into the kernel viz my #literateProgramming emacs useage.
People always said emacs /was/ the operatingsystem, didn't they.
Particularly, computer programs various send requests for actions to the emacs server where they are also seen playing out at they actually happen in real time.
An update to @sacha 's gnus local imap pipeline config, due to dovecot 2.3 -> 2.4 breaking changes:
1. Note mail_location option split up. Specify all options like this:
(nnimap-shell-program "/usr/libexec/dovecot/imap -o mail_driver=maildir -o mail_path=$HOME/Maildir -o mail_inbox_path=$HOME/Maildir/INBOX -o mailbox_list_layout=fs")
Alternatively, put everything into system config.
2. System config must have these two lines:
dovecot_config_version = 2.4.1
dovecot_storage_version = 2.4.1
3. Official migration guides:
<https://doc.dovecot.org/2.4.1/installation/upgrade/2.3-to-2.4.html>
<https://doc.dovecot.org/2.4.1/installation/upgrade/2.4-to-2.4.x.html>
P.S.
Offtopic. Helpful resource on the upgrade: <https://willem.com/blog/2025-06-04_breaking-changes/>
Sample configs: <https://source.willem.com/dovecot-2.4-sample-config/>
mastodon.el users who are running it against mastodon.social: Do you ever get slow replies or timeouts or images not loading? I've been seeing a bunch of those lately even when normal webui access works. I wonder if it might be some kind of rate limiting issue? Currently it's speedy but yesterday it was struggling quite a bit.
Next time it happens I will try to enable url-debug to see if I can see anything in that. Other debugging ideas are welcome too!
(Posting this from a different instance that I use for my #emacs related toots)