all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cache issue
@ 2016-06-22 13:17 John Kitchin
  2016-06-22 20:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2016-06-22 13:17 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

Hi all,

I am having an issue with the org cache system. The scenario is I have
an org-ref cite link, and I can use shift-<left> and shift-<right> to
reorder the citation keys in the link.

As soon as I do that though, the hints stop working because the link in
the buffer is not the same as  the one in the cache. If I reset the
cache, it works fine afterwards.

I could add the cache reset to the rearrangment code to fix this, but I
wondered if that is the right thing to do. Any thoughts?

Thanks,

-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cache issue
  2016-06-22 13:17 cache issue John Kitchin
@ 2016-06-22 20:00 ` Nicolas Goaziou
  2016-06-23  2:02   ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-06-22 20:00 UTC (permalink / raw)
  To: John Kitchin; +Cc: Emacs-orgmode@gnu.org

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I am having an issue with the org cache system. The scenario is I have
> an org-ref cite link, and I can use shift-<left> and shift-<right> to
> reorder the citation keys in the link.
>
> As soon as I do that though, the hints stop working because the link in
> the buffer is not the same as  the one in the cache. If I reset the
> cache, it works fine afterwards.
>
> I could add the cache reset to the rearrangment code to fix this, but I
> wondered if that is the right thing to do. Any thoughts?

Could you provide an ECM (admittedly, your message is close to providing
one)? I don't use org-ref so I do not have access to its shift-<left>
binding.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cache issue
  2016-06-22 20:00 ` Nicolas Goaziou
@ 2016-06-23  2:02   ` John Kitchin
  0 siblings, 0 replies; 3+ messages in thread
From: John Kitchin @ 2016-06-23  2:02 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Emacs-orgmode@gnu.org

This also seems to have resolved itself with an update of org-mode.
Sorry for the noise.

Nicolas Goaziou writes:

> Hello,
>
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> I am having an issue with the org cache system. The scenario is I have
>> an org-ref cite link, and I can use shift-<left> and shift-<right> to
>> reorder the citation keys in the link.
>>
>> As soon as I do that though, the hints stop working because the link in
>> the buffer is not the same as  the one in the cache. If I reset the
>> cache, it works fine afterwards.
>>
>> I could add the cache reset to the rearrangment code to fix this, but I
>> wondered if that is the right thing to do. Any thoughts?
>
> Could you provide an ECM (admittedly, your message is close to providing
> one)? I don't use org-ref so I do not have access to its shift-<left>
> binding.
>
> Regards,


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-23  2:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-22 13:17 cache issue John Kitchin
2016-06-22 20:00 ` Nicolas Goaziou
2016-06-23  2:02   ` John Kitchin

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.