From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Patch to allow quotes showing on *remember* Date: Tue, 15 Jan 2008 12:31:36 +0100 Message-ID: References: <2f1c7d020801141145ib4422ady3febf585dc1256c@mail.gmail.com> <2f1c7d020801150304u8884e6dvd3257822634456c2@mail.gmail.com> <009BA5F9-6CCF-4DA0-B2D7-E5535F9B05AD@gmail.com> <2f1c7d020801150326l5703d6ekb0b2e54197b49812@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEk18-0003Cq-4O for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 06:31:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEk17-0003CD-BI for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 06:31:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEk17-0003Bx-3d for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 06:31:41 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEk16-00014b-8G for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 06:31:40 -0500 Received: by ug-out-1314.google.com with SMTP id a2so73227ugf.48 for ; Tue, 15 Jan 2008 03:31:39 -0800 (PST) In-Reply-To: <2f1c7d020801150326l5703d6ekb0b2e54197b49812@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hugo Schmitt Cc: emacs-orgmode@gnu.org Hi Hugo, I see now what you mean, and I have no objections to remove comment lines at the end. However, I believe that Sacha's idea it terrible and completely orthogonal to the idea of remember, which was written to *minimize* distraction :-) Anyway, I will add your patch. - Carsten On Jan 15, 2008, at 12:26 PM, Hugo Schmitt wrote: > Carsten, > Yeah, mostly for fun, but for example Sacha used it for learning > English-Japanese translations.. > If there is a better way to fix the remember buffer, please tell me. > > Here's a excerpt from Sacha's post: > > Adding Other Text to the Remember Buffer > > Remember has plenty of hooks that let you modify the behavior. For > example, you might want to insert a random tagline or fortune-cookie > saying whenever you create a note. This is a fun way to encourage > yourself to write more, because then there's a little surprise every > time you open a Remember buffer. > > and here is the code that inserts that (rest is on the blog): > > (eval-after-load 'remember > '(progn > (defadvice remember (after wicked activate) > "Add random tagline." > (save-excursion > (goto-char (point-max)) > (insert "\n\n" (wicked/random-tagline) "\n\n"))))) > > Maybe i can implement that "cleaning the remember buffer" also as an > advice or hook? > Thanks in advance. > Hugo > > > Here's the link: > http://sachachua.com/wp/2008/01/13/capturing-notes-with-remember/ > search for subtitle "Adding Other Text to the Remember Buffer" > > > On Jan 15, 2008 8:17 AM, Carsten Dominik > wrote: >> Hi Hugo, >> >> On Jan 15, 2008, at 12:04 PM, Hugo Schmitt wrote: >> >>> Hi again. >>> Let me just show you the use case. Take a look at my current >>> remember buffer: >>> >>> ---start >>> ## Filing location: Select interactively, default, or last used: >>> ## C-u C-c C-c to select file and header location >>> interactively. >>> ## C-c C-c "~/hugo/docs/org/todo.org" -> "* Inbox" >>> ## C-u C-u C-c C-c "???" -> "* ???" >>> ## To switch templates, use `C-c r'. To abort use `C-c C-k'. >>> >>> * TODO todo title goes here >>> [2008-01-15 ter] >>> >>> ## An Emacs reference mug is what I want. It would hold ten gallons >>> of coffee. >>> ## -- Steve VanDevender >>> ---end >>> >>> I need that patch so that the bottom lines (the quote) aren't >>> appended >>> into the org file after remember. >>> I was just saying that, if more people use something like this *and* >>> it doesn't mess up for people who don't, the patch could be added to >>> org. >> >> >> My question is: how did this extra commend get into the remember >> buffer >> in the first place? Why is it there? just for fun? >> >> - Carsten >> >> >>> >>> >>> -hugo >>> >>> >>> On Jan 15, 2008 7:55 AM, Carsten Dominik >>> wrote: >>>> Hi Hugo, >>>> >>>> I am not sure what the purpose of this is. The ## stuff at the >>>> beginning >>>> is stuff to remind the user on how to proceed further. What is the >>>> idea >>>> of Sacha you are referring to? What is the use case? >>>> >>>> Thanks. >>>> >>>> >>>> >>>> On Jan 14, 2008, at 8:45 PM, Hugo Schmitt wrote: >>>> >>>>> Hi folks! >>>>> I'm sending this as a suggestion. >>>>> Right now the function 'org-remember-handler' removes the lines on >>>>> the >>>>> beginning of the buffer that start with "##" (the ones explaining >>>>> usage, shortcuts, etc) >>>>> Yesterday i was trying out sachac's idea of putting quotes into >>>>> remember (on the bottom), but the text that went there was being >>>>> added >>>>> to the todo.org with the actual todo. >>>>> >>>>> W/ the fix org also removes the lines on the end that begin with >>>>> '##'. >>>>> >>>>> Cheers, >>>>> -Hugo >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >> >> > > > _______________________________________________ > 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