5 ms·
Beautifying Org Mode in Emacs (2018)
- AutoArchiverBot 3y ago[flagged]
- anotheryou 3y agoObligatory paste, looking so so good: https://lepisma.xyz/2017/10/28/ricing-org-mode/ https://lepisma.xyz/2017/10/28/ricing-org-mode/ Not what I need for todos, but a nice "book view".
- roland35 3y agoI loved working with org mode - but I would occasionally hit some accidental key sequence which would totally blow up my entire document (I am not an eMacs expert so it was probably some vim mode problem)! I also probably tried to over organize things. Maybe with a simpler setup things would work better.
- User23 3y agoDoing C-h l Will let you identify what you did. If it’s a frequent problem you can advise the function in question with a confirmation wrapper or something.
- beretguy 3y agoOf course (!) there is a keybinding for that…
- deleted 3y ago[deleted]
- BeetleB 3y agoIf you're using evil or something similar, I would say that's probably the culprit. Writing in org mode using vanilla emacs should have about the same "surprise" as writing in Notepad. If you have speedkeys enabled (which I doubt is the default), then yes - certain keys at certain positions will cause surprising behavior.
- kjkjadksj 3y agoThis is why I like nano. Easily the simplest editor out there that actually feels like modern command line software and not something vestigial from the 1980s. All I need is syntax highlighting anyhow and nano checks that box after a git pull of someone elses hard work making those rules for every file format under the sun.
- smartmic 3y agoTwo things though. I think org-mode syntax is not the most ergonomic and beautiful. In facts, that's the reason I stick more to Markdown when writing. Second, the problem I see here is that they want to change the source text into a formatted one. Basically introducing WYSIWYG from behind through the knee, but the source is still plain text. Can be done, but comes with challenges and side-effects (there is a reason Enriched Text[^1] never took off - although Richard Stallmann still dreams to have more WYSIWYG capabilities in Emacs) [^1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html https://www.gnu.org/software/emacs/manual/html_node/emacs/En...
- BaculumMeumEst 3y agoWhat do you use for writing markdown? Any recommendations? I use org mode very lightly, mostly just collapsing information I don’t want care about as I’m writing and making formatted tables. I’ve thought about exploring markdown and other editors but I haven’t really seen evidence it would be much of a gain.
- smartmic 3y agoMy main authoring tool is then Emacs Markdown Mode (https://jblevins.org/projects/markdown-mode/ https://jblevins.org/projects/markdown-mode/). For data entry, it comes with some bells and whistles similar to org-mode, like C-c C-l for inserting links etc. I seldom export my notes for external usage, but if it is the case, I use lowdown (https://kristaps.bsd.lv/lowdown/ https://kristaps.bsd.lv/lowdown/) which also comes with some nice output targets (among the more unusual are Groff and Terminal). Of cource pandoc (https://pandoc.org/ https://pandoc.org/) does a very good job here, too.
- dingnuts 3y agonotably, the above mode lacks the single feature the grandparent uses: collapsing sub headings. In addition, it requires an external tool to export org of course can be exported into many formats without an external tool, including several plain text formats and HTML, and is also understood by pandoc
- norman784 3y agoAny recommendation on how to get started with emacs? I tried it a few years ago and was so hard to use it, after that I switched to nvim, but now I have interest in learning emacs again.
- bananapub 3y agoeither: 1. go through the entire built-in tutorial (which it will prompt you about on first load) 2. just adopt doomemacs or spacemacs, which are very large complicated default configs that are easier for vim users to start with
- cmrdporcupine 3y agoMany configuration-ish things that were hard a few years ago are now way easier. with emacs 29+. There's way fewer reason to reach for doomemacs etc now because package management, configuring LSP mode, etc is much cleaner these days. In some ways working through setting up your .emacs the way you want it is a great way to learn the tool.
- seanw444 3y agoAgreed. It's gotten easier. If I was starting Emacs from scratch again, I'd probably write my own vanilla config. But Doom helped introduce me when the concept was bizarre and foreign to me, and I'm very grateful for that. Now I'm comfortable with my Doom config, and it works great, so I have little incentive to ditch it.
- cmrdporcupine 3y agoThe problem I have with doom and spacemacs is that it seems to be bringing people into the emacs community using the vi keybindings as default, including people who were not vim users before... which is... strange. Vanilla Emacs keybindings, or cua-mode, are fine, and probably less of a learning curve than going modal. If you're already in that headspace, all power to you, but half the reason I got into emacs in the first place was because I couldn't stand vi.
- 3y ago
- phforms 3y agoI actually don’t like the text that I am working on to look like a refined press article in a magazine, a beautifully typeset page from a book or a nice looking website. It is not a published text. It should look rough, unfinished, unrefined and functional (to me). When I write on a piece of paper, my handwriting looks ugly, irregular, misaligned and maybe there are some drops of ink splattered around, so I don’t want my editor to make me believe that my writing looks presentable. For Org Mode, my main concern is that I want to quickly identify the structure of my documents and differentiate all the relevant parts visually. I like to keep font sizes and spacings small to fit as much text (= context) on my screen as possible. I also like using monospace fonts because it feels more like working on a draft (e.g. with a typewriter) to me and I can work more spatially with text (e.g. making little diagrams or figurative text arrangements) which would not be possible with proportional fonts. When everything looks too good/refined, I get distracted by wanting to shape my text to make it fit in that perfect environment. Then there is no space for swift notes, unfinished drafts, rough edges and this becomes a problem, since I am already a compulsive perfectionist and like to waste a lot of time with irrelevant details. Of course, this is just my personal preference, so I am not saying that this is how it should be. Maybe I am just trying to understand why I like it better this way.
- nanna 3y agoI wrote exactly the same thing before reading your comment. I completely agree. For me one of the great things about writing in Emacs is the distinction about my personal draft and my published outuput, which is expressed by the distinction between a 'typewriter' fixed-width font and a beautiful LaTeX processed output. Blurring that distinction produces an anxiety.
- yumraj 3y agoDoes anyone know of any good video Emacs tutorial that start from the very beginning to, say, org mode? I can use basic vi, have for a long time, but can never make sense of Emacs and probably my impatience doesn’t lend well to reading and trying..
- aquariusDue 3y agoI recommend either the videos from System Crafters or Gavin Freeborn, those helped me a lot when I tried out Emacs. https://www.youtube.com/@SystemCrafters https://www.youtube.com/@SystemCrafters https://www.youtube.com/@GavinFreeborn https://www.youtube.com/@GavinFreeborn
- sourcepluck 3y agoI enjoyed the article, but just wanted to say in case the author sees this: it's "whet" one's appetite. I don't know why. If it was me, I'd be thrilled if someone told me, so I'm taking that risk.
- jerrycruncher 3y ago> I don't know why. 'Whet' means to sharpen (whetstones are used to sharpen knives, for example), so whetting one's appetite means to sharpen appetite, or to make one hungrier (for knowledge, food, whatever).
- sourcepluck 3y agoOh lovely! Won't forget it now. Cheers
- fallowx 3y agoAs much as I love emacs beautifying it almost seems redundant when the font rendering and symbols are so blurry and ugly anyway
- nequo 3y agoAre you running it via Xwayland? If you compile Emacs with ./configure --with-pgtk, the blurriness disappears. It’s a fractional scaling thing that does not interoperate well with X stuff.
- fallowx 3y agoI'm on mac so unfortunately not, I've done a lot of hacking to get my fonts looking mostly correct though. I've noticed a lot of screenshots and screenshares of people using emacs look similarly blurry though including the screenshots in this blog post.
- widdershins 3y agoInteresting. Fonts looks beautifully sharp in Emacs on my Mac. I don't use any variable-width fonts however, only monospace.
- deleted 3y ago[deleted]
- yankcrime 3y agoI think the work Nicolas Rougier has done on "beautifying" Emacs (including org-mode) is about the best that's been done, examples and code: https://github.com/rougier/notebook-mode https://github.com/rougier/notebook-mode https://twitter.com/NPRougier/status/1576635498264760325/photo/1 https://twitter.com/NPRougier/status/1576635498264760325/pho... https://github.com/rougier/nano-emacs https://github.com/rougier/nano-emacs
- bloopernova 3y agoI wonder if that notebook mode (which looks great) works well with dark background and light text? I really want to mess with this, but I have zero time for yak shaving right now. Too many deliverables for this week :/
- rhaps0dy 3y agoNo but you can use the 'dark background' style sheet in matplotlib (https://matplotlib.org/stable/gallery/style_sheets/dark_background.html https://matplotlib.org/stable/gallery/style_sheets/dark_back...) and then it would work. But if you have zero time for yak shaving I wouldn't try it anyways :)
- sph 3y agoAlso on arXiv: "On the design of text editors" https://arxiv.org/abs/2008.06030 https://arxiv.org/abs/2008.06030
- maCDzP 3y agoWhen I used Emacs I went for nano, it’s pretty.
- jiehong 3y agoIndeed! I remember liking "elegance" at the time[0] by the same author. [0]: https://github.com/rougier/elegant-emacs https://github.com/rougier/elegant-emacs
- NeutralForest 3y agoThere's also the excellent `org-modern`. https://github.com/minad/org-modern https://github.com/minad/org-modern
- bloopernova 3y agoOh that is really nice too, thank you for sharing it. My current Emacs setup looks so ugly compared to these makeovers.
- NeutralForest 3y agoAnything by minad is great tbh!