[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Tiny bugs (and org-toggle-comments?)

From: Bastien
Subject: Re: [Orgmode] Tiny bugs (and org-toggle-comments?)
Date: Wed, 22 Nov 2006 08:57:16 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)


Carsten Dominik <address@hidden> writes:

> Links in angular brackets are kept mostly for backward compatibility
> in Org-mode.  Please write [[bbdb:...]] instead.

All right, i wasn't aware of this.

>> - M-TAB expands ":ta"  to ":tag:" (which is correct) but
>>   M-TAB expands ":tag" to ":tag" (":" lacking)
> Hmmm, thats right.  Not easy to fix this, but I will put it on my
> list.

This small patch is working fine for me.

diff -uN /home/guerry/elisp/testing/org/org.el 
--- /home/guerry/elisp/testing/org/org.el       2006-11-22 08:40:48.000000000 
+++ /home/guerry/elisp/testing/org-4.56/org.el  2006-11-17 08:53:16.000000000 
@@ -5359,11 +5359,9 @@
           (pattern (buffer-substring-no-properties beg end))
           (completion (try-completion pattern table confirm)))
       (cond ((eq completion t)
-            (cond ((equal type :opt)
-                   (insert (substring (cdr (assoc (upcase pattern) table))
-                                      (length pattern))))
-                  ((equal type :tag)
-                   (insert ":"))))
+            (if (equal type :opt)
+                (insert (substring (cdr (assoc (upcase pattern) table))
+                                   (length pattern)))))
            ((null completion)
             (message "Can't find completion for \"%s\"" pattern)

Diff finished.  Wed Nov 22 08:46:56 2006
>>   Since i'm on this, What about org-toggle-comment-at-point that would
>>   hide/show comment under the point? org-toggle-comments that would do
>>   this on the whole buffer? Not sure about this though.
> You mean to hide this like an outline-subtree????

I meant: make all comment lines visible/invisible, not sure it makes
sense to anyone else - and not sure i'll massively use it anyway ;)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]