all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: angeli@caeruleus.net, emacs-devel@gnu.org
Subject: Re: Autoloading comment-forward
Date: Tue, 10 Jul 2007 22:26:34 -0400	[thread overview]
Message-ID: <jwvejjfsmr4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1I8NlX-0000lC-R5@fencepost.gnu.org> (Richard Stallman's message of "Tue\, 10 Jul 2007 18\:01\:03 -0400")

>     Richard, do you have an objection to preloading newcomment.el (after
>     changing forward-comment to comment-forward-internal, adding backward
>     motion to comment-forward and making forward-comment an alias of
>     comment-forward).

> It is ok if it can't cleanly be avoided.  But I'd rather look
> for a way to avoid it, and I expect that should be possible.

> For instance, the code of comment-forward could call a new
> preloaded function equivalent to `comment-normalize-vars',
> and `comment-normalize-vars' itself could call that new function
> to do the work.  This way, calls to `comment-normalize-vars'
> will still be a good way to cause newcomment.el to get loaded,
> and everything that works now will continue to work.

If someone else wants to do that, I can't prevent it, but spreading the code
like this just in the hope to avoid a few KB in the default build (most
people will load newcomment.el sooner or later since it's loaded as soon as
you hit M-; or use auto-fill-mode or ...), is just a waste of time IMNSHO.


        Stefan

  reply	other threads:[~2007-07-11  2:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 19:20 Autoloading comment-forward Ralf Angeli
2007-07-07  1:34 ` Stefan Monnier
2007-07-07  6:24   ` Ralf Angeli
2007-07-08 13:55     ` Stefan Monnier
2007-07-09 18:55       ` Ralf Angeli
2007-07-09 19:51         ` Stefan Monnier
2007-07-09 20:01           ` Ralf Angeli
2007-07-10  2:55             ` Stefan Monnier
2007-07-10 22:01               ` Richard Stallman
2007-07-11  2:26                 ` Stefan Monnier [this message]
2007-07-11 21:03                   ` Richard Stallman
2007-07-12  3:17                     ` Stefan Monnier
2007-07-12 21:23                       ` Richard Stallman
2007-07-07 20:47 ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=jwvejjfsmr4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=angeli@caeruleus.net \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.