From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Right justify the comments starting from the position of `#' for all lines. Date: Mon, 27 Sep 2021 23:18:00 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28545"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Daniel Fleischer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 27 17:23:33 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUsTc-0007Aa-4H for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 17:23:32 +0200 Original-Received: from localhost ([::1]:38262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUsTa-0005Q8-0j for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 11:23:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUsOV-0001eE-9X for help-gnu-emacs@gnu.org; Mon, 27 Sep 2021 11:18:15 -0400 Original-Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]:41866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUsOR-0000WM-TX for help-gnu-emacs@gnu.org; Mon, 27 Sep 2021 11:18:13 -0400 Original-Received: by mail-vk1-xa30.google.com with SMTP id h132so7097248vke.8 for ; Mon, 27 Sep 2021 08:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G+Xnpe1JOqlwtugl8qo4zFHYSffOlYatGXV+X1hcCsU=; b=XvYtLCZJF49B1+YLivuCuntS1JECzlz7qexv1wnvAi+IeGX+llXUzdAV3OaiG+TI5/ jitGn2+VK2Uf0q2Fh5A0LfX5NZhVrL0Pl/zbmijUWyn6e5J4dA5nNM01FLNy3LSqdHCC sXk5rRAHxphetgzc7LZsr0njHvPfLfprb5o78R7UGA3KlAi2I85Cj8E5Hn4hN4WelTFL 8JzSjFHp1rxfRSeQWeZB82jXBr3tUCf0/kqdQVRZCZn2E43uCeHsU+0d2ZEstSlco78E 3oYKZRq97Lz+s6sKgepvMmB07hukc1gM+icEooQMl9x7vgt1d8vlDcmbIf0Kflp7oOHG W7Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G+Xnpe1JOqlwtugl8qo4zFHYSffOlYatGXV+X1hcCsU=; b=vGSkM4uXLJwVtrwVTu1qjy7PpY0QvbQG8ujHRE5ygBefBGJLNelrYq5VioRtM+T+kY Ck9mkIvIR5Y0NyPIX6DMYqbfMdw+rw7z62HorMac0kBwFVND9KCvqtUO1UeoKVD/s7VE uIaV5VqFQCuEY5EVLxmGch41FSeC4iTQwc6H9jX4+GAEojjn/edQ6rWYe9XhKJkt1LPg oq7LjpqREVmCQFTZp9E1jm3fm25LhSkI+cuJb5AhxS4xh31YSwB2PTt9C1Zsg7rS49/S POKbbIvb50cawxYoMWzUrw9nMvgygoYv4T4Ssl1Ty/0eIxYcXXquTcyJhjNYP2nECVaA tauQ== X-Gm-Message-State: AOAM532zZnjDgLMFpzzCjjoAZtuQ07W+W6MIuVyo2g0bPgR+rw+l8tRm CFUahBVc9GZScVh5stIaxti2QbiftfTKmNl85lU= X-Google-Smtp-Source: ABdhPJwVr1RhinxpMRmX2T/bsswxxb6GtHz4OUY9Y33TJGZNNInVBWwVckNXLdzXhWlYVdZyKyJo8KW3CtLcNTjtLr4= X-Received: by 2002:a1f:2209:: with SMTP id i9mr154267vki.14.1632755890882; Mon, 27 Sep 2021 08:18:10 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::a30; envelope-from=hongyi.zhao@gmail.com; helo=mail-vk1-xa30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133297 Archived-At: On Mon, Sep 27, 2021 at 10:43 PM Daniel Fleischer wrote: > > Hongyi Zhao [2021-09-27 Mon 22:04] wrote: > > > Thank you very much. It really works. BTW, how to adjust/control/set > > the position of the starting '#' in the ultimate aligned results? > > Call the function with 'C-u'. It will ask you some questions, use the > same '#' but you now can specify the "amount of spacing". > > Another option is using the wonderful CUA-rectangle mode. It's very (!) Do you use `!' for emphasizing? > powerful but a bit hidden, see https://emacs.stackexchange.com/a/16902 > for documentation. The corresponding source code is located at . > It allows you to create blocks, fill them with > strings, fill them with integers series, insert/append text, kill, > reverse, align, sort and more. Thank you for letting me know about it HZ