Emacs

2201 readers
3 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
26
0
Emacs RFC 2646 email flowing (idiomdrottning.org)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 
 

Emacs RFC 2646 email flowing

Heck it Emacs!

A few months ago I fixed a bug in RFC 2646 handling where the last paragraph wouldn't get reflowed unless I remembered to add a hard newline (that is, a newline with the 'hard text property) after it, at EOT. I needed to hit one extra RET at the end. All other paragraphs would be wrapped, not just the last one.

(I even bugged @[email protected] about it.)

But it still didn't always work and today I tried to get to the bottom of why, spending the entire day debugging it, finally realizing that... It's not even being called when there's only one paragraph in the email. I wasted so much time before realizing that! And then getting to the bottom of why that wasn't happening was the opposite of easy but it turnes out that Gnus by design doesn't call the fill-flowed-encode function when there aren't any hard newlines in the buffer. Which there aren't gonna be if it's a single-paragraph letter ๐Ÿคฆ๐Ÿปโ€โ™€๏ธ

Use-hard-newlines is beyond useless since that's always buffer-local and the text-reflowing is being done in a temp buffer. Instead since 2010 we're supposed to set mml-enable-flowed to true. But don't worry, fans of the messages-are-flowing package, I'm gonna send patches there to reflect that. I have a bunch of other changes to that package too since I've been using that a lot this summer.

This is all in bug#71017 (cursed palindrome!) for people who wanna dig in ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿซ

@[email protected]

27
 
 

As a long time Vimmer, I have recently started using Emacs out of sheer curiosity. I chose Doom Emacs as it has evil-mode enabled by default, and do not want to dive down the rabbit hole of configuring the editor from scratch (at least, not yet!).

After installing and enabling libvterm in Emacs, I am having a frustrating experience. I configured ZSH shell to use vi-mode keybindings which interferes with evil-mode whenever I press Esc or C-[.

After having searched a little, I came across a workaround to disable evil-mode when in vterm. But it is still not a smooth experience. For instance, when switching between buffers (C-w C-w).

I would like to know how others in the community tackled this problem. Is there a better solution to this problem? Or have you made peace with the aforementioned workaround? Or have you stopped using vterm entirely?

28
29
 
 

my talk from this past EmacsConf, Programming with Steno, was featured on the Plover Blog.

I talk about what steno is (hitting multiple keys at once to send whole words).

then at 2:43 I show skeletons in action. skeletons are expansion text with structure, super useful for boilerplate code and, really, code in general

at 10:08, I show Lem.

at 13:33, I show how to use search with steno (steno adds spaces to the end, so I have to show how to deal with that)

at 16:46, I talk about the Space Cadet Keyboard (and the other modifiers, Alt, Hyper, and Super)

those are probably the most interesting parts to people here. here is a link to the video : https://www.youtube.com/watch?v=McHurKmk-rQ

30
 
 

Hey guys, I think I get the basic idea, but I have a few questions..

  1. How do I just open up a note to check it out? I can see just opening the file regularly, but having each file start with a long sting of numbers leads me to think there's some nicer, easier way.

  2. How do I go about having multiple "networks" one for work and one for home, etc. Do I just use folders?

Thanks guys!

31