unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Tianxiang Xiong <tianxiang.xiong@gmail.com>
Cc: "Eli Zaretskii" <eliz@gnu.org>,
	"Emacs developers" <emacs-devel@gnu.org>,
	"Clément Pit--Claudel" <clement.pit@gmail.com>,
	monnier@iro.umontreal.ca
Subject: Re: Proposal: font lock for `describe-variable`
Date: Mon, 3 Oct 2016 22:57:21 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1610032256530.699@calancha-pc> (raw)
In-Reply-To: <CACMkxixpJxKZH41RUHAEm1Eq-hLBNu+1C9G6Ly0AM_VKY7c6YA@mail.gmail.com>



On Fri, 30 Sep 2016, Tianxiang Xiong wrote:

> OK, I'll try to remove the whitespace changes.
Hi Tianxiang,

i have three suggestions:

I)

i see your patch modified two functions:
`describe-variable-custom-version-info'
`describe-variable'

maybe, in addition to the patch,  you can provide the log message
of the commit in Emacs format, i mean:

* lisp/help-fns.el (describe-variable-custom-version-info): blah, blah.
(describe-variable): blah, blah.

that could make much clear what is the rationale of your changes.

II)
I suggest to exclude from the patch the changes
princ --> insert
i guess the use of `princ' is intentional, in order to redirect the
standard output using:
(with-current-buffer standard-output

If you like, you might provide a patch made of two commits: the first one without
any princ --> insert changes, and then,
add a commit on top of the previous one providing these (princ ---> insert) changes.

III)
Do not drop embedded new lines as in:
(format "This variable was introduced, or its default value was changed, in\nversion %s of Emacs.\n"
or in:
(format (concat "This variable was introduced, or its default value was changed, in\nversion %s of the %s package"

Those newlines prevent to having lines longer than 80 lines.  They are important.

Regards,
Tino



  parent reply	other threads:[~2016-10-03 13:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  4:09 Proposal: font lock for `describe-variable` Tianxiang Xiong
2016-09-27 15:49 ` Eli Zaretskii
2016-09-27 16:30   ` Tianxiang Xiong
2016-09-27 17:40     ` Eli Zaretskii
2016-09-28  3:45       ` Tianxiang Xiong
2016-09-28  4:21         ` Clément Pit--Claudel
2016-09-30  7:34           ` Tianxiang Xiong
2016-09-30 13:20             ` Stefan Monnier
2016-09-30 14:41               ` Stefan Monnier
2016-10-03 13:57             ` Tino Calancha [this message]
2016-10-08 21:51               ` Tianxiang Xiong
2016-10-09 15:48                 ` Tino Calancha
2016-10-11  4:11                   ` Tianxiang Xiong
2016-10-11  5:40                     ` Tino Calancha
2016-10-11  5:51                       ` Clément Pit--Claudel
2016-10-11  5:59                         ` Tino Calancha
2016-10-11 13:31                           ` Clément Pit--Claudel
2016-10-11 13:57                             ` Tino Calancha
  -- strict thread matches above, loose matches on Subject: below --
2016-09-25 18:25 Tianxiang Xiong
2016-09-25  3:36 Tianxiang Xiong
2016-09-25 14:47 ` Clément Pit--Claudel
2016-09-25 19:02   ` Stefan Monnier
2016-09-25 19:46     ` Clément Pit--Claudel
2016-09-25 21:12       ` Stefan Monnier

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=alpine.DEB.2.20.1610032256530.699@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=clement.pit@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=tianxiang.xiong@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).