[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
`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(#<buffer *load*> 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
<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]()
command-line()
normal-top-level()
_________________________________________
Gez
- [O] Idea: insert "current sort order" property, Gez, 2011/10/08
- Re: [O] Idea: insert "current sort order" property, Christian Moe, 2011/10/11
- Re: [O] Idea: insert "current sort order" property, Gez, 2011/10/12
- Re: [O] Idea: insert "current sort order" property, Christian Moe, 2011/10/12
- Re: [O] Idea: insert "current sort order" property, Gez, 2011/10/12
- Re: [O] Idea: insert "current sort order" property, Christian Moe, 2011/10/12
- Re: [O] Idea: insert "current sort order" property,
Gez <=
- Re: [O] Idea: insert "current sort order" property, Christian Moe, 2011/10/13
- Re: [O] Idea: insert "current sort order" property, Gez, 2011/10/13