Emacs

birv2,
@birv2@pkm.social avatar

Installed on my 2 linux machines last night. Seems to be working so far, though I haven't yet figured out exactly how it all works -- what syncs with what, how often, etc. But they can see each other and share.

Next is trying to get it going on my Win10 machine. For some reason, that makes me nervous! But if I can get all 3 synced, and working on all of them, I'll be pretty jazzed.

publicvoit,
@publicvoit@graz.social avatar

@birv2 With non-Windows, it's instant. With Windows, the preferences with the seconds between syncs might be the answer to you.

tartley,
@tartley@mastodon.social avatar

@birv2 oooh, I'm at a similar point, got it installed on a couple of Linux laptops, and am now going to spread around more devices. Haven't tried the Android client on my phone yet...

greg,
@greg@gregnewman.io avatar

Spent way too much time today trying to figure out why consult-imenu will not work for me in and made zero progress.

Last night I had to tear down my configs for tree sitter because typing / in a js buffer would crash emacs. At least I got that fixed and can work on react code tonight.

greg,
@greg@gregnewman.io avatar

@bignose I think in your case it’s a matter of getting the lsp to see your dependencies. For python i pip install the lsp into each projects venv which is added to the path in emacs

greg,
@greg@gregnewman.io avatar

@bignose but yeah. I have problems with JavaScript lsp and dependencies

extenebris,

Trying out Gnus is a humbling experience that also provides a perspective on why people might not want to deal with Emacs, preferring alternative editors: it is not immediately obvious that overcoming a steep learning curve would bring benefits compared to an easier solution (like using a different news client). I just want to read my RSS feed, presented in a concise, elegant fashion, I don't want to battle with an UI that might've made sense back in the modem era

mykhaylo,
@mykhaylo@fosstodon.org avatar

@extenebris elfeed is zero effort

jnpn,
@jnpn@mastodon.social avatar

Ever wanted to see Multics Emacs live ?

https://yewtu.be/watch?v=q0yfhZB7VpA

Emacs version 12.9 in a multics shell.

Pretty rare sight for me

hajovonta,
@hajovonta@mastodon.online avatar

I'm trying to create an user interface where the user should be able to edit a list, including the adding, removing and ordering of items.

Unfortunately, with the ordering requirement, I'm a bit stuck - how is it usually solved in Emacs?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape that’s easy, just use completing-read

ctietze,
@ctietze@mastodon.social avatar

@hajovonta So what do you have at the moment?

widget.el based UI?
https://www.gnu.org/software/emacs/manual/html_mono/widget.html

tabulated-list-mode (like the Package mode)?

The latter is compatible with 'ewoc' which seems to be backed by a doubly linked list, so changing the order of items should be simple-ish

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

One of the most handy combination of functionality in :emacs: is the narrowing and ediff buffers. Extremely handy. Kudos to all genius folks who have worked on this throughout the years.

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.

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Alexander Kozhevnikov (GNU ), Ankit Raj Pandey (GNU ), Artem Iurchenko (GNU , GNU ), Felix Lechner (GNU ), Giacomo Lorenzetti (GNU ), Loïc Lemaître (GNU ), Toshihiro Umehara (GNU ), Zebbediah Beck (GNU ) for assigning their copyright to the FSF!

StupidCamille,
@StupidCamille@eldritch.cafe avatar

My speech therapist: try to take notes of how you use your voice for the next time

Me, a perfectly neurotypical human:

  • write everything in a strictly formatted org-mode diary
  • add all these latex shenanigans to have an A4, 1.5cm margins two-column article with an automatic formating of timestamps into readable dates
  • C-c C-e l p as carpal canal intended to generate the PDF from the latex exported by from the org file
  • 2 hours of fiddling
  • configure the cursed HP printer to fit perfectly into that CUPS service
  • lpr the-voice.pdf
  • the nicest piece of article my eyes have ever been laid on omg

I'm neurotypical

ndw,
@ndw@mastodon.social avatar

For the first time in...a few decades at least. Maybe ever. Emacs is regularly and unceremoniously segfaulting on me. Pretty clearly something to do with tree sitter, which is a bit frustrating. ( 29.3 on MacOS from brew)

ctietze,
@ctietze@mastodon.social avatar

@ndw I run into immediate crashes when selecting text and tabbing to indent in tree-sitter-enabled modes since last week or the one before, too

ndw,
@ndw@mastodon.social avatar

@ctietze Tabbing is when it usually happens to me. But not always. I have a short Python file I absolutely cannot open! :-)

oberbrunner,
@oberbrunner@mastodon.mit.edu avatar

Not that anyone likely cares, but I just refactored my config away from literate org-mode, into a collection of specific elisp files. The top level init.el is now quite clean.
I got tired of having to edit source blocks in the org-mode config and having to preload org-mode just to load my config, all just so it looks prettier (?) when reading it on github.
The elisp files still have sections, rg can search them just fine. I'm happy. https://github.com/garyo/emacs-config

holgerschurig,

@oberbrunner Hmm, you can customize imenu to consider things or ignore them.

Look again into my file, around libe 2061, where I did that.

holgerschurig,

