emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to disconnect "remember" with "org-remember"?
@ 2009-05-02  0:15 Wei-Wei Guo
  2009-05-03 18:48 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Wei-Wei Guo @ 2009-05-02  0:15 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

I set two different usages for remember, one is the plain remember, the other
is the org-remember.

(defun ww/plain ()
   "Writing diary or notes."
   (interactive)
   (setq remember-handler-functions 'nil)
   (remember))

(defun ww/schedule ()
   "Recoding tasks or appointments."
   (interactive)
   (setq org-remember-store-without-prompt t)
   (org-remember-insinuate)
   (org-remember))

After I run ww/schedule, the (remember) and ww/plain become a call of org-remember.
It seems (org-remember) will take over (remember). Can I change the behavior?


Best wishes,
Wei-Wei

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

* Re: How to disconnect "remember" with "org-remember"?
  2009-05-02  0:15 How to disconnect "remember" with "org-remember"? Wei-Wei Guo
@ 2009-05-03 18:48 ` Carsten Dominik
  2009-05-04  0:18   ` Wei-Wei Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-05-03 18:48 UTC (permalink / raw)
  To: Wei-Wei Guo; +Cc: emacs-orgmode


On May 2, 2009, at 2:15 AM, Wei-Wei Guo wrote:

> Dear all,
>
> I set two different usages for remember, one is the plain remember,  
> the other
> is the org-remember.
>
> (defun ww/plain ()
>  "Writing diary or notes."
>  (interactive)
>  (setq remember-handler-functions 'nil)
>  (remember))
>
> (defun ww/schedule ()
>  "Recoding tasks or appointments."
>  (interactive)
>  (setq org-remember-store-without-prompt t)
>  (org-remember-insinuate)
>  (org-remember))
>
> After I run ww/schedule, the (remember) and ww/plain become a call  
> of org-remember.
> It seems (org-remember) will take over (remember). Can I change the  
> behavior?

Yes, org-remember-insinuate does this, and is supposed to do this.
What is the problem?

- Carsten

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

* Re: How to disconnect "remember" with "org-remember"?
  2009-05-03 18:48 ` Carsten Dominik
@ 2009-05-04  0:18   ` Wei-Wei Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Wei-Wei Guo @ 2009-05-04  0:18 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik 写道:

Hi Carsten,

> 
> On May 2, 2009, at 2:15 AM, Wei-Wei Guo wrote:
> 
>> Dear all,
>>
>> I set two different usages for remember, one is the plain remember, 
>> the other
>> is the org-remember.
>>
>> (defun ww/plain ()
>>  "Writing diary or notes."
>>  (interactive)
>>  (setq remember-handler-functions 'nil)
>>  (remember))
>>
>> (defun ww/schedule ()
>>  "Recoding tasks or appointments."
>>  (interactive)
>>  (setq org-remember-store-without-prompt t)
>>  (org-remember-insinuate)
>>  (org-remember))
>>
>> After I run ww/schedule, the (remember) and ww/plain become a call of 
>> org-remember.
>> It seems (org-remember) will take over (remember). Can I change the 
>> behavior?
> 
> Yes, org-remember-insinuate does this, and is supposed to do this.
> What is the problem?
> 

My problem is I don't want org-remember take over remember forever. But never
mind, I prohibited the behavior by setting remember-mode-hook to nil when killing
remember buffer. Thanks anyway.


Best wishes,
Wei-Wei

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

end of thread, other threads:[~2009-05-04  0:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-02  0:15 How to disconnect "remember" with "org-remember"? Wei-Wei Guo
2009-05-03 18:48 ` Carsten Dominik
2009-05-04  0:18   ` Wei-Wei Guo

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).