all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Bastien <bzg@gnu.org>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: trunk r115926: In preparation for the move to git, sanitize out some Bazaar-specific names.
Date: Thu, 9 Jan 2014 08:47:16 -0500	[thread overview]
Message-ID: <20140109134716.GA6290@thyrsus.com> (raw)
In-Reply-To: <CAAeL0SRdOp599LOX1NgUDbWo9UqtVDnACQP9dEgYNSH25SAqZw@mail.gmail.com>

Juanma Barranquero <lekktu@gmail.com>:
> On Thu, Jan 9, 2014 at 2:13 PM, Eric S. Raymond <esr@thyrsus.com> wrote:
> 
> > Wouldn't defining emacs-bzr-get-version as an obsolete function alias
> > for emacs-repository-get-version solve the problem in a way
> > satisfactory to both of us?
> 
> Sorry, no. It is not compatible. Code has been written that
> understands the case that emacs-bzr-version isn't bound, or bound and
> nil, or bound and meaningful (with structure). That code will have to
> be changed if you insist in conflating it with your higher-level API
> which IMO is not really a new layer (Emacs is not going to have to
> deal with several underlying DVCS at once in its repository, as you
> said yourself a few messages ago; DVCS-specific functions and
> variables are not only not a bug, but a feature).
> 
> > It wouldn't reintroduce a layering bug into loadup.el, and it would give you
> > your compatible API.
> 
> Even accepting that it is a layering bug (which I don't), there's no
> problem in keeping it in loadup.el; that's why we have
> make-obsolete(-variable). We don't need to clean up in a hurry every
> possible clue of past mistakes; just fix the mistakes. And, as said,
> what you offer is not compatible. emacs-repository-version is not
> compatible with emacs-bzr-version; the structure was documented, it
> never was a magical, opaque cookie.
> 
>     J

The more you talk about this, the less you're making any sense to me.

All this about the return value having structure is a red herring. You
still *get* that structure by looking at emacs-bzr-version.  I have
not changed that and will not; only the VCS transition will do that.

Similarly, the unbound and bound-but-nil cases will still work; that's
the point of declaring an alias, isn't it?

With both the variable and function alias in place, I don't understand
what code would need to be changed.  Show me.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>



  reply	other threads:[~2014-01-09 13:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1W124t-0007MM-P3@vcs.savannah.gnu.org>
2014-01-08 23:18 ` trunk r115926: In preparation for the move to git, sanitize out some Bazaar-specific names Glenn Morris
2014-01-08 23:34   ` Eric S. Raymond
2014-01-08 23:57     ` Juanma Barranquero
2014-01-09  0:04       ` Eric S. Raymond
2014-01-09  0:06         ` Daniel Colascione
2014-01-09  0:12           ` Eric S. Raymond
2014-01-09  0:13             ` Daniel Colascione
2014-01-09  0:09         ` Bastien
2014-01-09  0:27           ` Eric S. Raymond
2014-01-09  0:43             ` Juanma Barranquero
2014-01-09  1:25               ` Eric S. Raymond
2014-01-09  1:31                 ` Juanma Barranquero
2014-01-09  2:13                   ` Juanma Barranquero
2014-01-09  5:27                     ` Eric S. Raymond
2014-01-09  9:36                       ` Juanma Barranquero
2014-01-09 12:37                         ` Eric S. Raymond
2014-01-09 12:48                           ` Juanma Barranquero
2014-01-09 13:13                             ` Eric S. Raymond
2014-01-09 13:27                               ` Juanma Barranquero
2014-01-09 13:47                                 ` Eric S. Raymond [this message]
2014-01-09 14:05                                   ` Juanma Barranquero
2014-01-09 14:29                                     ` Eric S. Raymond
2014-01-09 14:45                                       ` Juanma Barranquero
2014-01-09 15:08                                         ` Eric S. Raymond
2014-01-09 15:21                                           ` Juanma Barranquero
2014-01-09 20:43                                             ` chad
2014-01-09 12:00                       ` Rüdiger Sonderfeld
2014-01-09 12:12                         ` Juanma Barranquero
2014-01-09 12:20                           ` Rüdiger Sonderfeld
2014-01-09 12:24                             ` Juanma Barranquero
2014-01-09  0:10         ` Juanma Barranquero
2014-01-09  3:48           ` Stephen J. Turnbull
2014-01-09  0:34     ` Glenn Morris
2014-01-09  6:36       ` Eli Zaretskii

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=20140109134716.GA6290@thyrsus.com \
    --to=esr@thyrsus.com \
    --cc=bzg@gnu.org \
    --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 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.