emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten <quintfall@googlemail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-yank improvement?
Date: Thu, 12 Apr 2012 15:56:05 +0200	[thread overview]
Message-ID: <87pqbdkqa2.fsf@googlemail.com> (raw)
In-Reply-To: <87aa2iai44.fsf@gnu.org> (Bastien's message of "Wed, 11 Apr 2012 08:38:03 +0200")

Bastien <bzg@gnu.org> writes:

Hi Bastien,

> Thorsten <quintfall@googlemail.com> writes:
>
>> Memnon Anon <gegendosenfleisch@googlemail.com> writes:
>>
>>> pinard@iro.umontreal.ca (François 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. 
>>
>> 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. 
>> I had to move point to the (only) visible bullet star on the line to find out
>> where I am in the buffer. Maybe only a peculiarity of my color-settings,
>> but nevertheless convincing me not to use clean mode. 
>
> 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?). 

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. 

-- 
cheers,
Thorsten

  parent reply	other threads:[~2012-04-12 13:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 12:47 org-yank improvement? François Pinard
2012-03-04 14:26 ` François Pinard
2012-03-04 15:30 ` Memnon Anon
2012-03-04 15:45   ` Thorsten
2012-04-11  6:38     ` Bastien
2012-04-11  7:07       ` Carsten Dominik
2012-04-11 11:50         ` Bernt Hansen
2012-04-11 12:59           ` Bastien
2012-04-12 14:02             ` Thorsten
2012-04-12 14:28               ` Nicolas Goaziou
2012-04-12 16:59                 ` Thorsten
2012-04-12 13:56       ` Thorsten [this message]
2012-03-04 16:23   ` Bernt Hansen
2012-03-04 16:41     ` Memnon Anon
2012-03-04 18:41       ` Bernt Hansen
2012-04-11  1:31   ` François Pinard
2012-04-11  1:43 ` François Pinard
2012-04-11  6:33   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqbdkqa2.fsf@googlemail.com \
    --to=quintfall@googlemail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).