unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Joe Corneli via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel@gnu.org
Subject: splash screen column alignment
Date: Tue, 01 Jun 2021 15:26:53 +0100	[thread overview]
Message-ID: <87fsy1mziq.fsf@Proteus> (raw)

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

Depending on the size of the font I use, alignment of the text in the
*GNU Emacs* buffer (which is done with single tabs) may or may not work
properly.  I’ve found this would be fixed by starting with 2 tabs
separating the columns, and then running:

(align-regexp (point-min) (point-max) "\\(\t\\)[A-Z]")

as part of the construction of the buffer.

I’ve attached some images showing

• the expected behaviour appearing by luck
• the flaw
• the fix (with whitespace mode enabled to highlight the point).


[-- Attachment #2: aligned.png --]
[-- Type: image/png, Size: 172484 bytes --]

[-- Attachment #3: unaligned.png --]
[-- Type: image/png, Size: 146346 bytes --]

[-- Attachment #4: whitespace.png --]
[-- Type: image/png, Size: 171926 bytes --]

[-- Attachment #5: Type: text/plain, Size: 279 bytes --]


-- 
Dr Joseph A. Corneli (https://github.com/holtzermann17)

HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated
25th, June 2019 as Company Number 634284 on the Register of Companies for
Scotland (https://beta.companieshouse.gov.uk/company/SC634284).

             reply	other threads:[~2021-06-01 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 14:26 Joe Corneli via Emacs development discussions. [this message]
2021-06-01 15:30 ` splash screen column alignment Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsy1mziq.fsf@Proteus \
    --to=emacs-devel@gnu.org \
    --cc=joseph.corneli.em@hyperreal.enterprises \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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).