unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Draw a solid horizontal line in a buffer
Date: Sun, 10 May 2009 11:28:41 +0200	[thread overview]
Message-ID: <m28wl5488m.fsf@free.fr> (raw)
In-Reply-To: mailman.6914.1241899822.31690.help-gnu-emacs@gnu.org

Joe Riel <joer@san.rr.com> writes:

> Is there a way to draw a solid horizontal line in a buffer?
> Both hypens and underscores, at least in the font I use,
> have gaps between them.


C-u 80 C-q 1110041
or evaluate   
(make-string 80 ?\u2501)

This gives
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

which should appear as a solid horizontal line if you have unicode support.
See http://www.unicode.org/charts/PDF/U2500.pdf for the list of unicodes
related to box drawing. Some examples:

(make-string 80 ?\u2500)
────────────────────────────────────────────────────────────────────────────────

(insert "\n\u256D\u2500\u256E\n\u2502\u2660\u2502\n\u2570\u2500\u256F\n")
╭─╮
│♠│
╰─╯


  parent reply	other threads:[~2009-05-10  9:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6914.1241899822.31690.help-gnu-emacs@gnu.org>
2009-05-10  6:51 ` Draw a solid horizontal line in a buffer Dmitry Dzhus
2009-05-10  8:48   ` Peter Dyballa
2009-05-10  9:28 ` harven [this message]
2009-05-09 20:10 Joe Riel

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=m28wl5488m.fsf@free.fr \
    --to=harven@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).