all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* autoformat (like clang-format) elisp code?
@ 2022-03-17  9:15 Juan José García-Ripoll
  2022-03-17  9:44 ` Óscar Fuentes
  2022-03-17 22:19 ` Michael Heerdegen
  0 siblings, 2 replies; 7+ messages in thread
From: Juan José García-Ripoll @ 2022-03-17  9:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I know this is a very opinionated topic, but I have become used to
clang-format in my C++ projects as a tool that automatically formats
_all_ of my code, without me thinking much about it.

Is there a way to enable Emacs do this for Emacs lisp files? The idea is
that, as in clang-format, one can specify a stype (e.g. GNU in this
case) and let the software handle indentation, wrapping and formatting
on save (not necessarily while editing).

Cheers,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-25 23:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-17  9:15 autoformat (like clang-format) elisp code? Juan José García-Ripoll
2022-03-17  9:44 ` Óscar Fuentes
2022-03-17 10:06   ` Juan José García-Ripoll
2022-03-17 12:14     ` Óscar Fuentes
2022-03-17 22:19 ` Michael Heerdegen
2022-03-25  9:43   ` dal-blazej
2022-03-25 23:19     ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.