unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: What's a better regexp for 'sentence-end' variable??
Date: Tue, 18 Feb 2003 15:54:43 -0700	[thread overview]
Message-ID: <3E52B9B3.3000306@ihs.com> (raw)
In-Reply-To: Pine.LNX.4.44.0302181457430.16795-100000@heidegger.mousecar.net

[Please don't top-post: http://www.aglami.com/tpfaq.html]

gebser@ameritech.net wrote:

> Oliver Scholz at 15:06 (UTC+0100) on Tue, 18 Feb 2003 said:
> = (define-key sgml-mode-map (kbd "M-e") 'my-html-forward-sentence)
> 
> The question now is how to have this load when emacs loads.  I put it in 
> .emacs, reloaded, and got an error:
> 
> Error in init file: Symbol's value as variable is void: sgml-mode-map
> 
> This is because it's not in the path.

No it's not.

> So how do I get it in the path?

(eval-after-load "sgml-mode" '(progn ...))

or

(add-hook 'sgml-mode-hook
           (lambda () (local-set-key (kbd "M-e") 'my-html-forward-sentence)))

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  parent reply	other threads:[~2003-02-18 22:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2070.1045574190.21513.help-gnu-emacs@gnu.org>
2003-02-18 14:06 ` What's a better regexp for 'sentence-end' variable?? Oliver Scholz
2003-02-18 20:15   ` gebser
2003-02-18 22:32     ` David Kastrup
2003-02-19 15:38       ` Kai Großjohann
2003-02-19 15:44         ` David Kastrup
2003-02-19 16:26           ` Kai Großjohann
2003-02-18 22:54     ` Kevin Rodgers [this message]
2003-02-19 20:42       ` gebser
2003-02-19 18:41   ` gebser
     [not found] <mailman.2220.1045823872.21513.help-gnu-emacs@gnu.org>
2003-02-21 14:40 ` Stefan Monnier <foo@acm.com>
2003-02-21 14:55   ` gebser
2003-02-21 18:53 ` Oliver Scholz
2003-02-21 19:46   ` gebser
2003-02-21 20:56     ` Kai Großjohann
2003-02-22  1:14       ` gebser
2003-02-21 19:09 ` David Kastrup
     [not found] <un0kr4229.fsf@ID-87814.user.dfncis.de>
2003-02-21 10:37 ` gebser
2003-02-18 13:16 gebser

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=3E52B9B3.3000306@ihs.com \
    --to=kevin.rodgers@ihs.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.
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).