From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: org: Fix tag width calculation for multi-column chars Date: Thu, 02 Jun 2016 20:29:39 +0900 Message-ID: <87mvn3akws.wl@dns1.atmark-techno.com> References: <87wpmar7b4.wl@dns1.atmark-techno.com> <87k2iaknbh.fsf@saiph.selenimh> <20160601055704.GB19879@gmail.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Qp0-0000Pn-8W for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 07:29:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8Qou-0006Kd-8E for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 07:29:53 -0400 Received: from p654789.hkidff01.ap.so-net.ne.jp ([121.101.71.137]:52205 helo=gw.atmark-techno.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Qot-0006Jz-UR for emacs-orgmode@gnu.org; Thu, 02 Jun 2016 07:29:48 -0400 Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by gw.atmark-techno.com (Postfix) with ESMTPS id 1D8D52017D for ; Thu, 2 Jun 2016 20:29:43 +0900 (JST) Received: by mail-pf0-f198.google.com with SMTP id b124so50209547pfb.1 for ; Thu, 02 Jun 2016 04:29:43 -0700 (PDT) In-Reply-To: <20160601055704.GB19879@gmail.com> 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 On Wed, 01 Jun 2016 14:57:04 +0900, Georgiy Tugai wrote: > > 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? Or, right align to the edge of your window would be nice. > 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. I'm not an expart but links in org document uses text property for display? -- yashi