Skip to main content

Questions tagged [formatting]

is for text formatting and manipulating text attributes. Emacs formatting facilities include adding, changing, and describing fonts, faces, and colors. The complexity of the formatting functions depends on the major mode and customizations. Use this tag for questions about formatting time strings and mode-line also.

0 votes
0 answers
140 views

I'm using bash-language-server with Eglot. This LSP uses the external shfmt program for code formatting, eglot-format-buffer to be exact. The shfmt tool has a bunch of switches like --case-indent. I ...
Zeta.Investigator's user avatar
0 votes
1 answer
120 views

This problem has been driving me mad for a couple days now. The basic problem: I would like bibliography entries to be separated by a blank line, rather than right next to each other. Currently I am ...
Vegas Harmon's user avatar
0 votes
0 answers
83 views

When editing an existing docstring in Google style you need to call a function like fill-paragraph to cut the long lines while preserving the proper indentation. However fill-paragraph will not work ...
olivaw's user avatar
  • 151
0 votes
0 answers
207 views

I have a python program that I edit in emacs. However, sometimes when I save it, it gets re-indented, and in doing so, messes up the indentation of sections, where I have some code and then some ...
Christopher Clark's user avatar
3 votes
2 answers
378 views

When sorting text with Emacs, the result is wrong for accented characters: Always Emerald Yesterday Zoo À la campagne Âge Écarlate Être Here is the result I would like instead: À la campagne Âge ...
Carapuce's user avatar
0 votes
1 answer
93 views

You are an American in a British company. The company requires all your saved files to use the spelling "colour". You can't bear to look at anything other than "color" so you want ...
Tumok A. Byrd's user avatar
0 votes
1 answer
222 views

I have blacken-mode enabled on all python buffers like this: (add-hook 'python-mode-hook (lambda () (blacken-mode 1) ;; other config )) But on some ...
suvayu's user avatar
  • 1,678
0 votes
2 answers
2k views

How can I change formatter used for specific file type in doom-emacs format module? So far I've been happy with using mostly doom defaults and haven't gotten into writing custom configurations and ...
AnonymousBadger's user avatar

15 30 50 per page
1
2 3 4 5
9