emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Patch to allow quotes showing on *remember*
@ 2008-01-14 19:45 Hugo Schmitt
  2008-01-15 10:55 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Hugo Schmitt @ 2008-01-14 19:45 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

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

[-- Attachment #2: org.el.patch --]
[-- Type: application/octet-stream, Size: 499 bytes --]

*** c:/hugo/repo/emacs/other/org/org.ori.el	Mon Jan 14 17:30:12 2008
--- c:/hugo/repo/emacs/other/org/org.el	Mon Jan 14 17:30:52 2008
***************
*** 13568,13573 ****
--- 13568,13575 ----
    (while (looking-at "^[ \t]*\n\\|^##.*\n")
      (replace-match ""))
    (goto-char (point-max))
+   (while (looking-back "^[ \t]*\n\\|^##.*\n")
+ 	(replace-match ""))
    (catch 'quit
      (if org-note-abort (throw 'quit nil))
      (let* ((txt (buffer-substring (point-min) (point-max)))

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

end of thread, other threads:[~2008-01-15 11:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2008-01-15 11:31         ` Carsten Dominik

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