emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gez <suleika@gmail.com>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Idea: insert "current sort order" property
Date: Thu, 13 Oct 2011 12:40:08 +0100	[thread overview]
Message-ID: <CAPQe_UoCyaFoYKTzkkxqNt0ocnL1_y60wE5P60SoqXWLiKW4vQ@mail.gmail.com> (raw)
In-Reply-To: <4E95EFB4.8000104@christianmoe.com>

On 12 October 2011 20:51, Christian Moe <mail@christianmoe.com> 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

  reply	other threads:[~2011-10-13 11:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 15:02 Idea: insert "current sort order" property Gez
2011-10-11 19:46 ` Christian Moe
2011-10-12 11:35   ` Gez
2011-10-12 12:16     ` Christian Moe
2011-10-12 15:59       ` Gez
2011-10-12 19:51         ` Christian Moe
2011-10-13 11:40           ` Gez [this message]
2011-10-13 12:39             ` Christian Moe
2011-10-13 18:34               ` Gez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPQe_UoCyaFoYKTzkkxqNt0ocnL1_y60wE5P60SoqXWLiKW4vQ@mail.gmail.com \
    --to=suleika@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).