1. 30
  1.  

  2. 3

    This is a great post. Thank you for submitting it!

    I don’t use emacs but there’s a lot of universally useful stuff in here.

    1. 2

      Ah, found some nice inspiration. Still, one thing I miss is to have justified text in variable-pitch-mode. If someone knows how to achieve that, I’d be grateful for a pointer. Enabling visual-line-mode does not really cut it for me, because it does not play well with lists (subsequent visual lines are not indended as they should be). So, instead I use auto-fill-mode currently. But it’s always only left-aligned.

      1. 1

        I am not sure how to enable it by default, but fill-paragraph receives an optional argument to justify the text. In case you have not modified it, C-u M-q should manually do what you want. If you find a way to override the default function that auto-fill-mode uses, setting it to something along the lines of (apply-partially fill-paragraph 1) should work.

        1. 1

          I am not sure how to enable it by default, but fill-paragraph receives an optional argument to justify the text. In case you have not modified it, C-u M-q should manually do what you want.

          I am aware of this function, but it does not do what I want. With prefix argument, it justifies the text for a monospace font. I am using variable-pitch-mode, i.e. a variable-width font. With variable-pitch-mode on, using fill-paragaraph with a prefix argument has nearly no visible effect.

          1. 1

            Oh, sorry, I completely misunderstood the question. I don’t use variable-pitch-mode a lot, so I have no clue if that can be achieved somehow.