unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* When should I use "`" and "'" in NEWS?
@ 2013-06-15  2:51 Xue Fuqiao
  2013-06-15  7:08 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Xue Fuqiao @ 2013-06-15  2:51 UTC (permalink / raw)
  To: emacs-devel

Hi list,

In etc/NEWS[fn:1], I found this sentence:

  You should either convert them to utf-8 or add an explicit coding:
  cookie.

I expected a "`" and a "'" around the "coding:" cookie, but there's
none.  So I have a question: when should we add these delimiters?  I
can't find a reference/convention documentation.

IMHO at least these things need those delimiters:
  * Lisp symbols
  * Configure options

and there are something I'm uncertain about:
  * Key sequences
  * Code span (I think "coding:" cookie is belong to this category)
  * "Modules" (like those in Eshell and Org)
  * Library/package names (with or without `.el')
  * Value of Lisp variables
  * Value returned by functions/lambda/primitives/macros

Footnotes:

[fn:1] http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/112957

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: When should I use "`" and "'" in NEWS?
  2013-06-15  2:51 When should I use "`" and "'" in NEWS? Xue Fuqiao
@ 2013-06-15  7:08 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2013-06-15  7:08 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: emacs-devel

> Date: Sat, 15 Jun 2013 10:51:58 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> 
> In etc/NEWS[fn:1], I found this sentence:
> 
>   You should either convert them to utf-8 or add an explicit coding:
>   cookie.
> 
> I expected a "`" and a "'" around the "coding:" cookie, but there's
> none.

So add them.

> So I have a question: when should we add these delimiters?

When you think they are appropriate.  There's no formal grammar for
NEWS, it's just more or less free text.

> IMHO at least these things need those delimiters:
>   * Lisp symbols
>   * Configure options
> 
> and there are something I'm uncertain about:
>   * Key sequences
>   * Code span (I think "coding:" cookie is belong to this category)
>   * "Modules" (like those in Eshell and Org)
>   * Library/package names (with or without `.el')
>   * Value of Lisp variables
>   * Value returned by functions/lambda/primitives/macros

Think of NEWS as an Info file, and decorate everything makeinfo would.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-15  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-15  2:51 When should I use "`" and "'" in NEWS? Xue Fuqiao
2013-06-15  7:08 ` Eli Zaretskii

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).