unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* byte-compile-interactive-only-functions
@ 2005-07-15 15:28 Juanma Barranquero
  2005-07-15 22:04 ` byte-compile-interactive-only-functions Richard M. Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Juanma Barranquero @ 2005-07-15 15:28 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: byte-compile-interactive-only-functions
  2005-07-15 15:28 byte-compile-interactive-only-functions Juanma Barranquero
@ 2005-07-15 22:04 ` Richard M. Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-07-15 22:04 UTC (permalink / raw)
  Cc: emacs-devel

    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'

I'd say ok to those.  I think the others are too specialized
to be worth the attention.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-15 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 15:28 byte-compile-interactive-only-functions Juanma Barranquero
2005-07-15 22:04 ` byte-compile-interactive-only-functions Richard M. Stallman

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).