all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Post-22.1 development?
Date: Mon, 11 Jun 2007 21:08:04 +0200	[thread overview]
Message-ID: <85tzte9unf.fsf@lola.goethe.zz> (raw)
In-Reply-To: <200706111702.l5BH2Q2w000121@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Mon\, 11 Jun 2007 10\:02\:26 -0700")

Dan Nicolaescu <dann@ics.uci.edu> writes:

> David Kastrup <dak@gnu.org> writes:
>
>   > Richard Stallman <rms@gnu.org> writes:
>   > 
>   > >     How about merging the multi-tty branch? The changes on that branch are
>   > >     much more localized, so porting fixes from the trunk to the EMACS_22
>   > >     branch should not be a big issue. 
>   > >
>   > > Does anyone see a problem with this idea?
>   > 
>   > Well, the setenv/process-environment thing I wanted to have a look at:
>   > in the current state, it will require quite a few changes in existing
>   > packages (including packages not distributed as part of Emacs), and I
>   > think that the approach which I sketched out would pretty much
>   > eliminate that problem.
>
> Let me reiterate Karoly's (the multi-tty author) opinion on this,
> which I also second as a contributor to that branch and as a (almost
> exclusive) user for about 2 years: the environment variables thing
> is a peripheral issue, and a rather obscure one.

Dan, please either either _quote_ Karoly, or speak for yourself.  I
don't think that you do Karoly a favor by this sort of "reiteration".
Anyway, we don't want obscure stuff entered into Emacs.  We want to
have things work as closely to before (and to the expected way) as
possible.  There is exactly _zero_ documentation of the multi-tty
branch in either Emacs and Elisp manual as far as I can see.  And we
want to have the necessary documentation of the multi-tty
functionality (similar to multi-display documentation currently) to be
confined to a single chapter.

The current entanglement of frame-local variables, terminal-local
variables and environment variables, with complete semantics changes
in all of the accessor functions of the environment as well as the
data structures, is completely unfit for an isolated chapter since it
pervades too much other stuff.

If you feel differently, try creating Texinfo documentation for
multi-tty that supplements the existing documentation, without
touching too many existing chapters.

> Changing this requires about 50-100 lines of code (including
> comments) and it can be done without major impact on the rest of the
> multi-tty functionality (it has happened a few times on the
> multi-tty branch already).
>
> Karoly does not think there's a problem with the current
> implementation (and I second that too), but he would have no
> objection if David was to replace the current implementation.

Look, I quoted code both in Emacs itself as well as in external
packages that was affected.

>   > Merging multi-tty to the trunk now could mean that some people
>   > start patching up other packages inside or outside of Emacs to
>   > work with the current environment variable settings, while
>   > others will change the mechanisms eventually.
>
> The changes in question for external packages probably amount to 1-2
> lines of code. Plus I don't think we should be concerned about
> external packages at this point.

Most incompatible API changes don't amount to more than 1-2 lines of
code in external packages.  We still don't do them lightly.  In
particular, when they affect close to everything.

That is the state of affairs with "locales", "specifiers" and
"instantiators" in XEmacs.  They provide a technical framework for
displaying fonts, images, toolbars and other stuff on a variety of
terminals and devices.  They have provided multitty functionality on
XEmacs for probably a decade or more.  They have also made it pretty
much impossible for anybody except a guru to create code dealing with
images and similar stuff even on a single tty.

We don't want a similar exposure of multi-tty building blocks to the
programmer who is not interested in them.  And people dealing with
environment variables are more likely than not expecting to have
multi-tty functionality getting in their way.

> For the code in Emacs, if the implementation changes I volunteer to
> go over and fix any issues. I guesstimate this to be less than 10
> minutes of work.

But we don't want to have to change callers that are not logically
involved with multi-tty functionality.

> So in conclusion _my_ (quite informed) opinion is that this issue
> should not stop a merge.

I disagree.

> Please let's move forward unless there are more serious issues that
> need consideration.

Breaking code in unrelated areas lightly is something which I consider
serious.  You call for ignoring that opinion.

In that case I ask you to draft the necessary documentation in the
Elisp and Emacs manuals so that people get a better feel of the extent
of the effects.  If this is not serious, existing chapters should
hardly be affected, right?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-06-11 19:08 UTC|newest]

