From: Carsten Dominik <carsten.dominik@gmail.com>
To: Matt Price <matt.price@utoronto.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org-indent-mode and visual-line-mode
Date: Fri, 20 Nov 2009 14:54:31 +0100 [thread overview]
Message-ID: <18D98A36-AC0D-4952-A106-180CF37C82BB@gmail.com> (raw)
In-Reply-To: <1258722206.10710.1265.camel@gont>
Hi Matt,
can you please try the following patch?
-------------------------------------------------------------------------------
diff --git a/lisp/org-indent.el b/lisp/org-indent.el
index afce59f..53db9be 100644
--- a/lisp/org-indent.el
+++ b/lisp/org-indent.el
@@ -106,8 +106,8 @@ this variable can be set to nil to get rid of the
timer."
;; Initialize the indentation and star vectors
(setq org-indent-strings (make-vector (1+ org-indent-max) nil))
(setq org-indent-stars (make-vector (1+ org-indent-max) nil))
- (aset org-indent-strings 0 "")
- (aset org-indent-stars 0 "")
+ (aset org-indent-strings 0 nil)
+ (aset org-indent-stars 0 nil)
(loop for i from 1 to org-indent-max do
(aset org-indent-strings i
(org-add-props
--------------------------------------------------------------------------------
Also, you should have (I believe you do)
(setq org-startup-truncated nil)
Let me know if this solves the problem
- Carsten
On Nov 20, 2009, at 2:03 PM, Matt Price wrote:
> On Fri, 2009-11-20 at 08:28 +0100, Carsten Dominik wrote:
>
>> Hi Matt,
>>
>> personally, I never use visual-line-mode, mainly because cursor
>> motion
>> becomes unpredictable to me (down doe not get me into the next line,
>> so for example keyboard macros are much harder to make to
>> consistently).
>>
>> That said, I would expect that what you are describing should work,
>> and my memory is also that it used to work - after all, I implemented
>> not only line-prefix, but also wrap-prefix in org-indent-mode. I am
>> quite sure that this used to work.
>>
>> I am not sure how to proceed. Someone would have to bisect Emacs to
>> find which commit changed this behavior. Or maybe at lease someone
>> can try with a vanilla 23.1 Emacs? If it works there, we might have
>> enough to file a bug report.
>>
>
> I just tried it on the ubuntu karmic emacs23 packages. I get the same
> behaviour i was seeing before. In case my description is
> misleading, i
> just made a couple of screenshots and posted them here:
> http://www.derailleur.org/screenshots/
> one shows some quick text when indent-mode is enabled, the other shows
> it with indent-mode disabled.
>
> anyway if you have any ideas how i might help that'd be great --
> bisecting the code is probably beyond what i can easily do but i could
> try to dig around a bit somehow.
>
> thanks - i appreciate how much effort you put into this carsten! -
>
>
> matt
>
>
> --
> Matt Price
> matt.price@utoronto.ca
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2009-11-20 13:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 20:07 org-indent-mode and visual-line-mode Matt Price
2009-11-19 13:17 ` Carsten Dominik
2009-11-19 15:20 ` Matt Price
2009-11-19 22:33 ` Ben Finney
2009-11-20 2:12 ` Matt Price
2009-11-20 2:17 ` Ben Finney
2009-11-20 7:28 ` Carsten Dominik
2009-11-20 13:03 ` Matt Price
2009-11-20 13:21 ` Carsten Dominik
2009-11-20 13:54 ` Carsten Dominik [this message]
2009-11-20 15:10 ` Matt Price
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=18D98A36-AC0D-4952-A106-180CF37C82BB@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=matt.price@utoronto.ca \
/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).