all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Did `inline' used to do something else?
Date: Mon, 20 Nov 2017 04:56:55 +0100	[thread overview]
Message-ID: <863759zjp4.fsf@zoho.com> (raw)
In-Reply-To: 878tf2dzox.fsf@web.de

Michael Heerdegen wrote:

>> ;;; byte-compile optimizers to support
>> inlining (put 'inline 'byte-optimizer
>> 'byte-optimize-inline-handler) Followed by
>> a definition of
>> `byte-optimize-inline-handler'. There's no
>> mention of the symbol property
>> `byte-optimizer' [...]
>
> That property is referenced by
> `byte-optimize-form' (in "byte-opt.el").
> Also see the flag `byte-optimize'.

(require 'bytecomp)
(get 'push   'byte-compile) ; nil, i.e. no special treatment

;; sort of special treatment
(get 'car    'byte-compile) ; byte-compile-one-arg
(get 'aref   'byte-compile) ; byte-compile-two-args

;; very special (specific) treatment
(get 'progn  'byte-compile) ; byte-compile-progn
(get 'inline 'byte-compile) ; byte-compile-progn

But specific as it might be, there is no
distinction between `inline' and `progn'
visible here. Does `get' even get the
difference or are the two last lines identical
as far as it is concerned?

When is an alias an alias and when is it what
is being aliased?

I think this is only confusing... an alias
should be another way of referring to something
as a convenience, nothing more. Well, hell.

-- 
underground experts united
http://user.it.uu.se/~embe8573




  parent reply	other threads:[~2017-11-20  3:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-18 21:14 Did `inline' used to do something else? Eric Abrahamsen
2017-11-19  0:05 ` Emanuel Berg
2017-11-19  0:38   ` Eric Abrahamsen
2017-11-19  2:01     ` Emanuel Berg
2017-11-19  5:59       ` Eric Abrahamsen
2017-11-19  9:53 ` Joost Kremers
2017-11-19 10:00   ` Joost Kremers
2017-11-19 15:01   ` Emanuel Berg
2017-11-19 16:02   ` Michael Heerdegen
2017-11-19 17:17     ` Emanuel Berg
2017-11-19 20:48     ` Eric Abrahamsen
2017-11-19 21:16       ` Emanuel Berg
2017-11-19 22:06         ` Eric Abrahamsen
2017-11-19 22:51           ` Emanuel Berg
2017-11-20  3:56     ` Emanuel Berg [this message]
2017-11-20  4:04       ` Emanuel Berg
2017-11-20 19:31         ` Michael Heerdegen

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=863759zjp4.fsf@zoho.com \
    --to=moasen@zoho.com \
    --cc=help-gnu-emacs@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.