Emacs

daviwil,
@daviwil@fosstodon.org avatar

Emacs 29.1 has been officially released!

This is a great update, lots of new features like built-in Tree Sitter, Eglot, use-package and more.

https://lists.gnu.org/archive/html/emacs-devel/2023-07/msg00879.html

Check the NEWS file for the full details on what's new in this release:

https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29

daviwil,
@daviwil@fosstodon.org avatar

@shom @amszmidt yeah, I was just wondering whether they actually hold up the release until someone writes this out :)

fikrirnurhidayat,

@daviwil wow this is interesting, let's explore Tree Sitter more. I think it's a game changer for manipulating text in emacs, since we can use Tree sitter query to find some text. (And some say, it's fast)

galdor,
@galdor@emacs.ch avatar

The value of is not in the packages that are available (Gnus, org-mode, Magit, etc.). It is the fact that these packages live in the same application, manipulate text the same way, and can interact with each other to do exactly what you want them to do.

grinn,
@grinn@emacs.ch avatar

@galdor one part of this that always blows my mind is that buffers are a primitive data type yet the whole point of Emacs is to display buffers. Everything in Emacs is just changing the display of, and operating on, buffers.

To say it a different way, you can't construct a buffer from more basic Elisp elements. A buffer is the most basic data type, on par with a symbol or a literal. Yet it's also the main way users and developers interact with each other.

I don't know of another project where the developers and the users are all using the same concept as a building block. It would be like if matlab was written entirely using arrays.

al3x,
@al3x@hachyderm.io avatar

@galdor What is amazing to me is how extensible both and are while using completely differently approaches.

And how little modern editors have learned from them. I don't want to poopoo on modern editors as some are really good and cool. But very few have been build on this fundamental philosophy of extensibility.

jeko, French

All I need to do is fire up Emacs. Guix and Direnv take care of the rest.

https://rednosehacker.com/combo-guix-shell-emacs-envrc-el

janneke,
@janneke@todon.nl avatar

@jeko
I never got round to looking at direnv and somehow felt something was missing.

Did contribute [M-x] guix-set-emacs-environment to emacs-guix...and while that was very clumsy, it worked just too well for me, or so I thought :-)

See also: https://issues.guix.gnu.org/65439

jeko,

@janneke
I will definitely apply that patch before editing any Guix code ! Thanks for sharing !

yantar92,
@yantar92@emacs.ch avatar

Please help collecting statistics to optimize Emacs GC defaults

Many of us know that Emacs defaults for garbage collection are rather ancient and often cause singificant slowdowns. However, it is hard to know which alternative defaults will be better.

Emacs devs need help from users to obtain real-world data about Emacs garbage collection. See the discussion in https://yhetil.org/emacs-devel/87v8j6t3i9.fsf@localhost/

Please install https://elpa.gnu.org/packages/emacs-gc-stats.html and send the generated statistics via email to emacs-gc-stats@gnu.org after several weeks.

yantar92,
@yantar92@emacs.ch avatar

This is a final call to submit your GC statistics.

We now got around 90 reports in the mailing list [1] and the frequency of getting new reports is fairly low now.

After a week from now, I will start bringing all the data together.

[1] https://lists.gnu.org/archive/html/emacs-gc-stats/

-gc-stats

yantar92,
@yantar92@emacs.ch avatar

The results are presented in my EmacsConf2023 talk:

emacs-gc-stats: Does garbage collection actually slow down Emacs?

https://emacsconf.org/2023/talks/gc/

-gc-stats

nickanderson,
@nickanderson@fosstodon.org avatar

My startup banner makes me happy, every day.

daviwil,
@daviwil@fosstodon.org avatar

If you've got questions about Emacs, Guix, Guile, or other related topics and want a friendly place to ask them, come check out the new System Crafters Forum!

https://forum.systemcrafters.net

Things are a little bare for now, so feel free to come introduce yourself and tell us about something cool you've been working on lately :)

More information in the news post: https://systemcrafters.net/news/new-system-crafters-forum/

#emacs #guix #guile #scheme #lisp #linux #freesoftware

daviwil,
@daviwil@fosstodon.org avatar

@sqrtminusone @publicvoit @ericsfraga it seems like this may be the admin API, not sure if a user can use the same endpoints. There is a way to get a user API key though but I haven't looked at whether there is a different set of endpoints for that purpose

