unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
Subject: byte-compile-interactive-only-functions
Date: Fri, 15 Jul 2005 17:28:47 +0200	[thread overview]
Message-ID: <f7ccd24b0507150828d54ec61@mail.gmail.com> (raw)

Short term, I think a few more functions should be added to
`byte-compile-interactive-only-functions', according to
recommendations on their own docstrings:

 1) `insert-buffer', `insert-file-literally'
 2) `add-mode-abbrev', `add-global-abbrev', `bookmark-write', `org-diary'
  3) from mail/mailabbrev.el: `mail-abbrev-end-of-buffer'
  4) from emulation/pc-select.el: `beginning-of-buffer-mark',
    `beginning-of-buffer-nomark', `end-of-buffer-mark',
    `end-of-buffer-nomark'.
 
(In relative order of importancy, according to my gut feeling ;-)

The ones in 1) seem important enough; the others are less likely to be
encountered on compiling user modules.

Long term (after 22.1), perhaps we should define a property
'interactive-only, and add

  ;;;###autoload (put 'my-func 'interactive-only t)

at the right places, and then bytecomp.el could just check whether a
function is interactive-only or not, instead of having a clumsy
variable...

-- 
                    /L/e/k/t/u

             reply	other threads:[~2005-07-15 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15 15:28 Juanma Barranquero [this message]
2005-07-15 22:04 ` byte-compile-interactive-only-functions Richard M. 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

  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=f7ccd24b0507150828d54ec61@mail.gmail.com \
    --to=lekktu@gmail.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.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).