From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgiy Tugai Subject: Re: org: Fix tag width calculation for multi-column chars Date: Wed, 1 Jun 2016 15:27:04 +0930 Message-ID: <20160601055704.GB19879@gmail.com> References: <87wpmar7b4.wl@dns1.atmark-techno.com> <87k2iaknbh.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7z9Z-0002cp-7c for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 01:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7z9T-0006y4-8Y for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 01:57:16 -0400 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]:33943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7z9T-0006xs-2C for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 01:57:11 -0400 Received: by mail-pf0-x235.google.com with SMTP id 62so8202993pfd.1 for ; Tue, 31 May 2016 22:57:10 -0700 (PDT) Received: from gmail.com ([101.166.208.194]) by smtp.googlemail.com with ESMTPSA id tn7sm59209082pac.29.2016.05.31.22.57.07 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 22:57:08 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 31 May, Samuel Wales wrote: > i wonder if this also fixes tags for variable pitch (proportional) > fonts. i have been having great success with variable pitch fonts and > it would be great if this fixes tags for them too. >=20 > --=20 > The Kafka Pandemic: http://thekafkapandemic.blogspot.com >=20 > The disease DOES progress. MANY people have died from it. And > ANYBODY can get it. >=20 > Denmark: free Karina Hansen NOW. >=20 I'm not sure if this is the right place to ask, but would it be possible to implement, for lack of better terms, "virtual" tag positioning? In other words, the tags in the actual file are placed as usual (org-tags-column), but if a new variable (say, org-tags-column-display) is set, an overlay is placed onto each tag which results in the tags being shown at that location rather than where they actually are in the line? I understand that this violates "what you see is what is in the file"; however, this would allow (I believe) easier handling of windows where org-tags-column is wider than the window, as well as variable font sizes (f.e. some themes use large font sizes for headings, which interferes with tag positioning). If this can be done and doesn't violate any of Org's design principles, I would appreciate some pointers on where to hook into Org to implement such a mechanism. Regards, Georgiy --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXTnkwAAoJEFTCINVvWbOZYSoIAJXJUdAEkEJlTnpGe32igt/W TsoffRQQieQAhZQWoTUH3T0RptMxRdk8B5de4i9N+CAmEzgfn0Qsz0hvOMrH1joL y1SGc/twRNoKTrfAUsKBu56Htgl5v2aeOz92d5N53CA8B0ZU6Ufbo0uTu2Ek1yFb IutdDO6rp+24NVCjnOjgQ6aZMfAIq//pNaasoZXUG5ixyNMSgmQ1AGvR0Wk4aNEL rTegA/y8W9cI9avH1146FBaZXGj0nfanZD3ZguwXgnk6ONHQfZUak2OrQJG4wEBp op0G4OcwflhH0iei2LEcdNgoa7zhBO7j6lIDYOwWHsgMyctLkEEma+3F+Gdb56U= =QeGV -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--