From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: Draw a solid horizontal line in a buffer Date: Sun, 10 May 2009 11:28:41 +0200 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1241948892 6495 80.91.229.12 (10 May 2009 09:48:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2009 09:48:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 10 11:48:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M35db-0004oz-Qg for geh-help-gnu-emacs@m.gmane.org; Sun, 10 May 2009 11:48:04 +0200 Original-Received: from localhost ([127.0.0.1]:59996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M35db-0000Fp-AP for geh-help-gnu-emacs@m.gmane.org; Sun, 10 May 2009 05:48:03 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp20-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:BiqAUWvHH8TBy8DEnU949LenHFg= Original-Lines: 25 Original-NNTP-Posting-Date: 10 May 2009 11:28:58 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1241947738 news-4.free.fr 21362 82.240.200.149:49251 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:169042 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64306 Archived-At: Joe Riel 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") ╭─╮ │♠│ ╰─╯