[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: align mysteries

From: dick
Subject: Re: align mysteries
Date: Thu, 14 Oct 2021 15:58:33 -0400
User-agent: Gnus/5.14 (Gnus v5.14) Commercial/28.0.50 (gnu/linux)

I mailed everyone the exact same question on Wed, 17 Feb 2021 19:26:32 -0500.

As near as I can tell, the only sensible solution is this:

(defun line-up (start end)
  "Align columns by whitespace"
  (interactive "r")
  (align-regexp start end
                  "\\(\\s-*\\)\\s-" 1 0 t))

I must have gotten this from stackoverflow, so sorry to whomever wants credit
for this masterpiece.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]