Emacs

rahguzar,
@rahguzar@emacs.ch avatar

I passively read the subreddit but I have zero desire to be on reddit. Often I come across questions I think I know the answer to and can only hope someone else answers it (and most of the time someone does it).

Case in point: https://old.reddit.com/r/emacs/comments/1coumhm/elisp_determine_if_mouse_posn_is_within_region/

I think they are looking for posn-point.

meatlotion,
@meatlotion@mas.erb.pw avatar
ctietze,
@ctietze@mastodon.social avatar
unixbhaskar,
@unixbhaskar@fosstodon.org avatar

A glance at the progress...

ctietze,
@ctietze@mastodon.social avatar

@unixbhaskar post a Magit screenshot, I hit the like button 👍 :)

plantarum,
@plantarum@ottawa.place avatar

Casual mode, a better interface for the file manager

https://irreal.org/blog/?p=12162

plantarum,
@plantarum@ottawa.place avatar

is a tool that seems super powerful, but I don't use it often enough to stay familiar with the features. This sounds like a great fix to that issue!

The original announcement from the package author:

http://yummymelon.com/devnull/announcing-casual-dired---an-opinionated-porcelain-for-the-emacs-file-manager.html

mms,
@mms@emacs.ch avatar

How would you run create a long process (rsync for example), create a temporary buffer in split for it, tail the output to the buffer so it’s up to date; then if the process exists success close the buffer? Preferably the emacs should not lock the whole time.

holgerschurig,

@mms On Linux I wouldn't do this in Emacs, but from systemd. One can create transient services in it (via api, not via foo.service file).

If needed, I could then run "journalctl --unit foo" in some Emacs buffer, but I don't really see the benefit: I am using Emacs mostly with just one window and frame. So having some process output clutter my spartanic display setup ... naah.

SpaceCadet,

Does someone have a function, to link an Heading at point with its own id, creating one if it does not already exist?

So

** Heading

becomes

** [[id:12345678][Heading]]

arialdo,
@arialdo@mastodon.online avatar
svbck,
@svbck@fosstodon.org avatar

Transients are seemingly getting more common (see Casual dired) so I decided to share my EMMS-dired-player transient.

I have been using it for a while and it does what I want it to do.

More here:

https://svbck.org/blog/2024-05-09-emms-dired-player-transient.html

zrzz,

My discovery for today is dired-omit-mode. It hides less interesting files (object files, backups etc). There are a few options to tweak what you want hidden.

The default binding is C-x M-o but I've also put it on just M-o in my config so that I can toggle it quickly.

rzeta0,
@rzeta0@mastodon.social avatar

lots of discussion about and on mastodon

is this representative of real world trends or just a bubble on mastodon?

amoroso,
@amoroso@fosstodon.org avatar

@rzeta0 I don't know. But what matters to me is I'm having lots of fun with Lisp, even if it's not representative of real world trends.

carcosa,
@carcosa@emacs.ch avatar

@holgerschurig @rzeta0 I do frequently wish Emacs were written in Common Lisp - which has package namespaces and gradual typing. Emacs Lisp is kind of special.

robert,
@robert@toot.kra.hn avatar

org-ai got an update today. It now supports the and the .ai APIs.

https://github.com/rksm/org-ai

al3x,
@al3x@hachyderm.io avatar

What am I doing wrong in my attempt to configure the font?

I have the following lines in my init.el:

