From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Infinite loop in org-agenda-show-new-time
Date: Fri, 23 Aug 2013 11:58:03 +0200 [thread overview]
Message-ID: <3E07FCDB-2619-4BFE-BC68-C5181717152B@gmail.com> (raw)
In-Reply-To: <87vc38ff84.fsf@gmail.com>
On 14.8.2013, at 17:45, Nick Dokos <ndokos@gmail.com> wrote:
> Matt Lundin <mdl@imapmail.org> writes:
>
>> Nick Dokos <ndokos@gmail.com> writes:
>>
>>>
>>> I haven't been able to work on the problem, but assuming that your
>>> diagnosis above is correct, perhaps the thing to do is to bind
>>> buffeer-invisibility-spec to nil inside org-move-to-column:
>>>
>>> (defun org-move-to-column (column &optional force buffer)
>>> (let ((buffer-invisibility-spec nil))
>>> (if (featurep 'xemacs)
>>> (org-xemacs-without-invisibility (move-to-column column force buffer))
>>> (move-to-column column force))))
>>>
>>> What do you think?
>>
>> That solves the problem beautifully. Would it have any negative
>> side-effects for other org functions, especially those that invoke
>> org-move-to-column in normal org buffers?
>>
>
> I hope not, but I don't know for sure. OTOH, we can try it and, if there
> are complaints, we can revert it and apply a more localized version of
> the same fix: just wrap the relevant *call* of org-move-to-column in a
>
> (let ((buffer-invisibility-spec nil))
> (org-move-to-column ....))
>
>
> But (without any solid evidence) it seems to me that having the behavior
> of move-to-column change with the buffer-invisibility-spec setting is a
> bug: how can anybody expect reproducible behavior from it if you don't
> know where point is going to end up? So I would be surprised if the fix
> does have negative side effects on anything: on the contrary, it might
> resolve some mysteries. OTOH, putting the let in the compat function
> would be a workaround for org, but the real fix should probably be in
> move-to-column itself. Perhaps a question to emacs devel is warranted.
Hi Nick,
I also do not expect negative consequences. Please apply the patch, will you?
Thanks!
- Carsten
>
> --
> Nick
>
>
next prev parent reply other threads:[~2013-08-23 9:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 15:42 [BUG] Infinite loop in org-agenda-show-new-time Matt Lundin
2013-08-05 17:13 ` Nick Dokos
2013-08-05 20:14 ` Matt Lundin
2013-08-05 22:05 ` Nick Dokos
2013-08-06 17:36 ` Matt Lundin
2013-08-06 21:35 ` Nick Dokos
2013-08-06 22:45 ` Nick Dokos
2013-08-14 15:19 ` Matt Lundin
2013-08-14 15:38 ` Nick Dokos
2013-08-10 15:06 ` Nick Dokos
2013-08-14 15:15 ` Matt Lundin
2013-08-14 15:45 ` Nick Dokos
2013-08-23 9:58 ` Carsten Dominik [this message]
2013-08-23 12:07 ` Nick Dokos
2019-12-26 19:37 ` Andrew Hyatt
2020-02-01 9:32 ` Bastien
2020-02-02 15:19 ` Andrew Hyatt
2020-02-03 19:04 ` Bastien
2020-02-04 19:25 ` Andrew Hyatt
2020-02-04 23:38 ` Bastien
2020-02-05 16:34 ` Andrew Hyatt
2020-02-05 19:50 ` Matthew Lundin
2020-02-11 7:56 ` Bastien
2020-02-14 3:27 ` Andrew Hyatt
2020-02-14 10:02 ` Bastien
2020-02-17 19:20 ` Andrew Hyatt
2020-02-17 22:53 ` 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=3E07FCDB-2619-4BFE-BC68-C5181717152B@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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).