masto.es es uno de los varios servidores independientes de Mastodon que puedes usar para participar en el fediverso.
Bienvenidos a masto.es, el mayor servidor de Mastodon para hispanohablantes de temática general. Registros limitados actualmente a invitaciones.

Administrado por:

Estadísticas del servidor:

1,9 K
usuarios activos

#emacs

69 publicaciones62 participantes3 publicaciones hoy

Opened up an SVG file in Emacs and it surprised me by presenting the graphic and there was a little message “Type C-c C-c to switch between text and graphic forms.” What I actually wanted to do is change one color in the graphic and was able to iterate and preview without ever leaving Emacs. Smiling.

I ditched corfu (completion popup) for completion-preview-mode a couple of months ago and very happy with this change.

I did a bit of configuration and polishing, but at the end got a fast, reliable, unobtrusive and extremely handy tool.

Does anyone still use company or corfu?

P.S. To be more precise completion-preview-mode+vertico.

New blog post on the inspiration for a new Julia package I am writing.

The package will address the optimization based design of heat exchanger networks for process integration (energy use reduction). The optimization will be based on decision variables defined on the basis of visualisation of hot and cold streams in a process.

The blog post illustrates the concepts using gnuplot src blocks in org mode in Emacs and highlights a nice feature of code reuse in org mode. There is also a small example of the use of Emacs Calc to do some algebra.

The plan is to have a series of blog posts as the code is developed. This is the first in the series.

#HeatExchangerNetworkDesign #HeatExchangerNetworkSynthesis #HENS #Optimization #ProcessOptimization #ProcessIntegration #visualization #Emacs #Calc #EmacsCalc #orgmode #gnuplot #JuliaLang #blog

homepages.ucl.ac.uk/~ucecesf/b

www.homepages.ucl.ac.ukQTHEN: 1. Inspiration from visualization for heat exchanger network design

I’m doing a list with the objectives for the summer days and it’s time to organize my #emacs config file, and start a new terminal configuration to use with my #freebsd. Does anyone has a tips to do a terminal conguration without X server? I have problems with colors and some key that are no working well.

I've just literally recreated #Logseq endless journal page in #Emacs thanks to Denote and dblocks!

With the bullet #journaling method included! (Each new entry inside a day's note is a heading with just the current time).

I've been looking for a way to achieve this in a long time. Actually if I didn't bother with Org-roam and went with Denote right away it would have been so much better.

The fact that Denote is basically just extra functions on top of org-mode is a great paradigm.

Show me your #emacs keybindings that you put into existing global submaps that you feel are intuitive.

Here are some of mine:

Under C-x v (for VC stuff):
("C-x v t" . git-gutter-mode)
("C-x v s" . git-gutter:stage-hunk)
("C-x v n" . git-gutter:next-hunk)
("C-x v p" . git-gutter:previous-hunk)
("C-x v T" . git-timemachine)
("C-x v R" . browse-at-remote)

Under M-g for error navigation:
("M-g M-l" . flymake-show-buffer-diagnostics)

In the C-x map to complement C-x u:
("C-x C-u" . vundo)

And a better use for C-x C-o (overriding delete-blank-lines):
("C-x C-o" . browse-url-at-point)

Technically these are reserved or taken spots but I like these bindings enough to make an exception for them.

In a previous toot thread we've been talking about ways to launch processes from Emacs in a way that lets them survive Emacs exiting, crashing or restarting via M-x restart-emacs.

The best way I've found so far:

;;; with separate cmd and args:
(call-process command nil 0 args)

;;; or let the shell parse the command:
(call-process-shell-command command nil 0)

The key is the 0 as the third argument, this causes Emacs to discard the output and not wait for the process.

I use it like this for my EXWM command launcher function:

(defun my-exwm-run (command)
(interactive (list (read-shell-command "$ ")))
(call-process-shell-command command nil 0))

Previously I used start-process-shell-command and nohup but that accumulated defunct processes when using M-x restart-emacs. The call-process-shell-command with the 0 arg doesn't seem to have that problem and it doesn't need nohup. This is a bit counter intuitive because call-process is supposed to be for synchronous processes. Not sure if make-process (the async primitive) can do this the same way.

If somebody is familiar with how/why exactly this works I'd love to hear your thoughts.