(set-face-attribute 'default nil :family "Input Mono Compressed" :height 150)  
(set-frame-font "Input Mono Compressed-15" nil t)  

If I execute them, I get what I want.
But when part of the init.el they seem to get reset.
If I include them towards the top of the init.el,
I can notice the larger font and then it "disappears".

Please send doctors :-D.

louis,
@louis@emacs.ch avatar

@al3x Since I had a similar issue, look at the end of your init.el, where you have your (custom-set-variables ...) (which is created by the customize facility). It is very likely that you once changed your font interactively with customize and have this configuration still in your init.el.

elilla,
@elilla@transmom.love avatar

taking a break from my social media diet to note that I finally took the time to export my styling like many of you asked. I present you: girly-notebook-theme.el
https://github.com/melissaboiko/girly-notebook-theme

you have to install the fonts for it to work properly, see the README.

FAQ: no there's no dark bg version.

ankit,
@ankit@emacs.ch avatar

Today I learned and practiced using Pikchr. Pikchr is a low-level diagram markup language. This is my second attempt at it and I think it clicked this time.

The program is available is a single function library and a CLI that emits SVG.

https://pikchr.org/

There is obviously an mode for it with preview and org-babel support that works well.

https://github.com/kljohann/pikchr-mode/

holgerschurig,

@ankit Thanks for this tip.

I used a lot of dot (from graphviz) in Org documents. But sometimes it arranges the objects in ways I don't like, and with dot it's often a fight against it to get the layout I like.

This seems to be not the case with pikchr.

ankit,
@ankit@emacs.ch avatar

@holgerschurig I don't have much experience with graphviz but I had similar problem with Mermaid. Pikchr does give you more finer control over layout with the trade-off of complexity.

jbaty,
@jbaty@social.lol avatar

The Howm #emacs package does certain things much like TiddlyWiki does. In a good way. https://baty.net/2024/05/howm-reminds-me-of-tiddlywiki

greg,
@greg@gregnewman.io avatar

@jbaty

> I should write about how the combination of Howm and Denote fit into my process.

Yes please

Neblib,
@Neblib@mastodo.neoliber.al avatar

anyone have a working setup with logseq (in orgdown) and playing nice in logseq's folder (orgroam dailies in 'journals', etc)? Currently my vault is a mix of org and md but I'm hoping to at least get the org files recognized while I work on converting the md (or figure out ). I tried playing with org-logseq but even though I'm matching correctly on its grep for the folder and I have title properties I couldn't get it working after a good attempt.

wigol,

@Neblib I "kind of" do. I am using heavily modified org-roam-logseq.el though. There still are some issues, e.g. Logseq fails to recognize ID references as backlinks (linking itself works).
I was planning a blog post about my setup, but with recent news about Logseq DB development I am considering ditching it.

Neblib,
@Neblib@mastodo.neoliber.al avatar

@wigol yeah the logseq db announcement was a bit disappointing for sure. Emacs 30 being on Android takes away some of the reasons for a logseq as the mobile end of a org workflow, especially if developer interest refines that mobile experience further.

fd9a,

You can now submit tickets to SourceHut using emacs and transient.

https://git.sr.ht/~akagi/srht.el/tree/pre-0.5/lisp/srht-todo.el

ctietze,
@ctietze@mastodon.social avatar

@fd9a I didn't know the ticket system shipped, thanks! That's cool.

mykhaylo,
@mykhaylo@fosstodon.org avatar

context-transient for is now on

I've been using it for several weeks and find it extremely convenient.

https://github.com/licht1stein/context-transient.el

wirthy,
@wirthy@emacs.ch avatar

After spending some time learning meow's editing model, I've finished a moderate customization of the default qwerty layout. It's an attempt to find a synthesis of my emacs, vi, and CUA muscle memory while favoring selection-first editing.

https://codeberg.org/jasonp/dotfiles/src/branch/main/emacs/.emacs.d/site-lisp/meow-jpqwerty.el

AAMfP, (edited )
@AAMfP@fosstodon.org avatar

#askFedi on #Emacs #OrgMode: I'm generating a web page from Org Mode files and it contains some description lists divided by headers.

https://marcoxbresciani.codeberg.page/japan/viaggio-in-giappone.html#vig-citt%C3%A0

Is there a way, even using a different structure (but possibly keeping those items grouped), to have an unique numbering for all those items in the page?

oblomov,
@oblomov@sociale.network avatar

@AAMfP you can either use the start parameter in your ol, generated manually on conversion from org mode, or define a CSS counter and use that in the ::mark (IIRC) of your ol

amoroso,
@amoroso@fosstodon.org avatar

The rootwork v0.2 blog posted about the author's journey through text editors, from classics such as vi(m) and Emacs to tools I've never heard of. They explain what they use the editors for and why.

https://write.as/hobbsc/wandering-words-on-text-editors

#TextEditor #emacs #vi

adrysdale,
@adrysdale@sigmoid.social avatar

@amoroso @sachac I never realised people stopped using Emacs, I thought they just died at some point.

amoroso,
@amoroso@fosstodon.org avatar
publicvoit,
kickingvegas,
@kickingvegas@sfba.social avatar

Ever been too scared to use the file manager Dired? I have and still remember what it's like, especially when I was new to it. But it doesn't have to be that way. Here's my take on making Dired a bit easier to use, for beginners and experienced alike.

Announcing Casual Dired, now on MELPA. Read more about it at the link below.

http://yummymelon.com/devnull/announcing-casual-dired---an-opinionated-porcelain-for-the-emacs-file-manager.html

ThierryStoehr, French

Text [#format, to setup your text editor] You want a "Better garbage collection" in your #Emacs?
Here is a solution: https://config.phundrak.com/emacs/basic-config.html#better-garbage-collection
This was explained during the 2024-05-02 french on-line workshop called "Atelier #Emacs", by the author @phundrak, thank you! And happy emacsing!

jtmoulia,
@jtmoulia@mstdn.social avatar

A guide on integrating + + using [mostly] builtin tooling and project local .dir-locals.el variables.

Specifically, this setup uses + for live syntax checking, for code running, for type-checking, and as the shell

Feedback would be welcome -- trying to get it robust + idiomatic.

https://jtmoulia.srht.site/guides/emacs-python-hatch/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines