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.
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.
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.
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.
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. Enablingvisual-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 useauto-fill-mode
currently. But it’s always only left-aligned.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 thatauto-fill-mode
uses, setting it to something along the lines of(apply-partially fill-paragraph 1)
should work.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. Withvariable-pitch-mode
on, usingfill-paragaraph
with a prefix argument has nearly no visible effect.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.