unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] trunk r113874: lisp/frameset.el: Use gv-setter declaration.
Date: Wed, 14 Aug 2013 12:04:26 -0400	[thread overview]
Message-ID: <jwvli44b6tj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAAeL0STv7dDhO_dQyPsiBek40ob8_ZdvfoSK3N3pGYKNsqpEGA@mail.gmail.com> (Juanma Barranquero's message of "Wed, 14 Aug 2013 17:47:03 +0200")

>> While "internal use" here is fine, any file that does (setf
>> (frameset-prop ...) ...) will end up with a call to that function in its
>> .elc, so you won't be able to change the function at will ;-(
> Well, it's simple enough that I don't expect to have to change it.

Actually, you can change its implementation just fine.  The problems
come when you want to change the set of args it takes, or if you want to
remove it.  You may also need to autoload it (in your case it's not
needed, but the situation would be different if the getter was
autoloaded).


        Stefan



  reply	other threads:[~2013-08-14 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1V9b9a-000319-ID@vcs.savannah.gnu.org>
2013-08-14 15:44 ` [Emacs-diffs] trunk r113874: lisp/frameset.el: Use gv-setter declaration Stefan Monnier
2013-08-14 15:47   ` Juanma Barranquero
2013-08-14 16:04     ` Stefan Monnier [this message]
2013-08-14 16:06       ` Juanma Barranquero

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=jwvli44b6tj.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=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).