[Top][All Lists]

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

Re: [O] Idea: insert "current sort order" property

From: Gez
Subject: Re: [O] Idea: insert "current sort order" property
Date: Thu, 13 Oct 2011 12:40:08 +0100

On 12 October 2011 20:51, Christian Moe <address@hidden> 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

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(#<buffer  *load*> nil
"q:/Q_Synced/Portable/emacs-23.3/home/.emacs" nil t)  ; Reading at
buffer position 13136
"q:/Q_Synced/Portable/emacs-23.3/home/.emacs" t t)
  load("~/.emacs" t t)
<un-pastable stuff snipped>
[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]()


reply via email to

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