publicvoit,
@publicvoit@graz.social avatar

@sqrtminusone @daviwil @ericsfraga I'd prefer a Discourse to NNTP gateway instead. Then you'd be able to use it with maybe hundreds of clients not just Emacs. 😉

aksharvarma,
@aksharvarma@mathstodon.xyz avatar

I always told people that is best written/edited in but didn't have a better argument for it than how well everything integrates. , pdf-tools, , etc. make it a seamless experience. I had a little bit of YASnippets going as well which made life wonderful.

That already brought things to the state of Gilles Castel's 2019 latex lecture notes in article (which I believe is famous, at least in these circles). But yesterday I found a blog post by @karthink about how to get that and more in Emacs.

LaTeX input for impatient scholars: https://karthinks.com/software/latex-input-for-impatient-scholars/

The very first demo (40 seconds) shows how to get an equation in latex that I am sure would take me over a minute to write by hand (and it would look ugly in comparison). Then I looked at the second video (45 seconds) and realized that somehow org table style editing can be used for things like matrices and arrays and what not.

Just like that, less than 2 minutes has me committed to getting all that functionality in my Emacs config. Of course, this being emacs, I can tailor it all precisely to my comfort and I'm willing to spend however long is needed to get it to that stage.

ephzero,
@ephzero@emacs.ch avatar
dekkzz76,
@dekkzz76@emacs.ch avatar

@ephzero

like russian dolls

ephzero,
@ephzero@emacs.ch avatar

@dekkzz76 It's turtles all the way down

ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

tip of the week

This is a two-for-one, these are two tips that I can't believe I never learned about it until now.

What is an easy way to see the value of a variable, or see the result returned from a function call?

You might know about the M-: (Alt-Colon) command, which lets you run any Lisp code, the result is printed into the *Messages* buffer. But... if you use the prefix command C-u (Control-U) and then press M-: (Alt-Colon), the result returned by the Lisp code is printed into the current buffer after the cursor.

Even better, however is using the (pp) ("Pretty-Printing") function. This also outputs to *Messages* by default, but it takes 2 arguments, the second of which can be a buffer. Try this code:

(pp (buffer-local-variables) (currrent-buffer))

The result returned by (buffer-local-variables), which is a list of all buffer-local variables and their values, is pretty-printed right after the cursor.

grinn,
@grinn@emacs.ch avatar

If you want to be notified of scheduled and deadlined tasks in Org mode, there is no better way than with org-yaap. It has zero dependencies other than Emacs 27.1 and it works great on Android with termux.

I've been using it for two years without issue. The documentation and options are superbly setup to fit most uses of Org:

"""
By default, you will be notified for all scheduled headings (org-yaap-include-scheduled') and headings with a deadline (org-yaap-include-deadline') within your agenda files. If a heading only includes the date, you will be notified at 9am on the day of the heading (org-yaap-daily-alert'). If you don't mark a heading as done, you will be repeatedly notified every 30 minutes after the heading was due (org-yaap-overdue-alerts').
"""

You can install it from my package archive at https://packages.amygrinn.com/ or download the latest release from https://gitlab.com/grinn.amy/org-yaap/-/releases then package-install-file

daviwil,
@daviwil@fosstodon.org avatar

@grinn Cool! Have you written anything about how you use Emacs with Termux? I find that it works surprisingly well but I haven't done much to integrate it better with the phone experience

mattkenworthy,
@mattkenworthy@mastodon.social avatar

The best time to learn and is ten years ago. The second best time is today. I use as my calendar and organiser, and each year I discover something more awesome in it. I didn't realise how good the exporter is and how well formed the HTML is, so now I'll keep my notes on astronomy literature in a new org file. Future proofing through flat text files FTW.

louis,
@louis@emacs.ch avatar

I’d like to welcome the M-x Research group on Emacs.ch: @Mx_Research :blobfoxemacspeek:

M-x Research is a community of Researchers and Research Software Engineers. They hold virtual meetings bi-weekly to discuss and share experiences, tips, tricks and tools useful for researchers and research software engineers. Newcomers and veterans are all welcome.

https://m-x-research.github.io

Mx_Research,

@louis Thanks for the intro! What an effect it produced! 🤩​

jameshowell,
@jameshowell@emacs.ch avatar

I am looking for users in . Let's connect over Mastodon and, who knows? Maybe we could organize get-togethers.

