unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: hide-show messages
Date: Thu, 21 Oct 2010 23:18:04 +0200	[thread overview]
Message-ID: <874ocf9reb.fsf@ambire.localdomain> (raw)
In-Reply-To: <4CC07AC5.10605@online.de> ("Andreas Röhler"'s message of "Thu, 21 Oct 2010 19:39:17 +0200")

() Andreas Röhler <andreas.roehler@online.de>
() Thu, 21 Oct 2010 19:39:17 +0200

   >     Patch against latest source attached.
   >
   > Unfortunately, the patch does not document the changed interface.

   got it from

   git://repo.or.cz/emacs.git

Sorry, i was not clear.  Here is a verbose explanation of that
sentence's intended meaning: A function's arglist is its interface.
Before, ‘hs-show-all’ took no args; your patch introduces an (optional)
arg; thus, there was a change in the interface.  Two accompanying pieces
of documentation are customary in cases like this:

 - that of the interface
 - that of the change in both interface and functionality

A preferable patch would include some modifcation to the docstring
describing the optional arg as well as a suitable ChangeLog entry,
but as it turned out, these were missing.

   BTW your mail address there seems wrong.

Yes, it has lapsed.  Please feel free to ignore it.

   > Fortunately, this is an opportunity to revisit the need for those
   > messages.  When hideshow.el was originally written, computers were
   > slower and such a message was reassuring when waiting for a big buffer
   > to be processed.  Nowadays, i think it is better to completely remove
   > those messages as they have become more annoying than reassuring.

This was my roundabout way of suggesting you post another (simpler)
patch, removing those messages altogether.  Ignoring cruft elegantly
is ok, but pruning it (elegantly or not) is better.



      reply	other threads:[~2010-10-21 21:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  7:24 hide-show messages Andreas Röhler
2010-10-21 13:45 ` Thien-Thi Nguyen
2010-10-21 17:39   ` Andreas Röhler
2010-10-21 21:18     ` Thien-Thi Nguyen [this message]

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=874ocf9reb.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=andreas.roehler@online.de \
    --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).