From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: cursor-type as bar Date: Sun, 12 Mar 2006 00:06:43 +0200 Organization: JURTA Message-ID: <87d5gshc0c.fsf@jurta.org> References: <440DA0D1.2050608@iue.tuwien.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142116692 800 80.91.229.2 (11 Mar 2006 22:38:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 22:38:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 23:38:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FICir-0001x7-Ko for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 23:38:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FICir-0002UY-5x for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 17:38:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FICh8-0001fV-L9 for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FICh6-0001eI-RL for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FICh6-0001eA-DH for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:16 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FICki-0006a8-3s for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:40:00 -0500 Original-Received: from mail.neti.ee (80-235-46-190-dsl.mus.estpak.ee [80.235.46.190]) by Relayhost2.neti.ee (Postfix) with ESMTP id C66D11331A; Sun, 12 Mar 2006 00:36:14 +0200 (EET) Original-To: Markus Gritsch In-Reply-To: <440DA0D1.2050608@iue.tuwien.ac.at> (Markus Gritsch's message of "Tue, 07 Mar 2006 16:03:45 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51492 Archived-At: > I would like to use a bar cursor, instead of a block cursor. > (setq default-frame-alist '((cursor-type . (bar . 2)))) I use the same cursor type and have the same problem. > The problem is, that the bar cursor is drawn like a block cursor, only > using a smaller width. Actually, the way currently the bar cursor is drawn is worse than drawing the block cursor. The block cursor inverts the colors of the underlying character, but the bar cursor partially or completely overlaps it. > To really be usable, the bar cursor should be drawn *between* the > characters, e.g. shifting it width/2 pixels to the left. I agree this would be much better, but what to do if the distance between the characters in pixels is less than the width of the bar cursor? It seems overlapping is unavoidable. -- Juri Linkov http://www.jurta.org/emacs/