Emacs

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

kickingvegas,
@kickingvegas@sfba.social avatar

Ever been too scared to use the #Emacs 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/

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.

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

@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

yeti,
@yeti@emacs.ch avatar

@mms

The newline is part of uname -a's output. At least where I tested it.

And I'm not claiming there is something wrong, but a) I did not find " mentioned in Org's manual and b) I do not like that asymmetry because it screws up syntax highlighting even more than NoWeb alone and c) even without (b) I think " always should appear in pairs and d) I'm old enough to legally use senile stubbornness as superpower! ​ :-P

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.

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.

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