Emacs

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 #emacs and #lisp 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.

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.

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

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.

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.

jbaty,
@jbaty@social.lol avatar

The Howm 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,
@wigol@fosstodon.org avatar

@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,
@fd9a@fosstodon.org avatar

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.

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

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
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

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 [, to setup your text editor] You want a "Better garbage collection" in your ?
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 ", 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/

thgs,
@thgs@phpc.social avatar

Ok so NOW, I will learn

icedquinn,
@icedquinn@blob.cat avatar

@scathach @thgs in my last days of c++ i had started replacing the self-insert keys to completely eliminate holding shift (because it was a source of RSI.) so things like typing ;; would become :: and - would become an underscore if next to an identifier character kind of stuff

thgs,
@thgs@phpc.social avatar

@icedquinn @scathach

so much to explore and learn..

jochie,
@jochie@strangeweb.page avatar

For the entire time I've been using , I never used (or wanted) any kind of spell-checking. That is changing now that I'm using it a lot more to write notes/documentation with / .

Ideally I want to only do spell-checking on comments, when editing code, and similar configurability for Org documents.

What is the recommended method for something like that in 2024 (on macOS, if that makes any difference)?

dmolina,
@dmolina@fosstodon.org avatar

@jochie for also checking the grammar in , I recommend https://github.com/mhayashi1120/Emacs-langtool available in melpa.

ctietze,
@ctietze@mastodon.social avatar

@dmolina @jochie Even better, for some workflows:

flymake-languagetool and flycheck-languagetool can auto-check while you type. (Also there's more activity on the repos :))

zyd,
@zyd@emacs.ch avatar

Huh, TIL Emacs has a cheat sheet command, M-x cheat-sheet. Really need that for all the C-x r commands. Though, general tip: After any prefix keymap you can press ? to see all the keybindings under it, like so: C-x r ? (second screenshot shows what that looks like)

An Emacs window display a single Help buffer. Shows all the global keybindings under the "C-x r" keymap. They are mostly related to registers, bookmarks, and rectangles.

jkreeftmeijer,
@jkreeftmeijer@mastodon.social avatar

Instead of enabling Evil mode globally, I now have it turned on only in buffers with major modes derived from prog-mode or text-mode.

Since Evil is disabled in non-editing buffers like Magit and Dired (where it was a nuisance), I got rid of Evil collection and cut my startup time in half.

jkreeftmeijer,
@jkreeftmeijer@mastodon.social avatar

@mykhaylo I have, but it was a bit too big of a step for me.

I'll eventually move off Evil completely, but for now I still rely on Evil when I'm in a rush to get something done.

Meow and the like are definitely on my list to check out (I've even started a project somewhere to try and bridge the gap), but that's quite a list.

Have you switched to Meow completely? How has that been?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@jkreeftmeijer I have come from the other side — used (and still do use) vanilla bindings. But I like it.

mms,
@mms@emacs.ch avatar

Anyone know why org-babel-ruby adds an extra " for webs?

#+name: uname
#+begin_src sh :results output replace
uname -a

#+BEGIN_SRC ruby :noweb yes :result scalar
"<<uname()>>.split(" ")[1]

This workss, because uname() is a result of uname -a PLUS AN QUOTATION MARK

mms,
@mms@emacs.ch avatar
mms,
@mms@emacs.ch avatar

@yeti <<>> gets expanded uname” (sometimes uname NEW LINE).

The expansion occurs before evaluation. The first quote encloses umami for it to be treated as string.

The problem is that added quote or new line at the end of expanded uname

elb,
@elb@social.sdf.org avatar

One of my students opened up today, opened up a GUI file manager, found a file, grabbed the icon, dragged it onto Emacs, and dropped it. And it WORKED. I'm not sure which part distressed me more.

chrishuck,
@chrishuck@fosstodon.org avatar

@vt52 @elb I think you dropped a decade there…

(Don’t worry, I do it too. Remember, 1980 was only 20 years ago… Oh, wait)

elb,
@elb@social.sdf.org avatar

@chrishuck @vt52 What's a half score of years among friends?

deadblackclover,
@deadblackclover@functional.cafe avatar
mykhaylo,
@mykhaylo@fosstodon.org avatar

@deadblackclover some come, some go. Live collaborative coding is very possible inEmacs though.

SebasTEAan, German
@SebasTEAan@emacs.ch avatar

I create a new package for Emacs:
hide-secrets: https://gitlab.com/ostseepinguin1/hide-secrets-el

It hides various secrets like passwords, username, email addresses, IP addresses and hash sums in Emacs buffer, so you can show these buffers online without risking privacy.

It's still too early to put it on Melpa.

Feedback very much appreciated.

frescosecco,
@frescosecco@mastodon.social avatar

There is no client for .

pkal,
@pkal@emacs.ch avatar

To anyone in and around Erlangen/Nueremberg, I am organising a german introduction to Emacs next week (10.5.) at my university. My intention is to give a high-level, value-driven overview instead of wasting time on accidental and superficial features such as Magit, Org-Mode, SLIME, etc. (there are plenty of those already).

You can find more details on my Uni-Website: https://wwwcip.cs.fau.de/~oj14ozun/emacs/.

#emacs #fau #erlangen #nuremberg

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