0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 12:48:42 +00:00
org-mode/lisp
Carsten Dominik bcb7f7f1ef Introduce a way to set a property to undefined.
* lisp/org-macs.el (org-not-nil): Return the value if not interpreted
as nil.
* lisp/org.el (org-entry-get):
(org-entry-get-with-inheritance): Interpret the value "nil"
as nil for properties.

Bernt Hansen writes:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
> > On Jun 25, 2010, at 3:23 PM, Robert Goldman wrote:
> >
> > > Question:  what is the proper way to get a NIL into a property?  Are
> > > we
> > > to use () instead of "nil"?  Or are property values always interpreted
> > > as strings?
> > >
> > > Apologies in advance if this is a stupid question!
> >
> > Not a stupid question at all.
> >
> > There is no way, currently.   Property values are string - the only
> > way to make
> > org-entry-get return nil is to not have the property defined at all.
>
> I've wanted a similar thing in the past for the LOGGING property where
> the parent task has special logging set via the LOGGING property but I
> want to undo that for some of the child tasks so they use the default
> logging setup.
>
> Having a way to undefine a property would be good in general I think.

-Bernt
2010-06-26 07:54:07 +02:00
..
babel babel: bringing languages closer to compilability 2010-06-25 10:26:48 -07:00
ChangeLog Newer Emacsen changed the API of start-process-shell-command and issue 2010-06-17 17:50:24 -04:00
ChangeLog.01 Fix typo in documentation 2010-06-12 10:46:12 -07:00
org-agenda.el Catch agenda error when there is a tie stamp before the first headline 2010-06-24 08:53:34 +02:00
org-archive.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ascii.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-attach.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-bbdb.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-beamer.el Fix some customization issues in org-beamer.el patch by Jan Moringen 2010-05-30 22:17:29 +02:00
org-bibtex.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-capture.el Fix bug with regexp target definition 2010-06-25 20:53:15 +02:00
org-clock.el Make sure the clock history only points to base buffers 2010-06-24 07:39:10 +02:00
org-colview-xemacs.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-colview.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-compat.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-crypt.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ctags.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-datetree.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-docbook.el More flexibility for the XSLT command 2010-05-14 13:38:14 +02:00
org-docview.el Fix copyright years 2010-05-16 15:44:55 +02:00
org-entities.el Merge Glen Morris' change from downstream Emacs 2010-06-22 14:42:45 +02:00
org-exp-blocks.el org-exp-blocks: cleanup trailing newline after block 2010-06-16 10:23:39 -07:00
org-exp.el integrating org-babel into org.el 2010-06-23 13:41:20 -07:00
org-faces.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-feed.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-footnote.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-freemind.el Emacs 22 support - use org-string-match-p 2010-06-04 21:01:29 +02:00
org-gnus.el org-gnus.el: Mention also Gmane in org-gnus-prefer-web-links 2010-05-28 15:46:37 -06:00
org-habit.el Add help-echo to habit graph 2010-05-13 07:45:26 +02:00
org-html.el Fix source code example bug with plain list export to HTML 2010-06-18 08:49:25 +02:00
org-icalendar.el Stop iCalendar export from failing with sexp dates 2010-06-04 13:13:54 +02:00
org-id.el PATCH: Fix minor XEmacs compatibility issue 2010-05-26 22:43:43 -06:00
org-indent.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-info.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-inlinetask.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-irc.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-jsinfo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-latex.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-list.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-mac-message.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-macs.el Introduce a way to set a property to undefined. 2010-06-26 07:54:07 +02:00
org-mew.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mhe.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mks.el Clean up when aborting capture template selection 2010-06-26 07:18:27 +02:00
org-mobile.el Move a function to org.el 2010-05-31 18:57:01 +02:00
org-mouse.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-plot.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-protocol.el Make the link properties from org-protocol work in capture 2010-06-23 16:21:22 +02:00
org-publish.el possible Bug: non-interactive publishing (emacs 22.1) 2010-06-16 02:17:05 -04:00
org-remember.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-rmail.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-src.el Read-only src buffers 2010-06-05 14:31:35 +02:00
org-table.el fix typo 2010-06-25 10:01:23 +02:00
org-taskjuggler.el Newer Emacsen changed the API of start-process-shell-command and issue 2010-06-17 17:50:24 -04:00
org-timer.el * org-timer.el (org-timer-set-timer): Fix typo in the docstring. 2010-06-08 09:35:07 +02:00
org-vm.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-w3m.el org-w3m.el: Get text property directly, not using macro `w3m-anchor'. 2010-05-26 22:53:36 -06:00
org-wl.el Adjust indentation to meet coding style. 2010-05-12 10:02:43 +02:00
org-xoxo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org.el Introduce a way to set a property to undefined. 2010-06-26 07:54:07 +02:00