From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Subject: Re: org-yank improvement? Date: Thu, 12 Apr 2012 15:56:05 +0200 Message-ID: <87pqbdkqa2.fsf@googlemail.com> References: <87ipikr0r0.fsf@iro.umontreal.ca> <8762ekiehm.fsf@mean.albasani.net> <87fwdo4bf1.fsf@googlemail.com> <87aa2iai44.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIKTi-0006ev-7R for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 09:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIKTa-0001Yp-4i for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 09:54:25 -0400 In-Reply-To: <87aa2iai44.fsf@gnu.org> (Bastien's message of "Wed, 11 Apr 2012 08:38:03 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: Hi Bastien, > Thorsten writes: > >> Memnon Anon writes: >> >>> pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: >> >>>> However, by mistake, it happens that the cursor is on the only visible >>>> bullet star of the next heading instead of really being at the start >>>> of the line.=20 >> >> I recently edited some org files in clean mode for the first time (It >> might be the default mode on Worg?) and was surprised and a bit confused >> that my cursor(point) was invisible when on the invisible bullet stars >> at the beginning of the line.=20 >> I had to move point to the (only) visible bullet star on the line to fin= d out >> where I am in the buffer. Maybe only a peculiarity of my color-settings, >> but nevertheless convincing me not to use clean mode.=20 > > Then we should fix org-indent.el accordingly. > > (Please avoid "Clean mode" as a way to refer to org-indent, it suggests > other views are not clean! Maybe the doc should be updated wrt this.) > > I must confess I'm not a user of org-indent. I have been testing it a > few times and always had the feeling it goes against Org's "What You See > is What You Have" core principle. But let's fix bugs in it anyway. It might not really be a bug. I just double-checked in both my console and my X11 session, and the symptom only appears in the console session (overlays not visible?).=20 So, on a user level, the solution might be to activate org-indent-mode conditional of the display type, something like this: ,------------------------------------------------------------------- | (defun my-org-indent-conditional-activation-function () | "Activates org-indent-mode conditional on the display type." | (if (display-graphic-p) | (setq org-indent-mode t))) `------------------------------------------------------------------- If Emacs is used 'the standard way', call this function once in your .emacs should suffice. When using one Emacs daemon with many Emacsclients in console as well as X11 sessions (as I do), this function should be added to the server-visit-hook, so each emacsclient acts conditional on the display-type of his session.=20 --=20 cheers, Thorsten