Thread overview: 178+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-04  3:31 Post-22.1 development? Chong Yidong
2007-06-04  6:59 ` Release announcement [was Re: Post-22.1 development?] Glenn Morris
2007-06-04  8:44   ` Kim F. Storm
2007-06-04 23:20     ` Richard Stallman
2007-06-04  9:11   ` Yavor Doganov
2007-06-04  8:58 ` Post-22.1 development? Andreas Schwab
2007-06-04  9:20   ` Ulrich Mueller
2007-06-04  9:24     ` Andreas Schwab
2007-06-04 19:28       ` Eli Zaretskii
2007-06-04  9:25     ` David Kastrup
2007-06-04 19:31       ` Eli Zaretskii
2007-06-04 23:20     ` Richard Stallman
2007-06-04 16:44 ` Richard Stallman
2007-06-04 17:31   ` Drew Adams
2007-06-17 21:49     ` Richard Stallman
2007-06-04 18:53   ` new Emacs maintainer(s)? (was: Re: Post-22.1 development?) Dan Nicolaescu
2007-06-04 19:34     ` new Emacs maintainer(s)? David Kastrup
2007-06-04 19:37       ` Eli Zaretskii
2007-06-04 19:44         ` David Kastrup
2007-06-04 20:01           ` Lennart Borgman (gmail)
2007-06-05  5:17     ` new Emacs maintainer(s)? (was: Re: Post-22.1 development?) Richard Stallman
2007-06-05 16:32       ` Dan Nicolaescu
2007-06-05 16:39         ` new Emacs maintainer(s)? David Kastrup
2007-06-05 18:39           ` Karl Fogel
2007-06-06  0:21         ` Chong Yidong
2007-06-06  7:56           ` Kim F. Storm
2007-06-06  8:45             ` David Kastrup
2007-06-06  9:22               ` Juanma Barranquero
2007-06-06 10:25               ` Kim F. Storm
2007-06-06 10:54                 ` David Kastrup
2007-06-06 12:02                   ` Thien-Thi Nguyen
2007-06-06 12:06                     ` David Kastrup
2007-06-06 13:19                       ` Thien-Thi Nguyen
2007-06-06 13:44                         ` David Kastrup
2007-06-06 12:38                   ` Kenichi Handa
2007-06-06 15:11                     ` Kim F. Storm
2007-06-06 19:33                       ` Chong Yidong
2007-06-06 12:29           ` Stefan Monnier
2007-06-07  5:33             ` Miles Bader
2007-06-07  6:12               ` Kenichi Handa
2007-06-04 19:31   ` Post-22.1 development? David Kastrup
2007-06-04 21:18     ` Jason Rumney
2007-06-05  5:17       ` Richard Stallman
2007-06-05 16:10       ` Chong Yidong
2007-06-05 21:35         ` Nick Roberts
2007-06-05 22:33         ` Richard Stallman
2007-06-06  7:58           ` Michael Albinus
2007-06-06 13:07             ` Johan Bockgård
2007-06-06 13:47               ` David Kastrup
2007-06-07 15:45               ` Michael Albinus
2007-06-07 17:05                 ` Andreas Schwab
2007-06-07 19:01                   ` Michael Albinus
2007-06-07 17:24                 ` Stefan Monnier
2007-06-09  9:50                   ` David House
2007-06-06 22:09             ` Richard Stallman
2007-06-07 20:25               ` Michael Albinus
2007-06-08 14:27           ` Vinicius Jose Latorre
2007-06-10 15:59   ` Dan Nicolaescu
2007-06-11  9:44     ` Richard Stallman
2007-06-11 10:04       ` David Kastrup
2007-06-11 11:25         ` Miles Bader
2007-06-11 17:02         ` Dan Nicolaescu
2007-06-11 19:08           ` David Kastrup [this message]
2007-06-11 22:23             ` Dan Nicolaescu
2007-06-13  8:07           ` Richard Stallman
2007-06-12 16:00         ` Richard Stallman
2007-06-12 16:29           ` Stefan Monnier
2007-06-12 16:57             ` Jason Rumney
2007-06-12 17:43               ` Stefan Monnier
2007-06-12 22:09                 ` David Kastrup
2007-06-12 23:38                   ` Chong Yidong
2007-06-13 16:22                     ` Richard Stallman
2007-06-13 18:19                       ` Chong Yidong
2007-06-13 19:15                         ` David Kastrup
2007-06-13 18:44                     ` David Kastrup
2007-06-13 19:22                       ` Chong Yidong
2007-06-13 19:47                         ` David Kastrup
2007-06-13 20:08                       ` Jeremy Maitin-Shepard
2007-06-14  6:11                         ` Miles Bader
2007-06-14  6:18                           ` David Kastrup
2007-06-14  6:57                             ` Miles Bader
2007-06-14  7:33                               ` David Kastrup
2007-06-14  8:08                                 ` Miles Bader
2007-06-14  8:39                                   ` David Kastrup
2007-06-14  9:22                                     ` Miles Bader
2007-06-13  0:09                   ` Stefan Monnier
2007-06-13 16:22                     ` Richard Stallman
2007-06-13 17:39                       ` Stefan Monnier
2007-06-13 16:21                   ` Richard Stallman
2007-06-13 20:57                     ` Michael Albinus
2007-06-13 22:17                       ` Stefan Monnier
2007-06-15  6:09                         ` Michael Albinus
2007-06-15 14:02                           ` Stefan Monnier
2007-06-14  7:49               ` Richard Stallman
2007-06-14  8:57                 ` David Kastrup
2007-06-15  8:48                   ` Richard Stallman
2007-06-15  9:02                     ` David Kastrup
2007-06-16 18:51                       ` Richard Stallman
2007-06-04 19:35 ` Eli Zaretskii
2007-06-05  5:17   ` Richard Stallman
2007-06-05  6:17     ` David Kastrup
2007-06-05 19:17       ` Richard Stallman
2007-06-05 20:52         ` David Kastrup
2007-06-06 16:59           ` Richard Stallman
2007-06-05 19:54       ` Eli Zaretskii
2007-06-05 21:13         ` David Kastrup
2007-06-06 16:59           ` Richard Stallman
2007-06-06 21:10             ` Nick Roberts
2007-06-07  6:51               ` Jan Djärv
2007-06-07  6:57                 ` Miles Bader
2007-06-07  8:21                   ` Jan Djärv
2007-06-07  9:04                     ` Nick Roberts
2007-06-08 14:23                     ` Richard Stallman
2007-06-08 18:06                       ` Jan Djärv
2007-06-07 18:33                 ` Tom Tromey
2007-06-07 18:53                   ` David House
2007-06-07 18:47                     ` Tom Tromey
2007-06-08  5:54                   ` Jan Djärv
2007-06-08  7:17                     ` IPP under emacs [was: Re: Post-22.1 development?] Thien-Thi Nguyen
2007-06-08 14:25                       ` Vinicius Jose Latorre
2007-06-08 18:37                         ` Ken Raeburn
2007-06-08 20:20                           ` Jason Rumney
2007-06-08 20:59                             ` Ken Raeburn
2007-06-08 21:16                               ` Jason Rumney
2007-06-08 21:40                                 ` Ken Raeburn
2007-06-08 21:43                                   ` Jason Rumney
2007-06-09  1:41                                     ` Ken Raeburn
2007-06-09  9:46                         ` Richard Stallman
2007-06-10  3:47                           ` Vinicius Jose Latorre
2007-06-10  7:11                             ` Jan Djärv
2007-06-10 13:18                             ` Richard Stallman
2007-06-08 17:49                   ` Post-22.1 development? Ken Raeburn
2007-06-08 18:41                     ` Andreas Schwab
2007-06-08 20:12                     ` Tom Tromey
2007-06-08 14:23                 ` Richard Stallman
2007-06-08 18:01                   ` Jan Djärv
2007-06-08 19:20                     ` Stefan Monnier
2007-06-08 22:25                       ` desktop.el/session.el [was: Post-22.1 development?] Davis Herring
2007-06-08 23:06                         ` desktop.el/session.el Stefan Monnier
2007-06-09 21:32                         ` desktop.el/session.el Juri Linkov
2007-06-09 20:24                     ` Post-22.1 development? Richard Stallman
2007-06-10  7:23                       ` Jan Djärv
2007-06-09 20:24                     ` Richard Stallman
2007-06-08  7:11               ` Richard Stallman
2007-06-08  9:01                 ` Nick Roberts
2007-06-07 19:48             ` Sean O'Rourke
2007-06-07 21:18               ` Nick Roberts
2007-06-07 22:17                 ` Sean O'Rourke
2007-06-07 22:53                   ` Miles Bader
2007-06-07 23:58                   ` Alan Mackenzie
2007-06-07 23:06                     ` 48 line console [was Re: Post-22.1 development]? Nick Roberts
2007-06-08  0:03                       ` 48 line console Thien-Thi Nguyen
2007-06-08  1:34                         ` Nick Roberts
2007-06-08  7:19                           ` Thien-Thi Nguyen
2007-06-08  8:59                             ` Nick Roberts
2007-06-08  9:50                               ` Thien-Thi Nguyen
2007-06-08 10:40                       ` 48 line console [was Re: Post-22.1 development]? Alan Mackenzie
2007-06-07 22:25               ` Post-22.1 development? David Reitter
2007-06-07 22:42                 ` Sean O'Rourke
2007-06-07 22:53                   ` David Reitter
2007-06-08 13:57                     ` Mathias Dahl
2007-06-08 14:24                     ` Richard Stallman
2007-06-08 17:23                       ` csant
2007-06-08 19:17                         ` Jan Djärv
2007-06-08  1:23                 ` YAMAMOTO Mitsuharu
2007-06-05 10:24 ` Nick Roberts
2007-06-05 10:55   ` David Kastrup
2007-06-05 11:19   ` Kenichi Handa
2007-06-05 21:07     ` Nick Roberts
2007-06-06  0:37       ` Kenichi Handa
2007-06-05 19:17   ` Richard Stallman
2007-06-05 19:55     ` Jason Rumney
2007-06-06 16:58       ` Richard Stallman
2007-06-05 21:22     ` Nick Roberts
2007-06-06 16:59       ` Richard Stallman
2007-06-06 15:28 ` Neal Becker
2007-06-06 15:32   ` David House
2007-06-12 18:39 ` Jay Belanger

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=85tzte9unf.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.