From: Carsten Dominik <dominik@science.uva.nl>
To: Shaun Johnson <shaun@slugfest.demon.co.uk>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: M-TAB completion of options in indirect buffers
Date: Wed, 28 Jan 2009 09:33:35 +0100 [thread overview]
Message-ID: <4A522817-1DA5-4D7D-BB7F-3C579E344547@uva.nl> (raw)
In-Reply-To: <497F36FF.1060909@slugfest.demon.co.uk>
[-- Attachment #1.1: Type: text/plain, Size: 1300 bytes --]
Fixed in 6.20, thanks.
- Carsten
On Jan 27, 2009, at 5:31 PM, Shaun Johnson wrote:
> With Emacs 22.1.1 and Org-mode 6.17c if I am editing a subtree in an
> indirect buffer
> (via C-c C-x b) and try to complete an option (i.e. a line starting #
> +) then I get the
> following backtrace (bytecodes elided):
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-nondirectory(nil)
> org-get-current-options()
> byte-code("...
> org-complete(nil)
> call-interactively(org-complete)
> recursive-edit()
> byte-code("...
> debug(error (wrong-type-argument stringp nil))
> file-name-nondirectory(nil)
> org-get-current-options()
> byte-code("...
> org-complete(nil)
> call-interactively(org-complete)
>
> This seems to be because org-get-current-options uses buffer-file-
> name to determine the
> category but buffer-file-name is nil in an indirect buffer.
>
> If this has been fixed in a later version of Org mode or Emacs I
> will be happy (ish) to
> upgrade.
>
> Thanks,
>
> Shaun.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 1992 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2009-01-28 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 16:31 M-TAB completion of options in indirect buffers Shaun Johnson
2009-01-28 8:33 ` Carsten Dominik [this message]
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=4A522817-1DA5-4D7D-BB7F-3C579E344547@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=shaun@slugfest.demon.co.uk \
/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).