It would be super fun to have an in-person event for 2024.

louis,
@louis@emacs.ch avatar

Fabrice Niessen, Developer and evangelist for Org mode and creator of the org-html-themes, is offering hands-on Emacs training in a three day course in Rotterdam, Valencia and Paris this spring.

https://emacsboost.com/en/

graywolf,
@graywolf@emacs.ch avatar

@louis Too bad there is no remote option :/

pjaml,
@pjaml@ecoevo.social avatar

Wow, I can't believe I'm only just learning about the org-pretty-entities variable in . Setting it to t automatically transforms a lot of LaTeX fragments into unicode symbols in the buffer.

I've been using the $ delimiter around very small fragments (e.g. $\sigma^2$) and then using org-latex-preview to show it in the buffer. Much slower and clunkier obviously, I wish I had known about this a year or two ago! 🤦‍♂️

skybert,
@skybert@emacs.ch avatar

I would like to give a shout out to all the excellent people on emacs.ch. You are not only passionate about Emacs and Lisp, but also friendly, fun and always willing to help out.

Thank you for you being you.

galdor,
@galdor@emacs.ch avatar

While the LSP protocol is useful for completion or access to symbol definitions, some of its features are less appealing. In , you can instruct Eglot to ignore any feature you dislike.

E.g. (setq eglot-ignored-server-capabilities '(:inlayHintProvider)) to remove annoying hints mixed with the code in c-mode with clangd.

tetrislife,

@galdor is that the one that puts formal parameter names next to the actuals in calls? It hasn't seemed off-putting on the occasions I have used it.

fsf,
@fsf@hostux.social avatar

EmacsConf 2023 will be held on December 2 and 3, 2023. Learn more: https://emacsconf.org/2023/

fatlimey,
@fatlimey@mastodon.gamedev.place avatar

Guy from the future appears in your coffee shop. Turns out it's @lisperati writing a game in on his Yoga Book i9 using a 7 year old 40% keyboard using angry fruit salad mode. You're just 5 years behind the curve man.

image/jpeg

rahguzar,
@rahguzar@emacs.ch avatar

and people, I have an Emacs hoogle frontend on called consult-hoogle. It uses consult to present search results from hoogle. I have added another mode in which results are presented in a buffer. As a result it can also display search results from https://hoogle.haskell.org/ using the JSON API.

I someone wants to try it out and have feedback the code is at https://codeberg.org/rahguzar/consult-hoogle/src/branch/hoogle-buffer

sqrtminusone,
@sqrtminusone@emacs.ch avatar

Updated my client.

For the most part, it's keeping up with the API which has gained several new features, including:

  • 15-minutely forecasts and current weather in the ensemble model (referred to as just "Weather Forecast")
  • Weather models from the Australian Bureau of Meteorology (BOM) and the Chinese Meteorological Administration (CMA)
  • Options to adjust solar radiation variables by panel tilt and panel azimuth
  • "Previous Runs API" that allows comparing forecasts for different days (up to 7). E.g. what temperature was predicted for today 7 days ago (Fig. 1)

Happy to see the project developing.

And I've added an option to access historical weather data for a particular day across multiple years (Fig. 2).

Open Meteo: https://open-meteo.com/
My client: https://github.com/SqrtMinusOne/biome

A table with historical weather data for 24th of April for years from 1984 to 2024.

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

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

louis,
@louis@emacs.ch avatar

Today marks the 555th day of uninterrupted uptime of our Emacs.ch instance. 🥳

That's also 555 days of admin work and a spending of roughly $1200 for IaaS. Donations of our users make that much more sustainable.

With consistently well over 400 monthly active users, we established a friendly and supportive Fediverse community in the Fediverse united in a passion for the world's most humane "text editor". And you helped to make that happen. 🎈

Emacs is not just a program, it is the incarnation of freedom, self-development, respect, tolerance and companionship in the software world. It will never go away and will never turn against its users.

Let's continue to grow and strengthen our community! If you'd like to contribute, please visit our donation page: https://liberapay.com/emacs-ch

Together, we can keep the spirit of Emacs alive and thriving for years to come. Thank you for being a part of this incredible journey! 🙏

rostre,
@rostre@emacs.ch avatar

@louis Congrats! Thank you very much for keeping this instance up for us :)

Xuxxux,

@louis @daviwil a really good instance!

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