From: Agustin Martin <agustin.martin@hispalinux.es>
To: emacs-devel@gnu.org
Subject: Re: Autoloading (was: bug#5752: 23.1.94; sgml-lexical-context in post-command-hook)
Date: Thu, 8 Jul 2010 19:41:21 +0200 [thread overview]
Message-ID: <AANLkTimBMLo3tZf8QfXhCJwmLBDzxnGs4Gu0M0T4CAIW@mail.gmail.com> (raw)
In-Reply-To: <jwvvdcnyv58.fsf-monnier+emacs@gnu.org>
2010/3/23 Stefan Monnier <monnier@iro.umontreal.ca>:
>> Fixed in emacs-23 branch by autoloading sgml-lexical-context in
>> flyspell.el.
>
> BTW, such manual autoloads are slightly problematic since they fail to
> provide docstrings (and arglists).
I am seeing an obscure problem with sgml-lexical-context and Debian
emacs-snapshot, when used together with psgml as preferred sgml mode.
psgml provides 'sgml-mode, but has no `sgml-lexical-context'
definition. Either if I manually load 'sgml-mode' or trust autoload at
some points I get errors like.
Error in post-command-hook: (wrong-type-argument stringp nil)
sgml-lexical-context: Wrong type argument: stringp, nil
Function seems loaded since describe-function sgml-lexical-context
works, and I can even explicitly evaluate it in the buffer (and seems
to evaluate correctly).
Cheers,
prev parent reply other threads:[~2010-07-08 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100322113620.2500673506.qww314159@motoko.argon.local>
[not found] ` <qtys7wyoi.fsf@fencepost.gnu.org>
2010-03-23 14:29 ` Autoloading (was: bug#5752: 23.1.94; sgml-lexical-context in post-command-hook) Stefan Monnier
2010-03-24 3:38 ` Autoloading Glenn Morris
2010-03-24 3:41 ` Autoloading Stefan Monnier
2010-03-24 3:56 ` Autoloading Glenn Morris
2010-07-08 17:41 ` Agustin Martin [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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimBMLo3tZf8QfXhCJwmLBDzxnGs4Gu0M0T4CAIW@mail.gmail.com \
--to=agustin.martin@hispalinux.es \
--cc=emacs-devel@gnu.org \
/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.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).