From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gez Subject: Re: Idea: insert "current sort order" property Date: Thu, 13 Oct 2011 12:40:08 +0100 Message-ID: References: <4E949D13.6060505@christianmoe.com> <4E958523.60909@christianmoe.com> <4E95EFB4.8000104@christianmoe.com> Reply-To: suleika@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REJek-0005Hx-7g for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 07:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REJed-0005Dn-NX for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 07:40:58 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:61773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REJed-0005DO-Is for emacs-orgmode@gnu.org; Thu, 13 Oct 2011 07:40:51 -0400 Received: by wwf10 with SMTP id 10so7577044wwf.0 for ; Thu, 13 Oct 2011 04:40:49 -0700 (PDT) In-Reply-To: <4E95EFB4.8000104@christianmoe.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mail@christianmoe.com Cc: emacs-orgmode@gnu.org On 12 October 2011 20:51, Christian Moe wrote: > > Then we need a way to keep track of what property keys are used to store > outlines in, so we can offer those and only those for completion. (We don't > want to offer all the property keys used in the buffer -- that's an > invitation to overwrite data.) That makes sense > > So in my second pass (below), when you use a :foo: property to store the > outline index, `foo' gets added to a list of keys in the :Stored_outlines: > property of the parent. When you store an outline, the prompt for a property > key offers completion on all the keys stored in :Stored_outlines:. See how > this works for you. > Thanks. I got it to work from a scratch buffer but not from .emacs (previous version worked fine from my .emacs). Restarting emacs showed an error. ------------------------------------------------------------------------------------------- Warning (initialization): An error occurred while loading `q:/Q_Synced/Portable/emacs-23.3/home/.emacs': Invalid read syntax: # To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. ------------------------------------------------------------------------- I couldn't copy the whole backtrace here (an encoding issue?) Here's the start and end of it in case it's any help: _______________________________________ Debugger entered--Lisp error: (invalid-read-syntax "#") eval-buffer(# nil "q:/Q_Synced/Portable/emacs-23.3/home/.emacs" nil t) ; Reading at buffer position 13136 load-with-code-conversion("q:/Q_Synced/Portable/emacs-23.3/home/.emacs" "q:/Q_Synced/Portable/emacs-23.3/home/.emacs" t t) load("~/.emacs" t t) #[nil [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]() command-line() normal-top-level() _________________________________________ Gez