unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Right justify the comments starting from the position of `#' for all lines.
@ 2021-09-27  9:54 Hongyi Zhao
  2021-09-27 13:25 ` Daniel Fleischer
  2021-09-28  3:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 6+ messages in thread
From: Hongyi Zhao @ 2021-09-27  9:54 UTC (permalink / raw)
  To: help-gnu-emacs

Suppose I've the following code snippets:

foo ...              # foo comments
     bar ...     # bar comments
          baz ...            # baz comments
[...]

Now, I want to right justify the comments starting from the position
of `#' for all lines. Any hints/tips for achieving this goal?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



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

end of thread, other threads:[~2021-09-28  3:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-27  9:54 Right justify the comments starting from the position of `#' for all lines Hongyi Zhao
2021-09-27 13:25 ` Daniel Fleischer
2021-09-27 14:04   ` Hongyi Zhao
2021-09-27 14:43     ` Daniel Fleischer
2021-09-27 15:18       ` Hongyi Zhao
2021-09-28  3:39 ` Emanuel Berg via Users list for the GNU Emacs text editor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).