emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Ben Alexander <bva@alexanderonline.org>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: org-cycle broken when cursor is at ellipses
Date: Mon, 27 Oct 2008 09:47:31 +0100	[thread overview]
Message-ID: <8DEE8DD7-68CD-446A-96C5-1760A0686CFE@uva.nl> (raw)
In-Reply-To: <81B9C939-99A0-4F6F-9F40-E782F263BFE0@alexanderonline.org>


[-- Attachment #1.1: Type: text/plain, Size: 2304 bytes --]

Hi Ben

this is what I do not like about AquaEmacs, that it installs all kinds  
of defaults which you might not want.

You can turn off saveplace with

(setq-default save-place nil)

You might still have to remove places.el.



Or you can make sure that the cursor always starts out at the  
beginning of a visible line with

(add-hook 'org-mode-hook
    (lambda () (let (org-special-ctrl-a/e) (org-beginning-of-line))))

Then saveplace will get its will by moving the cursor to the recent  
location, but the cursor would be moved to the beginning of a visible  
line near that location.



Or you can make sure that the point visited by saveplace will be  
visible, with

(eval-after-load "saveplace"
   '(defadvice save-place-find-file-hook (after org-make-visible  
activate)
      "Make the position visible."
      (org-bookmark-jump-unhide)))

I am actually putting this last piece of code into org.el.

HTH

- Carsten


On Oct 26, 2008, at 8:49 PM, Ben Alexander wrote:

> So about this bug...
>
> I think I've figured out why I get this so often.  I use Aquamacs on  
> MacOS X, and it seems to store (in ~/Library/Preferences/Aquamacs  
> Emacs/places.el) a list of files and values for point.
>
> Something about the timing of this means that point is left  
> somewhere in the body (or maybe subheading?) of a headline, even  
> though org-mode presents the file in 'Overview'.  Since the point is  
> in an unexpected location, even though the cursor looks fine, (org- 
> cycle) doesn't work as it looks like it should.
>
> I think I'd like to turn off the 'places.el' thing.
>
> And I reiterate: this is really a tiny issue.  Just hitting C-a  
> fixes the state of point.
>
> On 2008-Oct-24, at 19:44, Avdi Grimm wrote:
>
>> On Fri, Oct 24, 2008 at 2:33 PM, Ben Alexander <bva@alexanderonline.org 
>> > wrote:
>>> Ok, here's your chance.  This is something that has bothered me  
>>> for quite
>>> some time, but I've never been able to reliably reproduce the  
>>> problem.  And
>>> it's such a small issue.
>>
>> Thanks!  I'll try to take a look tonight
> ...
>
> -Ben
>
> _______________________________________________
> 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


[-- Attachment #1.2: Type: text/html, Size: 3428 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2008-10-27  8:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 12:04 How you can help Ben Alexander
2008-10-23 13:43 ` Bernt Hansen
2008-10-23 15:04   ` Sebastian Rose
2008-10-23 15:49     ` Richard Riley
2008-10-23 16:22       ` Ben Alexander
2008-10-23 17:02       ` Sebastian Rose
2008-10-24 12:13         ` Richard Riley
2008-10-24 15:39           ` Sebastian Rose
2008-10-24 16:27           ` Manish
2008-10-24 18:41             ` Avdi Grimm
2008-10-23 19:13       ` Avdi Grimm
2008-10-24 12:19         ` Richard Riley
2008-10-23 16:19     ` Bernt Hansen
2008-10-24  5:05       ` Carsten Dominik
2008-10-23 17:01   ` Jason F. McBrayer
2008-10-23 23:46     ` Eric Schulte
2008-10-23 14:20 ` Sebastian Rose
2008-10-23 14:50   ` Manish
2008-10-23 15:46     ` Eric Schulte
2008-10-23 16:18       ` Avdi Grimm
2008-10-23 14:55   ` Ben Alexander
2008-10-23 16:26     ` Sebastian Rose
2008-10-23 16:42       ` Avdi Grimm
2008-10-23 17:33         ` Sebastian Rose
2008-10-23 19:10           ` Avdi Grimm
2008-10-24 21:09           ` Tom Breton (Tehom)
2008-10-24 18:33         ` Ben Alexander
2008-10-24 18:44           ` Avdi Grimm
2008-10-24 19:02             ` Jeff Mickey
2008-10-26 19:49             ` org-cycle broken when cursor is at ellipses Ben Alexander
2008-10-26 21:31               ` Cameron Horsburgh
2008-10-27  8:47                 ` Carsten Dominik
2008-10-27  8:47               ` Carsten Dominik [this message]
     [not found]       ` <D43ED86C-EFD4-4BA8-8528-4F82DB11D625@alexanderonline.org>
2008-10-23 17:12         ` How you can help Sebastian Rose
2008-10-23 15:08 ` Sebastian Rose

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=8DEE8DD7-68CD-446A-96C5-1760A0686CFE@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bva@alexanderonline.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).