@oberbrunner BTW, here's a screen shot of consult-imenu - still without narrowing down to anything.

unixbhaskar,
@unixbhaskar@mastodon.social avatar
unixbhaskar,
@unixbhaskar@mastodon.social avatar

@holgerschurig then stick with it and not watch my video. and I will not miss you a bit.

holgerschurig,

@unixbhaskar

I will not miss you a bit

When exactly was I unfriendly to you that I deserve such a reply?

worldsendless,
@worldsendless@qoto.org avatar

One of the issues with the #REPL (and #emacs which is just a great big text-oriented repl) is that it is additive in nature; it usually takes major effort or a restart to REMOVE things once they've been added (thinking on plugins which modify app state). #Clojure

mykhaylo,
@mykhaylo@fosstodon.org avatar

@worldsendless something like this will work: https://github.com/tonsky/clj-reload

andyc,
@andyc@mastodon.org.uk avatar

My never ending research into orgroam is still ongoing.

But the need, not just for everywhere, but everywhere posed the obvious question - why use Markdown for your Hugo blog?

Turns out supports native orgmode posts which can coexist with the existing Markdown content.

A test post confirmed this but only after I had to upgrade the Papermod theme and tweak the Netlify configuration for the latest Hugo version.

holgerschurig, (edited )

@andyc The last time I tried it, Hugo's org support was quite lacking.

birv2,
@birv2@pkm.social avatar

I'm finding some really interesting blogs out there, and am reminded of the early days of the internet, when it wasn't all monetized and people just wrote about stuff they were interested in for fun. And I had an RSS feeder and got updates when people posted stuff. Plus blogrolls.

So I'm sure there's a way to do this now in , right? Can someone point me in the right direction? I've heard about elfeed but don't know anything about it.

Thanks, good people of Mastodon.

publicvoit,
@publicvoit@graz.social avatar

@birv2 AFAIR you can use NewsBlur for free up to a certain amount of feeds (100?). Take a look at their site and their rates.

I do have more feeds and I wanted to support the service. My previous one did ran out of money and was cancelled. Too bad.

publicvoit,
@publicvoit@graz.social avatar

@birv2 A web-based service has the advantage that all my desktop browsers as well as the app are in sync with the read/unread information.

I'm sure that is also possible for Elfeed when you sync the meta-data as well. However, since I'm reading feeds mostly away from my computer, this was the better solution to me.

bjfs84,
@bjfs84@vivaldi.net avatar

Random upgrade misadventures, part I: Emacs

So I was a bit off my org-roam habits and decided to get back on track. Since my daily driver is macOS, I am using Railwaycat's emacs-mac formulae on Homebrew. And boom! #emacs doesn't launch even before upgrading due to some wierd gcc issue.

Tried to upgrade... can't compile because of libgccjit issue (necessary for native compilation feature which makes elisp work faster). Turns out there are some breaking changes from GCC upstream and had to browse published issue to apply some workarounds.

In the process I've discovered the --HEAD option for brew which apparently allows to get the most recent-ish branch for a given formulae. So now I have Emacs 29.3 over default 29.1 for this contraption.

PS. As I like the Emacs help system which can browse its own source code to describe a function, it wasn't readily available with brew. Had to copy the code from brew cache to some static location and Emacs just asked to point for the sources there, nice!

withoutclass,
@withoutclass@mastodon.sdf.org avatar

@bjfs84 I've had great luck with the d12-frosted version in case you find yourself looking for an alternative.

ctietze,
@ctietze@mastodon.social avatar

users of and need to switch to the multiform/grid display.

It's amazing, combining which-key like columnar display with completing-read filtering.

https://hachyderm.io/@goofansu/112161055730375300

meedstrom,
@meedstrom@emacs.ch avatar

@karthink @oantolin @ctietze So on first glance it's pretty cool but I realized there aren't that many embark actions as to need completing-read.

With the vanilla keymap prompter, all the possibilities fit in the popup window on my screen anyway. What is the appeal of completing-read-prompter? I guess it's to "search by typing" instead of by eye?

ctietze,
@ctietze@mastodon.social avatar

@meedstrom @karthink @oantolin Looking for an action by part of its name to learn the keys is the main appeal for me.

E.g. the phrase "collect" as an action I may remember, without having to know that it's called `embark-collect'. With alphabetical sorting, it would be at "e" not "c".

And there are a couple of "embark-" prefixed actions that are useful

slackline,
@slackline@mastodon.social avatar

Looking to expand the Emacs section of my Elfeed RSS subscriptions.

Recommend me your favourite Emacs bloggers please.

Already subscribe to...

EmacsAir ( @tarsius )
Prot (https://protesilaos.com/codelog.xml)
Scaha Chia ( @sachac )SystemCrafters ( @systemcrafters.net )
EmacsRedux
Mastering Emacs
LucidManager
@christiantietze.de@rss-parrot.net
@RSSBot for Irreal and other things from Reddit

#emacs #rss

sachac,
@sachac@emacs.ch avatar

@slackline You could take a look at the RSS or OPML from planet.emacslife.com

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.

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

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

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.

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

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.

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