From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: Re: Change visibility for bracket links Date: Thu, 13 Oct 2016 19:46:16 +0200 Message-ID: <20161013174616.uqoku6p5z7pg5mqt@len.workgroup> References: <87bmyyold3.fsf@nicolasgoaziou.fr> <65e1130f-ec6f-1409-e135-01acca1d1f53@grinta.net> <87r37lonua.fsf@nicolasgoaziou.fr> <6054e2d8-ce7b-de83-f35a-ba5103325d29@grinta.net> <87h98g5u67.fsf@nicolasgoaziou.fr> <87oa2oph5h.fsf@gmail.com> <878tts5svn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buk5z-0007FY-5Y for emacs-orgmode@gnu.org; Thu, 13 Oct 2016 13:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buk5v-00006K-JG for emacs-orgmode@gnu.org; Thu, 13 Oct 2016 13:47:06 -0400 Received: from mout.gmx.net ([212.227.15.18]:56062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buk5v-00004q-8Z for emacs-orgmode@gnu.org; Thu, 13 Oct 2016 13:47:03 -0400 Received: from len.workgroup ([84.189.139.105]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LskKv-1asUZQ0MMz-012KZt for ; Thu, 13 Oct 2016 19:47:01 +0200 Content-Disposition: inline In-Reply-To: <878tts5svn.fsf@nicolasgoaziou.fr> 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 Hi Nicolas, org-mode users and developers, * Nicolas Goaziou [13. Okt. 2016]: > Aaron Ecay writes: >> My understanding of the problem is that when link fontification is >> turned on, it is impossible to tell between the two marked positions >> when point is in in a link like: >> >> [[http://google.com][Search]] >> ^ ^ >> >> My suggestion is that we solve the problem in a different way: by >> changing the color of the cursor when the text is inside the link. >> So, the cursor would be the default grey color at the first ^ above, >> and red at the second ^? (Of course, the color we use for the cursor >> in links could be changed by customization). It looks like such an >> effect is achievable by combining the cursor-sensor-functions text >> property with set-cursor-color. >> >> WDYT? > > That would only partly solve the problem. Cursor's color would tell you > where you are, but the dance (e.g., C-a or backward-forward) is still > needed to effectively move to the other side. But this is a cursor movment problem then. How about org-beginning-of-link, org-end-of-link (this already works with org-next-link as some kind of a substitute of org-beginning-of-link)? Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-