unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: rename and clean unexec.c
Date: Wed, 04 Aug 2010 23:58:38 +0200	[thread overview]
Message-ID: <87tyna6nw1.fsf@telefonica.net> (raw)
In-Reply-To: 831vaexopd.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> That reasoning would preclude renaming files, functions, variables and
>> what-not, right?
>
> Not if you read what I wrote in this thread

Sorry, as we are on the 18th deep level of the thread, maybe I'm
missing something. Perhaps your are referring to this:

From: Eli Zaretskii <eliz@gnu.org>
Date: Thu, 29 Jul 2010 06:06:27 +0300

> I'm not against renaming in general, if there is a good reason.

I wonder what's a good reason for you.

> (as opposed to only what you want to read to make the point of your
> liking).

Ha!

Emacs would benefit from any effort towards cleaning the code. There is
cruft everywhere, including #if 0 and #if 1, functions several hundred
lines long sprinkled with dozens of preprocessor conditionals, places
with piles of accumulated hacks for adapting the code to new
environments or for fixing bugs (instead of refactorizing the code),
special cases for dead systems, files which are on the tens of thousands
line count containing loosely related stuff, names that badly convey the
purpose of the named object (unexec.c is a mild example, we could add
xdisp.c and lots of functions with _x_ in its name when actually they
apply to other windowing systems) and so on.

The point of my liking is that somebody is trying to do something about
that. If you object to renaming a small platform-specific file, what
would you say if he wants to rename several core functions?

Being allowed to easily do forensics is good. Having a clean, friendly
code base is *much* better. You would say that unexec.c is just a tiny
inconvenience, but Emacs has hundreds of such tiny inconveniences, and
that amounts to a big annoyance. Please remember that Emacs is not in
maintenance mode by a few veteran hackers, it is supposed to be an
evolving project with a need for new programmers.




  reply	other threads:[~2010-08-04 21:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28  4:38 rename and clean unexec.c Dan Nicolaescu
2010-07-28 17:45 ` Eli Zaretskii
2010-07-28 19:46   ` Dan Nicolaescu
2010-07-28 20:13     ` Óscar Fuentes
2010-07-28 20:53       ` Eli Zaretskii
2010-07-28 22:55         ` Dan Nicolaescu
2010-07-29  3:06           ` Eli Zaretskii
2010-07-29  3:21             ` Dan Nicolaescu
2010-07-29 17:59               ` Eli Zaretskii
2010-07-29 18:09                 ` Óscar Fuentes
2010-07-29 18:19                 ` Dan Nicolaescu
2010-07-29 20:37                   ` Eli Zaretskii
2010-07-29 21:18                     ` Dan Nicolaescu
2010-07-30  6:39                       ` Eli Zaretskii
2010-07-30  7:37                         ` Dan Nicolaescu
2010-07-30  9:30                           ` Eli Zaretskii
2010-08-04 16:40                             ` Dan Nicolaescu
2010-08-04 16:55                             ` Óscar Fuentes
2010-08-04 17:38                               ` Eli Zaretskii
2010-08-04 21:58                                 ` Óscar Fuentes [this message]
2010-08-05  3:07                                   ` Eli Zaretskii
2010-07-30  9:12                       ` Stefan Monnier
2010-08-05 17:27                         ` Eli Zaretskii
2010-08-05 18:41                           ` Dan Nicolaescu
2010-08-05 21:38                           ` Stefan Monnier
2010-07-29  7:54         ` Andreas Schwab
2010-07-28 20:46     ` Eli Zaretskii
2010-08-05 17:31       ` Eli Zaretskii
2010-08-05 18:46         ` Dan Nicolaescu
2010-08-05 21:39           ` Stefan Monnier
2010-08-13 11:19           ` 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

  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=87tyna6nw1.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@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 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).