1
EMACS turns 50 (www.technologyreview.com)
submitted 1 week ago by to c/emacs@lemmy.ml
2
 
 

I've never been a big fan of the split source/preview workflow for Markdown. I just want to read nicely formatted text and edit it directly, without constantly switching between two views.

So I made markdown-ts-appear.

The idea is similar to org-appear: Markdown looks rendered by default, but when you move the cursor onto an element, its source is revealed for editing. Move away, and it goes back to looking nice. All in the same buffer, without modifying the underlying text.

I also wanted to go a bit beyond just hiding markup, so I ended up adding a bunch of visual improvements: prettier code fences, blockquotes, callouts, link icons, tables that wrap to fit the window, and optional MathJax previews.

It's built on the new Tree-sitter-based markdown-ts-mode (Emacs 31.1+), so rendering stays fast and responsive. It is available on MELPA.

I've been using it for my own Markdown editing, and it's pretty much the experience I was looking for. Thought I'd share it here in case anyone else has the same itch.

Feedback and bug reports are very welcome!

3
 
 

Looks like someone set up a website at doomemacs.com that's a bunch of LLM generated crap. Stay away!

https://doomemacs.org/ is the official website.

4
npm-run (github.com)
submitted 8 months ago by to c/emacs@lemmy.ml
 
 

simple package for running npm scripts (specially in mono-repos)

5
6
7
8
9
 
 

Totally effortless, but liked the result. Logo was created by Chatgpt and theme by Claude.

10
 
 

I've been reading through their docs[0] and FAQs[1] but cannot for the life of me understand how they can use SPC as a chord prefix, and also just type normal sentences on a keyboard.

I don't want to try it, but I do want to know.

0: https://www.spacemacs.org/doc/QUICK_START.html
1: https://www.spacemacs.org/doc/FAQ.html#how-do-i

11
submitted 10 months ago by to c/emacs@lemmy.ml
 
 

No explanation given. Just a whimsical little image for our beloved emacs, I made a while ago, in response to something, I forget what. Is just fun.

Oh, sorry, I was in the kitchen washing the parentheses.
12
 
 

One are ELPA tarballs....

...and the other 'elps 'er tar balls!

(Nailed it. Flawless setup!)

13
Emacs Lisp Elements (protesilaos.com)
submitted 11 months ago by to c/emacs@lemmy.ml
14
submitted 11 months ago by to c/emacs@lemmy.ml
 
 

cross-posted from: https://hexbear.net/post/6891969

If you write for a living, for studies, or even as a hobby, you should consider Emacs. It could be just what you need in an environment of enshittifying word processors and AI garbage.

15
 
 

als kruis­bericht geplaatst vanaf: https://lemmy.ml/post/38966704

A minimal, declarative setup for productive Rust hacking on Emacs + Guix

I noticed there was a blatant lack of resources and documentation on this particular setup. So I rolled up my sleeves and wrote this article, which hopefully you find useful.

https://jointhefreeworld.org/blog/articles/rust/simple-guix-emacs-rust-development-environment/index.html

See image here of my Emacs with rust-analyzer and clippy working: https://ibb.co/whxq8dX1

16
 
 

Hello, guys!

I'm in process of moving my notes from Joplin, which is also a great tool, to Emacs 30.1. I use denote for managing notes.

I found a strange behavior when using org-publish: almost every note I created and exported using org-publish can't be read by webserver. It happens when file name consists cyrillic letters. I've tried nginx, apache, python http.server, web-static-server. When I run a server and try to open html file in latin - it's OK, but when there some cyrillic letters in file name - web serser tells me it can't find file with this name like "%u...". However when I open html files locally with Firefox everything works just fine.

So after a couple of days of reasearch I found that one reason for such behavior could be the wrong file name encoding. As far as I'm not an expert may be somebody can explain how to make emacs convert with org-publish notes in encoding that is readable for any web server?

My emacs config consists:

org-publish-project-alist '(
                            (
                             "notes"
                             :base-directory "~/org/denotes/"
                             :recursive nil
                             :publishing-directory "~/public_notes"
                             :section-numbers nil
                             :with-toc nil
                             :with-author nil
                             :with-creator nil
                             :with-date nil
                             :html-preamble "<nav><a href='index.html'>Notes</a></nav>"
                             :html-postamble nil
                             :auto-sitemap t
                             :sitemap-filename "index.org"
                             :sitemap-title "Notes"
                             :sitemap-sort-files anti-chronologically
                             )

Host is Debian 13. UTF-8 is the only encoding enabled in locales. Servers I've tried so far also run on Debian 13 with UTF-8.

17
18
 
 

Hello all,

I recently started working out again, and started thinking can I track my workouts using emacs org mode.

What I basically envision is tracking what exercises I did in a given day, repetitions and weights. Any suggestions? Thanks in advance!

19
20
21
 
 

Hello! I'm happy to announce the release of Disproject version 2.2.0. This update comes with various improvements, including:

  • a new customizable menu that lets the user select from a list of display-buffer overrides as transient state, which can be applied to suffix commands;
  • a new customizable menu for finding common project files like the dir-locals file or README file, dubbed "special files";
  • and a newly-written Info user manual to provide documentation on using and configuring Disproject (please feel free to inform me or open an issue about any mistakes or sections that feel confusing!).

The full change notes for this release can be found here.

Other links:

Disproject is a GNU Emacs package that implements Transient menus for managing and interacting with project files. It aims to provide a featureful, yet extensible interface from which users can intuitively dispatch commands on projects.

Some of its notable features include:

  • a main menu with access to many of the built-in project library's commands and other project-aware commands;
  • auto-detection of current project as the default project to act on from the menu;
  • options for switching to other projects from the menu in order to execute commands elsewhere;
  • a menu for finding common "special" project files, like the dir-locals file;
  • a menu for custom project-local suffix commands;
  • and display-buffer override options, to control where commands should display buffers to.

This package was inspired by the project-switch-project command, from the built-in project library. Users may also draw similarities to the Projectile library's projectile-commander.

22
ELPA mirrors? (programming.dev)
submitted 1 year ago by to c/emacs@lemmy.ml
 
 

Lately I've been experimenting with my emacs setup, which has led to a lot of extra ELPA (gnu and nongnu) requests. Unfortunately, ELPA is very slow nowadays, which makes experimenting inconvenient. Also, I don't want to contribute to the already high load on the official GNU servers.

Are there any "official" mirrors for ELPA? How can I activate them? If not, how can I activate and validate non official mirrors?

23
24
 
 

Dear emacs and org-mode comrades.

Given:

  • a table with
    • a list of tags +
    • their number of appearances in question 1 (Q1) & and question 2 (Q2).
  • org support for tag groups (https://orgmode.org/manual/Tag-Hierarchy.html)
  • 3 defined tag groups
    • GroupTag1 (GT1)=tagA+tagC+tagD and
    • GroupTag2 (GT2)=tagB+tagE
    • GroupTag3 (GT3)=tagB+tagC+tagD (yes, some tags are in more than 1 group)

How can I count with pure elisp (assuming some table formula but I'm open to other ways) the sum of individual tag appearances of each tag group, for each question?

Example:

| tag  | Q1 | Q2 |
|------+----+----|
| tagA |  9 |    |
| tagB |  4 |  2 |
| tagC |  1 |  4 |
| tagD |    |  5 |
| tagE |    |  6 |
|------+----+----|
| GT1  | 10 |  9 |
| GT2  |  4 |  9 |
| GT3  |  5 | 11 |

Thanks a lot for your time and attention... :)

25
view more: next ›