From: "Hugo Schmitt" <hugows@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Patch to allow quotes showing on *remember*
Date: Tue, 15 Jan 2008 08:26:22 -0300 [thread overview]
Message-ID: <2f1c7d020801150326l5703d6ekb0b2e54197b49812@mail.gmail.com> (raw)
In-Reply-To: <009BA5F9-6CCF-4DA0-B2D7-E5535F9B05AD@gmail.com>
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 <carsten.dominik@gmail.com> 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 <carsten.dominik@gmail.com>
> > 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
> >>> <org.el.patch>_______________________________________________
> >>> 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
> >>
> >>
>
>
next prev parent reply other threads:[~2008-01-15 11:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 19:45 Patch to allow quotes showing on *remember* Hugo Schmitt
2008-01-15 10:55 ` Carsten Dominik
2008-01-15 11:04 ` Hugo Schmitt
2008-01-15 11:17 ` Carsten Dominik
2008-01-15 11:26 ` Hugo Schmitt [this message]
2008-01-15 11:31 ` Carsten Dominik
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=2f1c7d020801150326l5703d6ekb0b2e54197b49812@mail.gmail.com \
--to=hugows@gmail.com \
--cc=carsten.dominik@gmail.com \
--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).