* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
@ 2013-12-29 22:08 Gregor Zattler
2013-12-30 1:14 ` Glenn Morris
` (2 more replies)
0 siblings, 3 replies; 104+ messages in thread
From: Gregor Zattler @ 2013-12-29 22:08 UTC (permalink / raw)
To: 16292
Dear emacs developers,
when I do a `make docs' the generated info files do not contain
`' -quotes any more but '' -quotes.
This breaks e.g. info+ fontification (a very helpful feature).
Reason is makeinfo >=5 produces either single straight quotes for
info files or single curly ones, depending on the document
encoding:
(from makeinfo maunal:)
'OPEN_QUOTE_SYMBOL'
When an opening quote is needed, e.g., for '@samp' output, use the
specified character; default '‘' for HTML, '‘' for
Docbook. For Info, the default depends on the enabled document
encoding (*note @documentencoding::); if no document encoding
is set, or the encoding is US-ASCII, etc., ''' is used.
This character usually appears as an undirected single quote
on modern systems. If the document encoding is Unicode, the
Info output uses a Unicode left quote.
[...]
(from makeinfo maunal:)
17.2 '@documentencoding ENC': Set Input Encoding
================================================
The '@documentencoding' command declares the input document encoding.
Write it on a line by itself, with a valid encoding specification
following, near the beginning of the file but after '@setfilename'
(*note @setfilename::):
@documentencoding ENC
At present, Texinfo supports only these encodings:
'US-ASCII'
This has no particular effect, but it's included for completeness.
'UTF-8'
The vast global character encoding, expressed in 8-bit bytes.
'ISO-8859-2'
'ISO-8859-1'
'ISO-8859-15'
[...]
Searching texinfos mailing list archives showed that this was
discussed roughly two years before and that it is the result of a
decision to go the same way as the rest of the world which
interprets ` as grave accent:
http://article.gmane.org/gmane.comp.tex.texinfo.bugs/5526/match=single+quotes :
|> For the record, RFC20 says the meaning of character 0x60 is
|> EITHER "grave accent" OR "opening single quotation mark". It
|> then says this character ".. should not be used without
|> determining that there is agreement between sender and recipient"
I think it's highly desirable to be able to tell beginning and
closing of enclosing characters apart. Therefore I consider the
info files single straight quotes a bug. I assume there is a way
to produce `' quotations with modern makeinfo or the *.texi files
should have @documentencoding directives which produce single
curly quotes.
Thanks for your attention, Gregor
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-29 22:08 Gregor Zattler
@ 2013-12-30 1:14 ` Glenn Morris
2013-12-30 3:07 ` Drew Adams
2013-12-30 3:23 ` Paul Eggert
2014-05-03 0:55 ` Glenn Morris
2 siblings, 1 reply; 104+ messages in thread
From: Glenn Morris @ 2013-12-30 1:14 UTC (permalink / raw)
To: Gregor Zattler; +Cc: 16292
I think the Emacs manuals should use whatever Texinfo produces by default.
If that is '' rather than `', so be it. The place to argue for a change
would be the Texinfo list, but it sounds like that ship sailed.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 1:14 ` Glenn Morris
@ 2013-12-30 3:07 ` Drew Adams
2013-12-30 3:26 ` Glenn Morris
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2013-12-30 3:07 UTC (permalink / raw)
To: Glenn Morris, Gregor Zattler; +Cc: 16292
> I think the Emacs manuals should use whatever Texinfo produces by default.
> If that is '' rather than `', so be it. The place to argue for a change
> would be the Texinfo list, but it sounds like that ship sailed.
Emacs Dev has nothing to say about the format used for Info? Interesting.
Too bad, truly.
Emacs has a long tradition of font-locking `...' in doc strings. Why?
The reason for that (readability) is an even stronger argument for doing
the same for Info, where it matters even more.
And that would have been a good argument for Texinfo to keep the `...'
syntax for Info. Alas, Emacs Dev has never wanted to highlight `...'
in Info (even as a user option, and even though patches were available).
Again, too bad. Poor Emacs.
[This is like changing Lisp to use )lambda )var) )1+ )foo 42 var))) or XML
to use >foo>. Good candidates for an April Fool's joke; nothing more.]
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-29 22:08 Gregor Zattler
2013-12-30 1:14 ` Glenn Morris
@ 2013-12-30 3:23 ` Paul Eggert
2013-12-30 4:10 ` Drew Adams
2013-12-30 17:24 ` Eli Zaretskii
2014-05-03 0:55 ` Glenn Morris
2 siblings, 2 replies; 104+ messages in thread
From: Paul Eggert @ 2013-12-30 3:23 UTC (permalink / raw)
To: 16292-done
Apparently the problem is that some of Emacs's .texi files
contain @documentencoding directives and generate curly quotes,
while others don't and generate straight quotes. It's better to
be consistent, and curly quotes seem more useful, so I installed
a patch to do that as trunk bzr 115807. I assume this fixes the
bug and so am closing this bug report; if it's not fixed please
let me know.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 3:07 ` Drew Adams
@ 2013-12-30 3:26 ` Glenn Morris
0 siblings, 0 replies; 104+ messages in thread
From: Glenn Morris @ 2013-12-30 3:26 UTC (permalink / raw)
To: 16292
Drew Adams wrote:
> Emacs Dev has nothing to say about the format used for Info? Interesting.
>
> Too bad, truly.
>
> Emacs has a long tradition of font-locking `...' in doc strings. Why?
> The reason for that (readability) is an even stronger argument for doing
> the same for Info, where it matters even more.
>
> And that would have been a good argument for Texinfo to keep the `...'
> syntax for Info. Alas, Emacs Dev has never wanted to highlight `...'
> in Info (even as a user option, and even though patches were available).
>
> Again, too bad. Poor Emacs.
Could you possibly stop talking like such a pompous jackass?
There is no such thing as "Emacs Dev". There are just people, with
differing opinions, doing work, for free.
My opinion is that the Texinfo maintainers are the people who decide
what Info documents look like.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 3:23 ` Paul Eggert
@ 2013-12-30 4:10 ` Drew Adams
2013-12-30 17:24 ` Eli Zaretskii
1 sibling, 0 replies; 104+ messages in thread
From: Drew Adams @ 2013-12-30 4:10 UTC (permalink / raw)
To: Paul Eggert, 16292-done
> Apparently the problem is that some of Emacs's .texi files
> contain @documentencoding directives and generate curly quotes,
> while others don't and generate straight quotes. It's better to
> be consistent, and curly quotes seem more useful, so I installed
> a patch to do that as trunk bzr 115807. I assume this fixes the
> bug and so am closing this bug report; if it's not fixed please
> let me know.
Curly opening and closing quotes are certainly better than having
the same kind of quote char for both opening and closing. Thx.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 3:23 ` Paul Eggert
2013-12-30 4:10 ` Drew Adams
@ 2013-12-30 17:24 ` Eli Zaretskii
2013-12-30 17:33 ` Drew Adams
` (2 more replies)
1 sibling, 3 replies; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-30 17:24 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Date: Sun, 29 Dec 2013 19:23:32 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
>
> Apparently the problem is that some of Emacs's .texi files
> contain @documentencoding directives and generate curly quotes,
> while others don't and generate straight quotes. It's better to
> be consistent, and curly quotes seem more useful, so I installed
> a patch to do that as trunk bzr 115807. I assume this fixes the
> bug and so am closing this bug report; if it's not fixed please
> let me know.
Very sorry, but I reverted that commit: it screws up anyone who wants
to read the docs on a text terminal that doesn't support UTF-8. At
best, you see something like
Hash notation cannot be read at all, so the Lisp reader signals the
error \u2018invalid-read-syntax\u2019 whenever it encounters \u2018#<\u2019.
At worst, you see this kind of gibberish:
In most cases, an objectΓאשs printed representation is also a read
syntax for the object. However, some types have no read syntax, since
it does not make sense to enter objects of these types as constants in a
Lisp program. These objects are printed in "hash notation", which
consists of the characters Γאר#<Γאש, a descriptive string (typically the
type name followed by the name of the object), and a closing Γאר>Γאש. For
example:
(current-buffer)
Γחע #<buffer objects.texi>
I'm sorry, we cannot possibly distribute documentation that looks like
this in some locales. For Emacs Info reader, we could perhaps fix
that by using a display table, but there's no such solution available
for the stand-alone Info reader that is part of Texinfo.
This change should have never been committed without a discussion,
certainly not during a feature freeze.
Of course, before this commit, we already had such a problem in
several files, which started using UTF-8 encoding since the last
March. But that, too, was never discussed AFAIR, and its effect on
@code, @samp, etc. markup, as well as on ``..'' quoted text, was never
mentioned. (These effects are barely documented in the Texinfo
manual, so it was easy to miss the meaning of those changes. I
submitted a bug report to Texinfo maintainers about this documentation
deficiency.)
So now we are left with a few files that still specify UTF-8, and
still screw up text-mode Info readers in some locales. Those files
were using Latin-1 before the changes in March 2013, which allowed us
to display a few non-ASCII words in Latin locales, but still have the
quotes and markup legible in all locales.
So, unless someone has a better idea, I will in a day or two revert
those files back to Latin-1. This will not be optimal, since names of
some people (I counted 4) mentioned in at least one of those files
cannot be encoded in Latin-1, and so we will need to use the ASCII
imitation offered by Texinfo (as we did before the switch to UTF-8).
But that is IMO a lesser evil than denying legible manuals to various
non-UTF locales.
As for the OP's report: I agree with Glenn that the ship with `..'
quoting in Info sailed a long time ago. I was against that change in
Texinfo (as was Karl Berry, one of the main Texinfo developers), but
this was voted down, so there's no sense in arguing about that. If
info+ needs to parse the quoting to highlight marked-up text, it will
have to adapt, sorry. (Or lobby on the Texinfo list for reverting to
previous behavior.)
I'm going to reopen the bug.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 17:24 ` Eli Zaretskii
@ 2013-12-30 17:33 ` Drew Adams
2013-12-30 18:03 ` Eli Zaretskii
2013-12-30 19:07 ` Paul Eggert
2014-01-02 4:19 ` Stefan Monnier
2 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2013-12-30 17:33 UTC (permalink / raw)
To: Eli Zaretskii, Paul Eggert; +Cc: grfz, 16292
> Very sorry, but I reverted that commit...
>
> As for the OP's report: I agree with Glenn that the ship with `..'
> quoting in Info sailed a long time ago. I was against that change in
> Texinfo (as was Karl Berry, one of the main Texinfo developers), but
> this was voted down, so there's no sense in arguing about that. If
> info+ needs to parse the quoting to highlight marked-up text, it will
> have to adapt, sorry. (Or lobby on the Texinfo list for reverting to
> previous behavior.)
>
> I'm going to reopen the bug.
This is too bad, indeed.
I don't understand exactly what Paul did to change (for Emacs) the
first ' in '...' to SINGLE TURNED COMMA QUOTATION MARK, but if he
could do that, couldn't a similar approach be used to change that
first ' back to `, restoring things for Emacs users as they were
before (removing this regression)?
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 17:33 ` Drew Adams
@ 2013-12-30 18:03 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-30 18:03 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Date: Mon, 30 Dec 2013 09:33:47 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: grfz@gmx.de, 16292@debbugs.gnu.org
>
> I don't understand exactly what Paul did to change (for Emacs) the
> first ' in '...' to SINGLE TURNED COMMA QUOTATION MARK
Paul added "@documentencoding utf-8" to sources of all the Info
manuals; the rest was done by makeinfo when it produced the Info
files.
> but if he could do that, couldn't a similar approach be used to
> change that first ' back to `, restoring things for Emacs users as
> they were before (removing this regression)?
Not by a similar approach, but we could indeed restore old behavior by
customizing makeinfo (the details are in the Texinfo manual, and were
quoted here by the OP). But we need to agree to that first, and I
very much doubt that such an agreement will be reached, given the GNU
Coding Standards and the general mindset.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 17:24 ` Eli Zaretskii
2013-12-30 17:33 ` Drew Adams
@ 2013-12-30 19:07 ` Paul Eggert
2013-12-30 19:29 ` Eli Zaretskii
2014-01-02 4:19 ` Stefan Monnier
2 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2013-12-30 19:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: grfz, 16292
Eli Zaretskii wrote:
> we cannot possibly distribute documentation that looks like
> this in some locales.
Yes we can. We've been distributing documentation like that for years.
Latin-1 markup (which you're advocating) is not legible in all locales.
It's not legible in Shift-JIS, for example. And I don't see how Latin-1
markup can work in a text reader in a UTF-8 locale.
> So now we are left with a few files that still specify UTF-8, and
> still screw up text-mode Info readers in some locales.
It's not just the few files that specify "@documentencoding UTF-8".
It's several other files that contain UTF-8 characters, files like
dbus.texi. These files are being mishandled now, because of the revert,
because makeinfo isn't being told what their encoding is. And the
first of these files that I found, namely dbus.texi, is specifically
talking about multibyte characters in its example, so converting it
to Latin-1 would destroy the point of that example.
I sympathize with the goal of producing .info files portable to
all locales, but this revert is not solving that problem and it is
making matters significantly worse in other areas. The other change
you're advocating (converting to Latin-1) would be worse yet.
Instead, I suggest undoing the revert, and adding something to
postprocess the info files, to produce ASCII-only info files.
These could be used in locales that don't grok UTF-8. Doing
this will avoid screwing up the documentation in .html and .pdf
formats. I'll volunteer to write that.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 19:07 ` Paul Eggert
@ 2013-12-30 19:29 ` Eli Zaretskii
2013-12-30 19:46 ` Andreas Schwab
2013-12-31 5:58 ` Paul Eggert
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-30 19:29 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Date: Mon, 30 Dec 2013 11:07:02 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Latin-1 markup (which you're advocating) is not legible in all locales.
Yes, but Latin-1 characters are only used in a handful of words (names
of people), so using Latin-1 doesn't hamper users' ability to read the
manual in any way, because the quote characters are not affected.
Only the UTF-8 encoding also affects the quote characters, which are
used a lot in Info.
So Latin-1 is a much lesser evil.
> It's not just the few files that specify "@documentencoding UTF-8".
> It's several other files that contain UTF-8 characters, files like
> dbus.texi. These files are being mishandled now, because of the revert,
> because makeinfo isn't being told what their encoding is. And the
> first of these files that I found, namely dbus.texi, is specifically
> talking about multibyte characters in its example, so converting it
> to Latin-1 would destroy the point of that example.
The job is not yet finished, so naturally there are problems we need
to solve. I've just reverted the situation back to where it was
before, to the point where we should discuss the possible solutions
and choose the best one.
> I sympathize with the goal of producing .info files portable to
> all locales, but this revert is not solving that problem and it is
> making matters significantly worse in other areas.
The problem of quotes _is_ solved, in most of the Info files. Again,
I'm not claiming we should release the files in their present shape.
There's still work to be done, the question is what to do.
> The other change you're advocating (converting to Latin-1) would be
> worse yet.
I don't see why it would be worse, please elaborate.
> Instead, I suggest undoing the revert, and adding something to
> postprocess the info files, to produce ASCII-only info files.
> These could be used in locales that don't grok UTF-8. Doing
> this will avoid screwing up the documentation in .html and .pdf
> formats. I'll volunteer to write that.
Are you suggesting to produce 2 separate sets of Info files? That
could work, although it will be unusual (I don't think any other
project does that). But if we go that way, there's no need to
postprocess anything, just run makeinfo again with --disable-encoding
and direct the output to a different place.
If you suggest to have a single set of Info files, then I don't
understand the proposal, or how it would help.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 19:29 ` Eli Zaretskii
@ 2013-12-30 19:46 ` Andreas Schwab
2013-12-30 20:08 ` Eli Zaretskii
2013-12-31 5:51 ` Paul Eggert
2013-12-31 5:58 ` Paul Eggert
1 sibling, 2 replies; 104+ messages in thread
From: Andreas Schwab @ 2013-12-30 19:46 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Paul Eggert, grfz, 16292
The info reader should really recode the info file into the locale's
encoding on the fly (and info files should always be encoded in UTF-8).
It doesn't make sense any more to use Latin-1.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 19:46 ` Andreas Schwab
@ 2013-12-30 20:08 ` Eli Zaretskii
2013-12-30 20:35 ` Andreas Schwab
2013-12-31 5:51 ` Paul Eggert
1 sibling, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-30 20:08 UTC (permalink / raw)
To: Andreas Schwab; +Cc: eggert, grfz, 16292
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Paul Eggert <eggert@cs.ucla.edu>, grfz@gmx.de, 16292@debbugs.gnu.org
> Date: Mon, 30 Dec 2013 20:46:16 +0100
>
> The info reader should really recode the info file into the locale's
> encoding on the fly (and info files should always be encoded in UTF-8).
You mean, the Emacs Info reader? It already does that on a TTY,
using terminal-coding-system. But the problem is that these Unicode
quotes cannot be encoded in most (all?) non-UTF encodings.
We could replace those characters via display tables.
But these solutions are only for the Emacs Info reader; the
stand-alone reader doesn't do anything like that, it simply dumps the
bytes to the screen, assuming the text is in the current locale's
encoding.
> It doesn't make sense any more to use Latin-1.
We originally produced ASCII emulations of the non-ASCII characters
used by the names of contributors in ack.texi etc., but then decided
to show them more respect by using Latin. That's how it all started.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 20:08 ` Eli Zaretskii
@ 2013-12-30 20:35 ` Andreas Schwab
2013-12-31 8:03 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Andreas Schwab @ 2013-12-30 20:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: eggert, grfz, 16292
Eli Zaretskii <eliz@gnu.org> writes:
> But these solutions are only for the Emacs Info reader; the
> stand-alone reader doesn't do anything like that, it simply dumps the
> bytes to the screen, assuming the text is in the current locale's
> encoding.
That's what needs to be fixed, not the contents of the info files.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 19:46 ` Andreas Schwab
2013-12-30 20:08 ` Eli Zaretskii
@ 2013-12-31 5:51 ` Paul Eggert
1 sibling, 0 replies; 104+ messages in thread
From: Paul Eggert @ 2013-12-31 5:51 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 16292
Andreas Schwab wrote:
> The info reader should really recode the info file into the locale's
> encoding on the fly (and info files should always be encoded in UTF-8).
> It doesn't make sense any more to use Latin-1.
Thanks, that is a good suggestion.
I requested that on bug-texinfo, here:
http://lists.gnu.org/archive/html/bug-texinfo/2013-12/msg00023.html
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 19:29 ` Eli Zaretskii
2013-12-30 19:46 ` Andreas Schwab
@ 2013-12-31 5:58 ` Paul Eggert
2013-12-31 8:27 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2013-12-31 5:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: grfz, 16292
Eli Zaretskii wrote:
> (names of people) so using Latin-1 doesn't hamper users'
> ability to read the manual in any way
Most of the non-ASCII words are people's names, but many are not,
and often ASCIIfying these would hurt the manual.
These include symbols (e.g., "¬"), examples of encoding
("@samp{Naïve} is encoded as @samp{=?iso-8859-1?q?Na=EFve?=}"),
calendars ("Bahá'í"), the names of GNU programs ("真 Gnus"),
and configuration examples ("écrit" in email configuration).
Nowadays, on GNUish and POSIXish systems in the Emacs target
audience, there's more usage of UTF-8 than of Latin-1. On
Ubuntu and Fedora, for example, the default locale for US
English is en_US.utf8. Hence, converting info files to
Latin-1 would hurt standalone info users in the typical
setup on GNUish and POSIXish platforms.
Perhaps Microsoft Windows users are different, and typically
use Latin-1 or some other unibyte encoding. If so, then
until standalone 'info' is improved we can support those
users by converting the info files on Windows platforms,
before installing the files. Perhaps this could be a
configure-time option. Or, perhaps it's simpler to ask
these folks to use Emacs to read their info files for now.
In any event we shouldn't convert the manual source to
Latin-1; not only would this lose information, it would hurt
the typical standalone info use case on GNUish systems.
In the short run, we do need to add @documentencoding
directives to the manuals that are already using UTF-8,
since makeinfo is currently mishandling these manuals.
This isn't critical for the plain-ASCII manuals, and we
could defer changes to the plain-ASCII manuals to the next
version of Emacs if necessary, though I expect it's better
to format all the manuals consistently.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 20:35 ` Andreas Schwab
@ 2013-12-31 8:03 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-31 8:03 UTC (permalink / raw)
To: Andreas Schwab; +Cc: eggert, grfz, 16292
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: eggert@cs.ucla.edu, grfz@gmx.de, 16292@debbugs.gnu.org
> Date: Mon, 30 Dec 2013 21:35:43 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > But these solutions are only for the Emacs Info reader; the
> > stand-alone reader doesn't do anything like that, it simply dumps the
> > bytes to the screen, assuming the text is in the current locale's
> > encoding.
>
> That's what needs to be fixed, not the contents of the info files.
I agree that this would be very good indeed.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-31 5:58 ` Paul Eggert
@ 2013-12-31 8:27 ` Eli Zaretskii
2014-01-02 2:05 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2013-12-31 8:27 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Date: Mon, 30 Dec 2013 21:58:31 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
>
> > (names of people) so using Latin-1 doesn't hamper users'
> > ability to read the manual in any way
>
> Most of the non-ASCII words are people's names, but many are not,
> and often ASCIIfying these would hurt the manual.
> These include symbols (e.g., "¬"), examples of encoding
> ("@samp{Naïve} is encoded as @samp{=?iso-8859-1?q?Na=EFve?=}"),
> calendars ("Bahá'í"), the names of GNU programs ("真 Gnus"),
> and configuration examples ("écrit" in email configuration).
I don't think we care about encoding of a handful of words, as long as
the bulk of the manual, including markup and quotes, is legible. I
only mentioned Latin-1 because it seemed to cover most of the
non-ASCII characters. But I don't insist on it. Neither do I insist
on a single-byte encoding of those few words and names; in particular,
UTF-8 will do -- but only for the non-ASCII text in the manuals.
> Nowadays, on GNUish and POSIXish systems in the Emacs target
> audience, there's more usage of UTF-8 than of Latin-1. On
> Ubuntu and Fedora, for example, the default locale for US
> English is en_US.utf8. Hence, converting info files to
> Latin-1 would hurt standalone info users in the typical
> setup on GNUish and POSIXish platforms.
It hurts them in a very small number of places, most or all of which
don't affect in any way the ability of the reader to read and
understand the presented material.
As I say above, I won't object to having the non-ASCII words encoded
in UTF-8, as long as it doesn't affect the (single and double) quote
characters, and any other characters/strings (like '#' and '=>') we
use for describing the Emacs and Lisp features.
The problem here is that @documentencoding is virulent when you use
UTF-8: it affects the quotes, not just non-ASCII text in the Texinfo
sources. This is unlike any other value of @documentencoding. And
that is the only problem that bothers me, and IMO should bother us
all.
Perhaps a possible solution would be to customize OPEN_QUOTE_SYMBOL
and CLOSE_QUOTE_SYMBOL (although I'm not sure it affects double
quotes), or edit the Info files with Sed to replace Unicode quote
characters with some ASCII characters. The rest of the non-ASCII text
can be left intact, in UTF-8.
> Perhaps Microsoft Windows users are different, and typically
> use Latin-1 or some other unibyte encoding.
This has nothing to do with Windows; I first hit the problem on a
GNU/Linux machine that was configured with a non-UTF locale. The
reason I never saw the problem since last March is that I still use
makeinfo from Texinfo 4.13, which doesn't affect the quote characters
when @documentencoding of UTF-8 is specified. So the Info files I
produce when I build Emacs don't suffer from this misfeature.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-31 8:27 ` Eli Zaretskii
@ 2014-01-02 2:05 ` Paul Eggert
2014-01-02 3:42 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-02 2:05 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: grfz, 16292
[-- Attachment #1: Type: text/plain, Size: 6207 bytes --]
Eli Zaretskii wrote:
> Perhaps a possible solution would be ...
> edit the Info files with Sed to replace Unicode quote
> characters with some ASCII characters.
Here's a patch that does that. I'm attaching a file
'info-utf8.diff' that contains this patch combined
with the previous one, for ease of trying it out
against the trunk.
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-01 07:43:34 +0000
+++ ChangeLog 2014-01-02 00:45:52 +0000
@@ -1,3 +1,13 @@
+2014-01-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * build-aux/cp-ascii: New file.
+ * configure.ac: New option --with-ascii-info, which configures
+ INSTALL_INFO_DATA.
+ * Makefile.in (INSTALL_INFO_DATA): New macro.
+ (install-info): Use it.
+ * INSTALL: Document --with-ascii-info.
+
2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
* configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
=== modified file 'INSTALL'
--- INSTALL 2014-01-01 07:43:34 +0000
+++ INSTALL 2014-01-02 00:44:33 +0000
@@ -327,6 +327,11 @@
even on hosts where a narrower type would do. With this option, on a
typical 32-bit host, Emacs integers have 62 bits instead of 30.
+Use --with-ascii-info to install ASCII-only info files instead of
+UTF-8. This makes the info files more readable in installations where
+non-UTF-8 locales are commonly used, at the cost of losing some
+information.
+
Use --enable-gcc-warnings to enable compile-time checks that warn
about possibly-questionable C code. This is intended for developers
and is useful with GNU-compatible compilers. On a recent GNU system
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-01 07:43:34 +0000
+++ Makefile.in 2014-01-02 00:02:58 +0000
@@ -255,6 +255,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
+INSTALL_INFO_DATA = @INSTALL_INFO_DATA@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
MKDIR_P = @MKDIR_P@
@@ -663,7 +664,8 @@
test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
(cd "$${thisdir}"; \
- ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
+ ${INSTALL_INFO_DATA} ${srcdir}/info/$$f \
+ "$(DESTDIR)${infodir}/$$f"); \
[ -n "${GZIP_PROG}" ] || continue ; \
rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
=== added file 'build-aux/cp-ascii'
--- build-aux/cp-ascii 1970-01-01 00:00:00 +0000
+++ build-aux/cp-ascii 2014-01-02 00:40:51 +0000
@@ -0,0 +1,83 @@
+#! /bin/sh
+# Copy an ASCIIfied version of SOURCE to DEST.
+
+# Copyright 2014 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+# written by Paul Eggert
+
+
+# The ASCII output is designed for documentation in an environment
+# that cannot handle non-ASCII characters. Some information may be
+# lost in the process, and the number of characters and/or bytes may
+# change.
+
+LC_ALL=C
+export LC_ALL
+
+source=${1?}
+dest=${2?}
+
+sed <"$source" >"$dest" '
+ s/ / /g
+ s/¤/[CURRENCY SIGN]/g
+ s/©/(C)/g
+ s/¬/~/g
+ s/»/>>/g
+ s/À/A/g
+ s/Å/A/g
+ s/ß/ss/g
+ s/à/a/g
+ s/á/a/g
+ s/ä/ae/g
+ s/å/a/g
+ s/ç/c/g
+ s/è/e/g
+ s/é/e/g
+ s/ê/e/g
+ s/ì/i/g
+ s/í/i/g
+ s/ï/i/g
+ s/ò/o/g
+ s/ó/o/g
+ s/ö/oe/g
+ s/ø/o/g
+ s/ü/ue/g
+ s/ć/c/g
+ s/č/c/g
+ s/ł/l/g
+ s/ń/n/g
+ s/ő/o/g
+ s/Š/S/g
+ s/š/s/g
+ s/–/-/g
+ s/—/--/g
+ s/‘/'\''/g
+ s/’/'\''/g
+ s/“/"/g
+ s/”/"/g
+ s/•/*/g
+ s/…/.../g
+ s/→/->/g
+ s/↦/|->/g
+ s/⇒/=>/g
+ s/−/-/g
+ s/≡/==/g
+ s/⊣/-|/g
+ s/★/*/g
+ s/真/[CJK UNIFIED IDEOGRAPH-771F]/g
+'
=== modified file 'configure.ac'
--- configure.ac 2014-01-01 08:31:29 +0000
+++ configure.ac 2014-01-01 23:58:54 +0000
@@ -300,6 +300,9 @@
[don't compress some files (.el, .info, etc.) when installing. Equivalent to:
make GZIP_PROG= install])
+OPTION_DEFAULT_OFF([ascii-info],
+ [install ASCII info files instead of UTF-8])
+
AC_ARG_WITH([pkg-config-prog],dnl
[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
[file name of pkg-config for finding GTK and librsvg])])
@@ -973,6 +976,14 @@
AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
+
+if test "$with_ascii_info" != yes; then
+ INSTALL_INFO_DATA='$(INSTALL_DATA)'
+else
+ INSTALL_INFO_DATA='build-aux/cp-ascii'
+fi
+AC_SUBST([INSTALL_INFO_DATA])
+
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2014-01-01 07:43:34 +0000
+++ etc/ChangeLog 2014-01-02 00:45:48 +0000
@@ -1,3 +1,8 @@
+2014-01-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * NEWS: Document --with-ascii-info.
+
2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
Plain copy-file no longer chmods an existing destination (Bug#16133).
=== modified file 'etc/NEWS'
--- etc/NEWS 2014-01-01 07:43:34 +0000
+++ etc/NEWS 2014-01-02 00:44:15 +0000
@@ -38,6 +38,8 @@
and renamed to `--without-compress-install'. It now prevents compression
of _any_ files during installation.
+** The configure option `--with-ascii-info' installs ASCII-only info files.
+
** The configure option `--with-crt-dir' has been removed.
It is no longer needed, as the crt*.o files are no longer linked
specially.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: info-utf8.diff --]
[-- Type: text/x-patch; name="info-utf8.diff", Size: 34009 bytes --]
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-01 07:43:34 +0000
+++ ChangeLog 2014-01-02 00:46:55 +0000
@@ -1,3 +1,13 @@
+2014-01-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * build-aux/cp-ascii: New file.
+ * configure.ac: New option --with-ascii-info, which configures
+ INSTALL_INFO_DATA.
+ * Makefile.in (INSTALL_INFO_DATA): New macro.
+ (install-info): Use it.
+ * INSTALL: Document --with-ascii-info.
+
2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
* configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
=== modified file 'INSTALL'
--- INSTALL 2014-01-01 07:43:34 +0000
+++ INSTALL 2014-01-02 00:46:55 +0000
@@ -327,6 +327,11 @@
even on hosts where a narrower type would do. With this option, on a
typical 32-bit host, Emacs integers have 62 bits instead of 30.
+Use --with-ascii-info to install ASCII-only info files instead of
+UTF-8. This makes the info files more readable in installations where
+non-UTF-8 locales are commonly used, at the cost of losing some
+information.
+
Use --enable-gcc-warnings to enable compile-time checks that warn
about possibly-questionable C code. This is intended for developers
and is useful with GNU-compatible compilers. On a recent GNU system
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-01 07:43:34 +0000
+++ Makefile.in 2014-01-02 00:46:55 +0000
@@ -255,6 +255,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
+INSTALL_INFO_DATA = @INSTALL_INFO_DATA@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
MKDIR_P = @MKDIR_P@
@@ -663,7 +664,8 @@
test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
(cd "$${thisdir}"; \
- ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
+ ${INSTALL_INFO_DATA} ${srcdir}/info/$$f \
+ "$(DESTDIR)${infodir}/$$f"); \
[ -n "${GZIP_PROG}" ] || continue ; \
rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
=== added file 'build-aux/cp-ascii'
--- build-aux/cp-ascii 1970-01-01 00:00:00 +0000
+++ build-aux/cp-ascii 2014-01-02 00:46:55 +0000
@@ -0,0 +1,83 @@
+#! /bin/sh
+# Copy an ASCIIfied version of SOURCE to DEST.
+
+# Copyright 2014 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+# written by Paul Eggert
+
+
+# The ASCII output is designed for documentation in an environment
+# that cannot handle non-ASCII characters. Some information may be
+# lost in the process, and the number of characters and/or bytes may
+# change.
+
+LC_ALL=C
+export LC_ALL
+
+source=${1?}
+dest=${2?}
+
+sed <"$source" >"$dest" '
+ s/ / /g
+ s/¤/[CURRENCY SIGN]/g
+ s/©/(C)/g
+ s/¬/~/g
+ s/»/>>/g
+ s/À/A/g
+ s/Å/A/g
+ s/ß/ss/g
+ s/à/a/g
+ s/á/a/g
+ s/ä/ae/g
+ s/å/a/g
+ s/ç/c/g
+ s/è/e/g
+ s/é/e/g
+ s/ê/e/g
+ s/ì/i/g
+ s/í/i/g
+ s/ï/i/g
+ s/ò/o/g
+ s/ó/o/g
+ s/ö/oe/g
+ s/ø/o/g
+ s/ü/ue/g
+ s/ć/c/g
+ s/č/c/g
+ s/ł/l/g
+ s/ń/n/g
+ s/ő/o/g
+ s/Š/S/g
+ s/š/s/g
+ s/–/-/g
+ s/—/--/g
+ s/‘/'\''/g
+ s/’/'\''/g
+ s/“/"/g
+ s/”/"/g
+ s/•/*/g
+ s/…/.../g
+ s/→/->/g
+ s/↦/|->/g
+ s/⇒/=>/g
+ s/−/-/g
+ s/≡/==/g
+ s/⊣/-|/g
+ s/★/*/g
+ s/真/[CJK UNIFIED IDEOGRAPH-771F]/g
+'
=== modified file 'configure.ac'
--- configure.ac 2014-01-01 08:31:29 +0000
+++ configure.ac 2014-01-02 00:46:55 +0000
@@ -300,6 +300,9 @@
[don't compress some files (.el, .info, etc.) when installing. Equivalent to:
make GZIP_PROG= install])
+OPTION_DEFAULT_OFF([ascii-info],
+ [install ASCII info files instead of UTF-8])
+
AC_ARG_WITH([pkg-config-prog],dnl
[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
[file name of pkg-config for finding GTK and librsvg])])
@@ -973,6 +976,14 @@
AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
+
+if test "$with_ascii_info" != yes; then
+ INSTALL_INFO_DATA='$(INSTALL_DATA)'
+else
+ INSTALL_INFO_DATA='build-aux/cp-ascii'
+fi
+AC_SUBST([INSTALL_INFO_DATA])
+
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
=== modified file 'doc/emacs/ChangeLog'
--- doc/emacs/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/emacs/ChangeLog 2014-01-01 23:22:18 +0000
@@ -1,3 +1,8 @@
+2014-01-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs.texi, emacs-xtra.texi: Add @documentlanguage directive.
+
2013-12-28 Glenn Morris <rgm@gnu.org>
* trouble.texi (Understanding Bug Reporting): Brevity.
=== modified file 'doc/emacs/emacs-xtra.texi'
--- doc/emacs/emacs-xtra.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs-xtra.texi 2014-01-01 23:22:18 +0000
@@ -27,6 +27,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/emacs/emacs.texi'
--- doc/emacs/emacs.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs.texi 2014-01-01 23:22:18 +0000
@@ -45,6 +45,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/lispintro/ChangeLog'
--- doc/lispintro/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/lispintro/ChangeLog 2014-01-01 23:22:18 +0000
@@ -1,3 +1,8 @@
+2014-01-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs-lisp-intro.texi: Add @documentencoding, @documentlanguage.
+
2013-12-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi: Use @quotation for license notice.
=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- doc/lispintro/emacs-lisp-intro.texi 2014-01-01 08:31:29 +0000
+++ doc/lispintro/emacs-lisp-intro.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@c setfilename emacs-lisp-intro.info
@c sethtmlfilename emacs-lisp-intro.html
@settitle Programming in Emacs Lisp
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr cp
@syncodeindex fn cp
@finalout
=== modified file 'doc/lispref/ChangeLog'
--- doc/lispref/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/lispref/ChangeLog 2014-01-01 23:22:18 +0000
@@ -1,3 +1,9 @@
+2014-01-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
Plain copy-file no longer chmods an existing destination (Bug#16133).
=== modified file 'doc/lispref/back.texi'
--- doc/lispref/back.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/back.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@c %**start of header
@setfilename back-cover
@settitle GNU Emacs Lisp Reference Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
.
@sp 7
=== modified file 'doc/lispref/book-spine.texi'
--- doc/lispref/book-spine.texi 2013-12-30 17:08:32 +0000
+++ doc/lispref/book-spine.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename book-spine
@settitle book-spine
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/lispref/elisp.texi'
--- doc/lispref/elisp.texi 2014-01-01 08:31:29 +0000
+++ doc/lispref/elisp.texi 2014-01-01 23:22:18 +0000
@@ -116,6 +116,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp
@direntry
=== modified file 'doc/lispref/lay-flat.texi'
--- doc/lispref/lay-flat.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/lay-flat.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@setfilename inner-covers.info
@settitle Inner Covers
@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@headings off
=== modified file 'doc/misc/ChangeLog'
--- doc/misc/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/misc/ChangeLog 2014-01-01 23:22:18 +0000
@@ -1,3 +1,21 @@
+2014-01-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
+ * cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
+ * ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
+ * eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
+ * ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
+ * gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
+ * idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
+ * mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
+ * org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
+ * remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
+ * sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
+ * todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
+ * widget.texi, wisent.texi, woman.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
* emacs-gnutls.texi (Help For Users): Document `gnutls-verify-error'.
=== modified file 'doc/misc/ada-mode.texi'
--- doc/misc/ada-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ada-mode.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ada-mode
@settitle Ada Mode
+@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/auth.texi'
--- doc/misc/auth.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/auth.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@setfilename ../../info/auth
@settitle Emacs auth-source Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs auth-source library.
=== modified file 'doc/misc/autotype.texi'
--- doc/misc/autotype.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/autotype.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c @node Autotypist, Picture, Abbrevs, Top
@c @chapter Features for Automatic Typing
@settitle Features for Automatic Typing
+@documentencoding UTF-8
+@documentlanguage en
@c @cindex text
@c @cindex selfinserting text
@c @cindex autotypist
=== modified file 'doc/misc/bovine.texi'
--- doc/misc/bovine.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/bovine.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@set TITLE Bovine parser development
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/calc.texi'
--- doc/misc/calc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/calc.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/calc
@c [title]
@settitle GNU Emacs Calc Manual
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@comment %**end of header (This is for running Texinfo on a region.)
=== modified file 'doc/misc/cc-mode.texi'
--- doc/misc/cc-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cc-mode.texi 2014-01-01 23:22:18 +0000
@@ -83,6 +83,8 @@
@setfilename ../../info/ccmode
@settitle CC Mode Manual
+@documentencoding UTF-8
+@documentlanguage en
@footnotestyle end
@c The following four macros generate the filenames and titles of the
=== modified file 'doc/misc/cl.texi'
--- doc/misc/cl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cl.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/cl
@settitle Common Lisp Extensions
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/dbus.texi'
--- doc/misc/dbus.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/dbus.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/dbus
@c %**start of header
@settitle Using of D-Bus
+@documentencoding UTF-8
+@documentlanguage en
@c @setchapternewpage odd
@c %**end of header
=== modified file 'doc/misc/dired-x.texi'
--- doc/misc/dired-x.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/dired-x.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/dired-x
@settitle Dired Extra User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
=== modified file 'doc/misc/ebrowse.texi'
--- doc/misc/ebrowse.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ebrowse.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header
@setfilename ../../info/ebrowse
@settitle A Class Browser for C++
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@syncodeindex fn cp
@comment %**end of header
=== modified file 'doc/misc/ede.texi'
--- doc/misc/ede.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ede.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/ede
@settitle Emacs Development Environment
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes EDE, the Emacs Development Environment.
=== modified file 'doc/misc/ediff.texi'
--- doc/misc/ediff.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ediff.texi 2014-01-01 23:22:18 +0000
@@ -10,6 +10,8 @@
@setfilename ../../info/ediff
@settitle Ediff User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex vr cp
@synindex fn cp
@synindex pg cp
=== modified file 'doc/misc/edt.texi'
--- doc/misc/edt.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/edt.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/edt
@settitle EDT Emulation for Emacs
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents the EDT emulation package for Emacs.
=== modified file 'doc/misc/efaq-w32.texi'
--- doc/misc/efaq-w32.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/efaq-w32.texi 2014-01-01 23:22:18 +0000
@@ -162,7 +162,7 @@
Emacs binaries are distributed as zip files, digitally
signed by the developer who built them. Generally most users will
want the file @file{emacs-@value{EMACSVER}-bin-i386.zip}, which
-contains everything you need to get started.
+contains everything you need to get started.
@cindex where to get sources
@cindex Emacs source code
@@ -286,7 +286,7 @@
The command to unpack a source distribution from the command line is:
@example
-tar xzf emacs-@value{EMACSVER}.tar.gz
+tar xzf emacs-@value{EMACSVER}.tar.gz
@end example
If this does not work with the versions of tar and gzip that you have,
@@ -573,9 +573,9 @@
Subject: Re: Re[2]: problem with caps/ctrl swap on NT 4.0
@end ignore
@example
-It's a binary value that lets you map keystrokes in the low-level keyboard
-drivers in NT. As a result you don't have to worry about applications
-bypassing mappings that you've done at a higher level (i.e. it just works).
+It's a binary value that lets you map keystrokes in the low-level keyboard
+drivers in NT. As a result you don't have to worry about applications
+bypassing mappings that you've done at a higher level (i.e. it just works).
Here's the format of the value:
@@ -587,11 +587,11 @@
DWORD: mapping n
DWORD: 0x00000000 terminating null DWORD
-Each mapping DWORD has two parts: the input scancode, and an output
-scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
-lock), you want a value of 0x003a001d. Note that this does not swap the
-keys. Using just this mapping value, both the left control and the caps
-lock key will behave as caps-lock. To swap, you also need to map 0x3a to
+Each mapping DWORD has two parts: the input scancode, and an output
+scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
+lock), you want a value of 0x003a001d. Note that this does not swap the
+keys. Using just this mapping value, both the left control and the caps
+lock key will behave as caps-lock. To swap, you also need to map 0x3a to
0x1d, using 0x001d003a.
This registry value is system wide, and can't be made user-specific. It
@@ -1426,7 +1426,7 @@
You can start an interactive shell in Emacs by typing @kbd{M-x shell}.
Emacs uses the @env{SHELL} environment variable to determine which
program to use as the shell. To instruct Emacs to use a non-default
-shell, you can either set this environment variable, or customize
+shell, you can either set this environment variable, or customize
@code{explicit-shell-file-name}. You can also customize
@code{shell-file-name} to change the shell that will be used by
subprocesses that are started with @code{shell-command} and
=== modified file 'doc/misc/efaq.texi'
--- doc/misc/efaq.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/efaq.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/efaq
@settitle GNU Emacs FAQ
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/misc/eieio.texi'
--- doc/misc/eieio.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eieio.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@set TITLE Enhanced Implementation of Emacs Interpreted Objects
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/emacs-gnutls.texi'
--- doc/misc/emacs-gnutls.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-gnutls.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/emacs-gnutls
@settitle Emacs GnuTLS Integration @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs GnuTLS integration.
=== modified file 'doc/misc/emacs-mime.texi'
--- doc/misc/emacs-mime.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-mime.texi 2014-01-01 23:22:18 +0000
@@ -26,8 +26,8 @@
@end quotation
@end copying
-@c Node ``Interface Functions'' uses non-ASCII characters
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp libraries
@direntry
=== modified file 'doc/misc/epa.texi'
--- doc/misc/epa.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/epa.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/epa
@settitle EasyPG Assistant User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@set VERSION 1.0.0
=== modified file 'doc/misc/erc.texi'
--- doc/misc/erc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/erc.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@settitle ERC Manual
@syncodeindex fn cp
@include emacsver.texi
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/ert.texi'
--- doc/misc/ert.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ert.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/ert
@settitle Emacs Lisp Regression Testing
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@dircategory Emacs misc features
=== modified file 'doc/misc/eshell.texi'
--- doc/misc/eshell.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eshell.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@settitle Eshell: The Emacs Shell
@defindex cm
@synindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/eudc.texi'
--- doc/misc/eudc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eudc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/eudc
@settitle Emacs Unified Directory Client (EUDC) Manual
@afourpaper
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/flymake.texi'
--- doc/misc/flymake.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/flymake.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@set UPDATED April 2004
@settitle GNU Flymake @value{VERSION}
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/forms.texi'
--- doc/misc/forms.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/forms.texi 2014-01-01 23:22:18 +0000
@@ -14,6 +14,8 @@
@end iftex
@c @smallbook
@comment %**end of header (This is for running Texinfo on a region.)
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents Forms mode, a form-editing major mode for GNU Emacs.
=== modified file 'doc/misc/gnus-coding.texi'
--- doc/misc/gnus-coding.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus-coding.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename gnus-coding
@settitle Gnus Coding Style and Maintenance Guide
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex pg cp
=== modified file 'doc/misc/gnus-faq.texi'
--- doc/misc/gnus-faq.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/gnus-faq.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c
@c @setfilename gnus-faq.info
@c @settitle Frequently Asked Questions
+@c @documentencoding UTF-8
+@c @documentlanguage en
@c %**end of header
@c
=== modified file 'doc/misc/gnus.texi'
--- doc/misc/gnus.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,7 @@
@syncodeindex pg cp
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/htmlfontify.texi'
--- doc/misc/htmlfontify.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/htmlfontify.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/htmlfontify
@settitle Htmlfontify User Manual
@exampleindent 2
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/idlwave.texi'
--- doc/misc/idlwave.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/idlwave.texi 2014-01-01 23:22:18 +0000
@@ -12,6 +12,8 @@
@set DATE April, 2007
@set AUTHOR J.D. Smith & Carsten Dominik
@set MAINTAINER J.D. Smith
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/ido.texi'
--- doc/misc/ido.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/ido.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ido
@settitle Interactive Do
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/info.texi'
--- doc/misc/info.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/info.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/mairix-el.texi'
--- doc/misc/mairix-el.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mairix-el.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,7 @@
@settitle Emacs Interface for Mairix
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 2008--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/message.texi'
--- doc/misc/message.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/message.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/message
@settitle Message Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/mh-e.texi'
--- doc/misc/mh-e.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mh-e.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c %**start of header
@setfilename ../../info/mh-e
@settitle The MH-E Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c Version of the software and manual.
=== modified file 'doc/misc/newsticker.texi'
--- doc/misc/newsticker.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/newsticker.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@syncodeindex vr cp
@syncodeindex fn cp
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/nxml-mode.texi'
--- doc/misc/nxml-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/nxml-mode.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/nxml-mode
@settitle nXML Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/octave-mode.texi'
--- doc/misc/octave-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/octave-mode.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/octave-mode
@settitle Octave Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/org.texi'
--- doc/misc/org.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/org.texi 2014-01-01 23:22:18 +0000
@@ -15,6 +15,8 @@
@set MAINTAINER Carsten Dominik
@set MAINTAINEREMAIL @email{carsten at orgmode dot org}
@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/pcl-cvs.texi'
--- doc/misc/pcl-cvs.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pcl-cvs.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/pcl-cvs
@settitle PCL-CVS---Emacs Front-End to CVS
@syncodeindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/pgg.texi'
--- doc/misc/pgg.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pgg.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.1
@settitle PGG @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes PGG @value{VERSION}, an Emacs interface to various
PGP implementations.
=== modified file 'doc/misc/rcirc.texi'
--- doc/misc/rcirc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/rcirc.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/rcirc
@settitle rcirc Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/reftex.texi'
--- doc/misc/reftex.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/reftex.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/reftex
@settitle RefTeX User Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex ky cp
@syncodeindex vr cp
@syncodeindex fn cp
=== modified file 'doc/misc/remember.texi'
--- doc/misc/remember.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/remember.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/remember
@settitle Remember Manual
@syncodeindex fn cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sasl.texi'
--- doc/misc/sasl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sasl.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.2
@settitle Emacs SASL Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes the Emacs SASL library, version @value{VERSION}.
=== modified file 'doc/misc/sc.texi'
--- doc/misc/sc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/sc
@settitle Supercite User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@iftex
@finalout
@end iftex
=== modified file 'doc/misc/semantic.texi'
--- doc/misc/semantic.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/semantic.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@set TITLE Semantic Manual
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/ses.texi'
--- doc/misc/ses.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ses.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sieve.texi'
--- doc/misc/sieve.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sieve.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/sieve
@settitle Emacs Sieve Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/smtpmail.texi'
--- doc/misc/smtpmail.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/smtpmail.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/smtpmail
@settitle Emacs SMTP Library
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr fn
@copying
Copyright @copyright{} 2003--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/speedbar.texi'
--- doc/misc/speedbar.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/speedbar.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/speedbar
@settitle Speedbar: File/Tag summarizing utility
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@copying
=== modified file 'doc/misc/srecode.texi'
--- doc/misc/srecode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/srecode.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@set TITLE SRecoder Manual
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c Merge all indexes into a single index for now.
@c We can always separate them later into two or more as needed.
=== modified file 'doc/misc/todo-mode.texi'
--- doc/misc/todo-mode.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/todo-mode.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/tramp.texi'
--- doc/misc/tramp.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/tramp.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/tramp
@c %**start of header
@settitle TRAMP User Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c This is *so* much nicer :)
=== modified file 'doc/misc/url.texi'
--- doc/misc/url.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/url.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/url
@settitle URL Programmer's Manual
+@documentencoding UTF-8
+@documentlanguage en
+
@iftex
@c @finalout
@end iftex
=== modified file 'doc/misc/vip.texi'
--- doc/misc/vip.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/vip.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/vip
@settitle VIP
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/viper.texi'
--- doc/misc/viper.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/viper.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,9 @@
@comment @setfilename viper.info
@setfilename ../../info/viper
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1995--1997, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/widget.texi'
--- doc/misc/widget.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/widget.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/wisent.texi'
--- doc/misc/wisent.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/wisent.texi 2014-01-01 23:22:18 +0000
@@ -20,6 +20,8 @@
@c @footnotestyle separate
@c @paragraphindent 2
@c @@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/woman.texi'
--- doc/misc/woman.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/woman.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@c Look for @page and @need commands.
@setchapternewpage off
@paragraphindent 0
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2014-01-01 07:43:34 +0000
+++ etc/ChangeLog 2014-01-02 00:46:55 +0000
@@ -1,3 +1,8 @@
+2014-01-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * NEWS: Document --with-ascii-info.
+
2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
Plain copy-file no longer chmods an existing destination (Bug#16133).
=== modified file 'etc/NEWS'
--- etc/NEWS 2014-01-01 07:43:34 +0000
+++ etc/NEWS 2014-01-02 00:46:55 +0000
@@ -38,6 +38,8 @@
and renamed to `--without-compress-install'. It now prevents compression
of _any_ files during installation.
+** The configure option `--with-ascii-info' installs ASCII-only info files.
+
** The configure option `--with-crt-dir' has been removed.
It is no longer needed, as the crt*.o files are no longer linked
specially.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 2:05 ` Paul Eggert
@ 2014-01-02 3:42 ` Eli Zaretskii
2014-01-02 4:50 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-02 3:42 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Date: Wed, 01 Jan 2014 18:05:16 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > Perhaps a possible solution would be ...
> > edit the Info files with Sed to replace Unicode quote
> > characters with some ASCII characters.
>
> Here's a patch that does that. I'm attaching a file
> 'info-utf8.diff' that contains this patch combined
> with the previous one, for ease of trying it out
> against the trunk.
Thanks, but this should be the default, or at least should be used
when producing the release tarball.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-30 17:24 ` Eli Zaretskii
2013-12-30 17:33 ` Drew Adams
2013-12-30 19:07 ` Paul Eggert
@ 2014-01-02 4:19 ` Stefan Monnier
2014-01-02 4:48 ` Paul Eggert
2 siblings, 1 reply; 104+ messages in thread
From: Stefan Monnier @ 2014-01-02 4:19 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Paul Eggert, grfz, 16292
> Of course, before this commit, we already had such a problem in
> several files, which started using UTF-8 encoding since the last
> March. But that, too, was never discussed AFAIR, and its effect on
> @code, @samp, etc. markup, as well as on ``..'' quoted text, was never
> mentioned. (These effects are barely documented in the Texinfo
> manual, so it was easy to miss the meaning of those changes.
I think it's not just a documentation error. There's no good reason to
link the input document encoding to the kind of symbols used in the output.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 4:19 ` Stefan Monnier
@ 2014-01-02 4:48 ` Paul Eggert
2014-01-02 15:28 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-02 4:48 UTC (permalink / raw)
To: Stefan Monnier, Eli Zaretskii; +Cc: grfz, 16292
Stefan Monnier wrote:
> There's no good reason to link the input document encoding
> to the kind of symbols used in the output.
I agree. That's another bug report I suppose I should file with bug-texinfo,
I suppose.
By the way, this isn't something that began with my changes in March,
as Eli suggested earlier. Emacs 24.3 shipped with some .info files in
UTF-8 and others in Latin-1, which means that in pretty much any locale,
standalone 'info' will misbehave on some Emacs info file or another.
The problem goes back at least to Emacs 23.1 in 2009 (that's as far back
as I cared to check).
This latter bug, too, is fixed by the latest proposed patch.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 3:42 ` Eli Zaretskii
@ 2014-01-02 4:50 ` Paul Eggert
2014-01-02 15:51 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-02 4:50 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: grfz, 16292
Eli Zaretskii wrote:
> Thanks, but this should be the default, or at least should be used
> when producing the release tarball.
No, the point is that the release tarball contains UTF-8
info files, and that these are transformed to ASCII for installations
that prefer ASCII info files. cp-ascii's UTF8-to-ASCII transformation
loses information; we can't ship ASCII info files in the tarball
and then transform those to the UTF-8 originals.
An ASCII default would have been better years ago, but these days
UTF-8 is the typical default encoding in GNUish distributions and
most users will be better off if UTF-8 is the default.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 4:48 ` Paul Eggert
@ 2014-01-02 15:28 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-02 15:28 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Date: Wed, 01 Jan 2014 20:48:49 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: grfz@gmx.de, 16292@debbugs.gnu.org
>
> Stefan Monnier wrote:
>
> > There's no good reason to link the input document encoding
> > to the kind of symbols used in the output.
>
> I agree. That's another bug report I suppose I should file with bug-texinfo,
> I suppose.
Yes. Although the makeinfo maintainer doesn't seem to share this view.
> By the way, this isn't something that began with my changes in March,
> as Eli suggested earlier. Emacs 24.3 shipped with some .info files in
> UTF-8 and others in Latin-1, which means that in pretty much any locale,
> standalone 'info' will misbehave on some Emacs info file or another.
> The problem goes back at least to Emacs 23.1 in 2009 (that's as far back
> as I cared to check).
That's true, but until Texinfo 5 came and changed the effect of
@documentencoding, this hardly mattered, as the non-ASCII characters
in those few manuals (I found 4) were extremely rare, something like 2
to 5 per manual.
The important thing (to me) is to have the markup, quotes, and arrows
displayable, because that's the bulk of the manual.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 4:50 ` Paul Eggert
@ 2014-01-02 15:51 ` Eli Zaretskii
2014-01-02 19:28 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-02 15:51 UTC (permalink / raw)
To: Paul Eggert, Stefan Monnier; +Cc: grfz, 16292
> Date: Wed, 01 Jan 2014 20:50:16 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > Thanks, but this should be the default, or at least should be used
> > when producing the release tarball.
>
> No, the point is that the release tarball contains UTF-8
> info files, and that these are transformed to ASCII for installations
> that prefer ASCII info files.
But does "make install" really cut that? How many end users on a
typical Posix platform will build and install their own Emacs? I
thought the majority installs from ready-to-run packages nowadays, and
in that case "make install" was already run by someone else, with who
knows what configure-time options.
> cp-ascii's UTF8-to-ASCII transformation loses information; we can't
> ship ASCII info files in the tarball and then transform those to the
> UTF-8 originals.
That's because your Sed script goes too far, IMO: it can be limited to
editing only the markup and the => arrows, and leave the other
non-ASCII characters intact. Then there will be no information loss,
just a different (some will say less pretty) display of that
information.
> An ASCII default would have been better years ago, but these days
> UTF-8 is the typical default encoding in GNUish distributions and
> most users will be better off if UTF-8 is the default.
I agree, when it comes to non-ASCII text. But I see no reason for
such a strong preference when it comes to the Info markup. I find
that a purely aesthetic consideration with no real functionality
behind it. (It can even hurt: e.g., on one of my machines, the
Unicode quotes look pale and not so pretty at all, I guess the font
I'm using is not the best one for those characters.)
To summarize, I see the following possible ways to solve this issue:
1) Do nothing. This is a temporary measure at best and doesn't make
much sense; I mention it here only for completeness. Sooner or
later we will have to do something.
2) Use "@documentencoding ISO-8859-1" in any manual that needs to
include non-ASCII characters. This is what we did a year ago,
although a couple of manuals had utf-8 in them; they can all be
converted to use Latin-1. The advantage is that this leaves the
markup intact; the disadvantage is that most locales will not
display the non-ASCII text correctly these days.
3) Install Paul's script, which will be run at "make install" time,
either by default, or given a configure time option. (We could
also make this "make install" time option.) If we go this way,
I think we should leave Unicode characters that are not Info
markup alone, and not edit them.
4) Use --disable-encoding switch to makeinfo, again either by
default or given some non-default option. This avoids the need
for a separate Sed script, but has a complication: makeinfo 4.13,
which I presume is still in use and which we want to support, did
not emit the 'coding' cookie when --disable-encoding was
specified. OTOH, makeinfo 4.13 didn't emit Unicode quotes when
--enable-encoding was specified. So if we go this way, we will
need to detect the makeinfo version and use the right switch.
5) Add a feature to info.el that will set up a display table for
Info buffers, and use that display table to display quotes and
arrows on TTYs that don't support UTF-8. Then Paul's changes to
use "@documentencoding utf-8" everywhere can be re-installed with
no additional changes. However, unlike all the other
alternatives, this one solves the problem only for the Emacs Info
reader, and leaves the problem with the stand-alone Info reader
to the Texinfo maintainers.
If someone has other suggestions, please raise them. Otherwise, I
guess it's decision time.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 15:51 ` Eli Zaretskii
@ 2014-01-02 19:28 ` Paul Eggert
2014-01-02 20:56 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-02 19:28 UTC (permalink / raw)
To: Eli Zaretskii, Stefan Monnier; +Cc: grfz, 16292
Eli Zaretskii wrote:
> I thought the majority installs from ready-to-run packages nowadays, and
> in that case "make install" was already run by someone else, with who
> knows what configure-time options.
Yes, that's right. Since GNU/Linux distributors typically
ship UTF-8 locales, the UTF-8 default should work. If any
distributors want to cater to users in unibyte locales, they
can enable the option to ship ASCIIfied info files in their
packages. I think few will, but I've been wrong before....
> it can be limited to editing only the markup and the => arrows, and
> leave the other non-ASCII characters intact. Then there will be no
> information loss, just a different (some will say less pretty)
> display of that information.
There would still be information loss; we'll lose the
distinction between open and close quote, for example. The
calc info file will contain "'f''2'3(x,y,z)'", for example.
Sure, a reader can eventually puzzle out which of
those apostrophes is meant to be an open single quote, close
single quote, and apostrophe (there are some of each), but
it's better if the documentation doesn't puzzle the reader.
This is the main argument for using directed quotes in the
Info files, as I see it. Aesthetics are nice but are
secondary.
> To summarize, I see the following possible ways to solve this issue:
>
> 1) Do nothing. This is a temporary measure at best and doesn't make
> much sense; I mention it here only for completeness. Sooner or
> later we will have to do something.
Agreed.
> 2) Use "@documentencoding ISO-8859-1" in any manual that needs to
> include non-ASCII characters. This is what we did a year ago,
> although a couple of manuals had utf-8 in them; they can all be
> converted to use Latin-1. The advantage is that this leaves the
> markup intact; the disadvantage is that most locales will not
> display the non-ASCII text correctly these days.
That is a fatal objection nowadays. Another disadvantage is
that some manuals contain non-Latin-1 characters. We could
rework them ("Latin-1-ify the manuals"), but this is heading in
the wrong direction.
> 3) Install Paul's script, which will be run at "make install" time,
> either by default, or given a configure time option. (We could
> also make this "make install" time option.)
My latest proposed patch causes this to be both a
configure-time option "configure --with-ascii-info" and a
make-time option "make INSTALL_INFO_DATA=build-aux/cp-ascii install".
So this approach is already implemented.
> If we go this way, I think we should leave Unicode characters
> that are not Info markup alone, and not edit them.
build-aux/cp-ascii cannot reliably distinguish Info-markup
Unicode from other Unicode, so I don't see how to implement
this precisely. We could implement an approximation, but
why bother? The point of cp-ascii is to not put mojibake
on unibyte users' screens, so why not fix all the mojibake
while we're at it?
> 4) Use --disable-encoding switch to makeinfo, again either by
> default or given some non-default option.
This would lose information in the now-typical case of UTF-8 locales.
> 5) Add a feature to info.el that will set up a display table for
> Info buffers, and use that display table to display quotes and
> arrows on TTYs that don't support UTF-8. Then Paul's changes to
> use "@documentencoding utf-8" everywhere can be re-installed with
> no additional changes. However, unlike all the other
> alternatives, this one solves the problem only for the Emacs Info
> reader, and leaves the problem with the stand-alone Info reader
> to the Texinfo maintainers.
This would be a reasonable thing to do. It can be done
independently of (3).
Here's another option:
6) install the original patch as-is, i.e., not bother with ASCIIfying
the info files at all, and ask people to use UTF-8-aware software
to read info files. That would be simpler so I'd prefer it, but as
I understand it Eli really dislikes this approach. (3) is an acceptable
compromise.
I suggest installing (3) now, as it fixes known bugs. We
can implement (5) at our leisure. (I say "we" but really
mean "not me", as I am no expert at display tables....)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 19:28 ` Paul Eggert
@ 2014-01-02 20:56 ` Eli Zaretskii
2014-01-03 0:44 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-02 20:56 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Thu, 02 Jan 2014 11:28:17 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> > it can be limited to editing only the markup and the => arrows, and
> > leave the other non-ASCII characters intact. Then there will be no
> > information loss, just a different (some will say less pretty)
> > display of that information.
>
> There would still be information loss; we'll lose the
> distinction between open and close quote, for example. The
> calc info file will contain "'f''2'3(x,y,z)'", for example.
These are very rare (and I would argue will look ugly any way you
typeset them).
> > If we go this way, I think we should leave Unicode characters
> > that are not Info markup alone, and not edit them.
>
> build-aux/cp-ascii cannot reliably distinguish Info-markup
> Unicode from other Unicode, so I don't see how to implement
> this precisely.
Sorry, I don't see the problem: just don't edit any letters, only edit
apostrophes, quotes, and arrows. What am I missing?
> The point of cp-ascii is to not put mojibake on unibyte users'
> screens, so why not fix all the mojibake while we're at it?
To make it more acceptable to UTF-8 locales. If we leave the
non-ASCII text alone, we have a higher chance of producing a single
format that will be used both in UTF-8 and non-UTF-8 locales.
> > 4) Use --disable-encoding switch to makeinfo, again either by
> > default or given some non-default option.
>
> This would lose information in the now-typical case of UTF-8 locales.
Again, I don't see why, unless you refer to that example from Calc.
Otherwise, the only effect of --disable-encoding in Texinfo 5 is not
to produce Unicode characters for quotes and arrows.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-02 20:56 ` Eli Zaretskii
@ 2014-01-03 0:44 ` Paul Eggert
2014-01-03 8:03 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-03 0:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> These are very rare (and I would argue will look ugly any
> way you typeset them).
They're not that rare: for example, I count 949 info lines
containing both straight and the curly apostrophes, with
many opportunities for confusion. ‘C-x '’ may look ugly on
some displays, but it's typically legible, and it's
definitely easier to grok than 'C-x ''. The primary goal
here is conveying information, not beauty.
> I don't see the problem: just don't edit any letters, only edit
> apostrophes, quotes, and arrows. What am I missing?
Info generates lots of special characters like that, in
response to ASCII markup. From the unibyte reader's point
of view, why should the output of "``", "@quoteleft{}",
"@expansion{}", "@result{}", etc. be converted from mojibake
to ASCII, while the output of "--", "@bullet{}", "@minus{}",
"@equiv{}", "@~n", etc. remains mojibake? I don't see any
systematic principle to distinguish between the two sets of
characters.
>> The point of cp-ascii is to not put mojibake on unibyte users'
>> screens, so why not fix all the mojibake while we're at it?
>
> To make it more acceptable to UTF-8 locales.
UTF-8 locales work just fine (actually, better) with the
original UTF-8 characters, so it's not a priority for
cp-ascii's output to be more acceptable to UTF-8 locales.
It's fine if cp-ascii's output is just as acceptable for
UTF-8 locales as it is for ASCII locales.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 0:44 ` Paul Eggert
@ 2014-01-03 8:03 ` Eli Zaretskii
2014-01-03 17:26 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-03 8:03 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Thu, 02 Jan 2014 16:44:10 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > These are very rare (and I would argue will look ugly any
> > way you typeset them).
>
> They're not that rare: for example, I count 949 info lines
> containing both straight and the curly apostrophes, with
> many opportunities for confusion.
That's rare in my book: just the 2 Emacs manuals weigh in at 124800
lines.
> ‘C-x '’ may look ugly on some displays, but it's typically legible,
> and it's definitely easier to grok than 'C-x ''.
We've been living with `C-x'' forever, so I don't see a serious
problem here. And if we really care, we can customize
OPEN_QUOTE_SYMBOL in Texinfo 5.
> > I don't see the problem: just don't edit any letters, only edit
> > apostrophes, quotes, and arrows. What am I missing?
>
> Info generates lots of special characters like that, in
> response to ASCII markup. From the unibyte reader's point
> of view, why should the output of "``", "@quoteleft{}",
> "@expansion{}", "@result{}", etc. be converted from mojibake
> to ASCII, while the output of "--", "@bullet{}", "@minus{}",
> "@equiv{}", "@~n", etc. remains mojibake? I don't see any
> systematic principle to distinguish between the two sets of
> characters.
The systematic principle I propose is to convert everything except
letters, i.e. only punctuation and special characters.
> >> The point of cp-ascii is to not put mojibake on unibyte users'
> >> screens, so why not fix all the mojibake while we're at it?
> >
> > To make it more acceptable to UTF-8 locales.
>
> UTF-8 locales work just fine (actually, better) with the
> original UTF-8 characters, so it's not a priority for
> cp-ascii's output to be more acceptable to UTF-8 locales.
It would be a priority if we decide to make that cp-ascii'd output the
default.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 8:03 ` Eli Zaretskii
@ 2014-01-03 17:26 ` Paul Eggert
2014-01-03 20:18 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-03 17:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
>>> These are very rare (and I would argue will look ugly any
>>> way you typeset them).
>>
>> They're not that rare: for example, I count 949 info lines
>> containing both straight and the curly apostrophes, with
>> many opportunities for confusion.
>
> That's rare in my book
Well, at least I appreciate the promotion from "very rare"
to "rare". :-) It's still too common for comfort.
> We've been living with `C-x '' forever
But we're migrating away from it, which is partly what
prompted this discussion. The question now is whether to
prefer ‘C-x '’ or 'C-x ''. Of the three notations,
‘C-x '’ is the least confusing, and 'C-x '' the most.
> And if we really care, we can customize
> OPEN_QUOTE_SYMBOL in Texinfo 5.
We should not really care about it. The Texinfo defaults are OK.
> The systematic principle I propose is to convert everything except
> letters, i.e. only punctuation and special characters.
From the viewpoint of the unibyte reader that's just weird.
Why should "ß" be converted to mojibake (destroying the point
of a code example) while "•" is converted to "*"
(a mere formatting nicety)?
To be honest, though, I think the whole idea of converting is
wrong, and as long as it's not the default I don't really
care. If people complain about the conversion I'll just
say "don't do the conversion". (Or send them to you. :-)
> It would be a priority if we decide to make that cp-ascii'd output the
> default.
That's not likely. The general consensus seems to be that
Emacs should just use whatever Texinfo produces by default.
The proper place to reargue what Texinfo does should be in
the Texinfo forums. Even cp-ascii goes too far, in my
opinion; I think we should just switch to UTF-8 and be
done with it. But I'm willing to go along with cp-ascii as
a compromise, so long as it's not the default.
If this turns into a problem in practice, and Emacs builders
and/or distributors enable the cp-ascii option more often than
not, we can change the default to use cp-ascii, and use this as
good evidence to argue for a change to 'makeinfo'. (This is an
unlikely scenario in my view.)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 17:26 ` Paul Eggert
@ 2014-01-03 20:18 ` Eli Zaretskii
2014-01-03 20:48 ` Paul Eggert
2014-01-03 21:52 ` Stefan Monnier
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-03 20:18 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Fri, 03 Jan 2014 09:26:29 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> > The systematic principle I propose is to convert everything except
> > letters, i.e. only punctuation and special characters.
>
> From the viewpoint of the unibyte reader that's just weird.
> Why should "ß" be converted to mojibake (destroying the point
> of a code example) while "•" is converted to "*"
> (a mere formatting nicety)?
Because the former are rare in an otherwise English manual, and are
mostly in people's names, not in the stuff the manual tries to
describe. By contrast, the latter are many and directly affect the
readability of the manual.
> > It would be a priority if we decide to make that cp-ascii'd output the
> > default.
>
> That's not likely. The general consensus seems to be that
> Emacs should just use whatever Texinfo produces by default.
We didn't hear from Stefan yet. This isn't a democracy.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 20:18 ` Eli Zaretskii
@ 2014-01-03 20:48 ` Paul Eggert
2014-01-03 21:12 ` Eli Zaretskii
2014-01-03 21:52 ` Stefan Monnier
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-03 20:48 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
> We didn't hear from Stefan yet. This isn't a democracy.
I expect Stefan is tired of the whole topic. I know I am.
Stefan's initial comment was "I'd much rather change
Texinfo to default to utf-8" -- a sentiment I agree with,
though that'll require changes to Texinfo. This
suggests a preference for UTF-8 encoded .texi files,
though not necessarily for UTF-8 encoded .info files.
Glenn and I have both expressed a preference for letting
makeinfo do its thing rather than try to second-guess it.
The only way that can be done with existing tools and
UTF-8 .texi files (without introducing some errors in the
output) is to specify @documentencoding UTF-8.
>> Date: Fri, 03 Jan 2014 09:26:29 -0800
>> From: Paul Eggert <eggert@cs.ucla.edu>
>> Why should "ß" be converted to mojibake (destroying the point
>> of a code example) while "•" is converted to "*"
>> (a mere formatting nicety)?
>
> Because the former are rare in an otherwise English manual, and are
> mostly in people's names, not in the stuff the manual tries to
> describe.
But they do exist outside of people's names, and in those cases
turning them to mojibake can make the content undecipherable.
Conversely, some of the symbols (such as "•") are relatively rare, and
transliterating them to mojibake typically doesn't hurt the content; after
all, the main role of "•" is to be a blotch at the start of a bullet
point, and pretty much any consistent blotch will do.
I still think it's Really Weird to transliterate some characters
to unibyte but not others, if the goal is to support unibyte
environments.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 20:48 ` Paul Eggert
@ 2014-01-03 21:12 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-03 21:12 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Fri, 03 Jan 2014 12:48:50 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> > We didn't hear from Stefan yet. This isn't a democracy.
>
> I expect Stefan is tired of the whole topic.
It's his call.
> I know I am.
Then give up ;-)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 20:18 ` Eli Zaretskii
2014-01-03 20:48 ` Paul Eggert
@ 2014-01-03 21:52 ` Stefan Monnier
2014-01-04 0:07 ` Paul Eggert
2014-01-04 7:38 ` Eli Zaretskii
1 sibling, 2 replies; 104+ messages in thread
From: Stefan Monnier @ 2014-01-03 21:52 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Paul Eggert, grfz, 16292
>> That's not likely. The general consensus seems to be that
>> Emacs should just use whatever Texinfo produces by default.
> We didn't hear from Stefan yet. This isn't a democracy.
I'm not sure I understand all of the things discussed.
My position is as follows:
- I'd rather use Texinfo defaults, of course, to the extent that they
work OK for Emacs.
- We should feel free to use Unicode chars (in utf-8 encoding) in .texi files
(and utf-8 should be the default encoding, so there's no need to
specify it explicitly in the file).
- Those Unicode chars should be preserved in the .info files (i.e. Info
files should also use utf-8).
- The chars introduced by "makeinfo" itself should stick to ASCII for
now by default. I think we're pretty close to the point where ‘ and ’
can be assumed to work "everywhere", but we're not quite there yet.
But I'd hope that Debian builds would not follow that default and
would tell make info to use things like ‘ and ’ since these chars
should pretty much always work in a Debian system.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 21:52 ` Stefan Monnier
@ 2014-01-04 0:07 ` Paul Eggert
2014-01-04 0:40 ` Drew Adams
` (2 more replies)
2014-01-04 7:38 ` Eli Zaretskii
1 sibling, 3 replies; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 0:07 UTC (permalink / raw)
To: Stefan Monnier, Eli Zaretskii; +Cc: grfz, 16292
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
Stefan Monnier wrote:
> I think we're pretty close to the point where ‘ and ’
> can be assumed to work "everywhere", but we're not quite there yet.
> But I'd hope that Debian builds would not follow that default and
> would tell make info to use things like ‘ and ’ since these chars
> should pretty much always work in a Debian system.
OK, attached is a patch to implement that suggestion, with the proviso
that the default is to use curly quotes on Debian-like systems where
UTF-8 support seems ubiquitous, and to use ASCII quotes elsewhere.
This should simplify configuration on Debianish systems. The 'locale'
command is used to check for UTF-8 support in English.
This feels like a new feature, so I'm somewhat inclined to leave this
stuff alone in the trunk until after the feature freeze is over.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: info-utf8.diff --]
[-- Type: text/x-patch; name="info-utf8.diff", Size: 34932 bytes --]
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-03 01:59:58 +0000
+++ ChangeLog 2014-01-03 23:48:01 +0000
@@ -1,5 +1,13 @@
2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+ Specify info encoding and language (Bug#16292).
+ * build-aux/uncurl-info: New file.
+ * configure.ac: New option --with-curly-info, which configures
+ INSTALL_INFO_DATA.
+ * Makefile.in (INSTALL_INFO_DATA): New macro.
+ (install-info): Use it.
+ * INSTALL: Document --with-curly-info.
+
Merge from gnulib, incorporating:
2014-01-02 manywarnings: remove -Wmudflap
This ports better to GCC 4.9-to-be.
=== modified file 'INSTALL'
--- INSTALL 2014-01-01 07:43:34 +0000
+++ INSTALL 2014-01-03 23:48:01 +0000
@@ -327,6 +327,15 @@
even on hosts where a narrower type would do. With this option, on a
typical 32-bit host, Emacs integers have 62 bits instead of 30.
+Use --with-curly-info to install Info files that use UTF-8 characters
+for curly quote marks and other special markup characters, and
+--without-curly-info to install Info files with ASCII markup instead.
+Installed Info files will contain some UTF-8 characters regardless of
+whether this option is used, so UTF-8 locales are recommended for
+reading documentation regardless. The default is --with-curly-info on
+platforms where UTF-8 seems to be ubiquitous, and --without-curly-info
+otherwise.
+
Use --enable-gcc-warnings to enable compile-time checks that warn
about possibly-questionable C code. This is intended for developers
and is useful with GNU-compatible compilers. On a recent GNU system
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-01 07:43:34 +0000
+++ Makefile.in 2014-01-02 00:46:55 +0000
@@ -255,6 +255,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
+INSTALL_INFO_DATA = @INSTALL_INFO_DATA@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
MKDIR_P = @MKDIR_P@
@@ -663,7 +664,8 @@
test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
(cd "$${thisdir}"; \
- ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
+ ${INSTALL_INFO_DATA} ${srcdir}/info/$$f \
+ "$(DESTDIR)${infodir}/$$f"); \
[ -n "${GZIP_PROG}" ] || continue ; \
rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
=== added file 'build-aux/uncurl-info'
--- build-aux/uncurl-info 1970-01-01 00:00:00 +0000
+++ build-aux/uncurl-info 2014-01-03 23:48:01 +0000
@@ -0,0 +1,61 @@
+#! /bin/sh
+# Copy an info file, but replace curly quotes etc. with ASCII markup
+
+# Copyright 2014 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+# written by Paul Eggert
+
+# We're pretty close where UTF-8 characters can be assumed to work
+# everywhere, but as of 2014 we're not quite there yet. For now, this
+# command works around some of the problem by replacing most UTF-8
+# characters in typical info files with ASCII approximations.
+
+# The input should be UTF-8. The UTF-8 output is designed for an info
+# file in an environment that either groks UTF-8, or which mishandles
+# UTF-8 but which works with ASCII or near-ASCII and can tolerate some
+# mojibake. Some information may be lost in the process, and the
+# number of characters and/or bytes may change. Only non-ASCII
+# symbols generated by 'makeinfo' are transliterated. Other non-ASCII
+# characters (which presumably came from the Info file itself) are
+# left alone; these will work properly in UTF-8 locales and will
+# probably be mojibake in non-UTF-8 locales.
+
+LC_ALL=C
+export LC_ALL
+
+source=${1?}
+dest=${2?}
+
+sed <"$source" >"$dest" '
+ s/©/(C)/g
+ s/–/-/g
+ s/—/--/g
+ s/‘/'\''/g
+ s/’/'\''/g
+ s/“/"/g
+ s/”/"/g
+ s/•/*/g
+ s/…/.../g
+ s/→/->/g
+ s/↦/|->/g
+ s/⇒/=>/g
+ s/−/-/g
+ s/≡/==/g
+ s/⊣/-|/g
+ s/★/*/g
+'
=== modified file 'configure.ac'
--- configure.ac 2014-01-01 08:31:29 +0000
+++ configure.ac 2014-01-03 23:48:01 +0000
@@ -300,6 +300,17 @@
[don't compress some files (.el, .info, etc.) when installing. Equivalent to:
make GZIP_PROG= install])
+AC_ARG_WITH([curly-info],
+ [AS_HELP_STRING([--with-curly-info],
+ [install info files that use curly quotes])],
+ [],
+ [[case `(locale -a) 2>/dev/null` in
+ en*.[Uu][Tt][Ff]-8 | en*.[Uu][Tt][Ff]8)
+ with_curly_info=$with_features ;;
+ *)
+ with_curly_info=no ;;
+ esac]])
+
AC_ARG_WITH([pkg-config-prog],dnl
[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
[file name of pkg-config for finding GTK and librsvg])])
@@ -973,6 +984,14 @@
AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
+
+if test "$with_curly_info" = yes; then
+ INSTALL_INFO_DATA='$(INSTALL_DATA)'
+else
+ INSTALL_INFO_DATA='build-aux/uncurl-info'
+fi
+AC_SUBST([INSTALL_INFO_DATA])
+
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
=== modified file 'doc/emacs/ChangeLog'
--- doc/emacs/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/emacs/ChangeLog 2014-01-03 08:53:55 +0000
@@ -1,3 +1,8 @@
+2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs.texi, emacs-xtra.texi: Add @documentlanguage directive.
+
2013-12-28 Glenn Morris <rgm@gnu.org>
* trouble.texi (Understanding Bug Reporting): Brevity.
=== modified file 'doc/emacs/emacs-xtra.texi'
--- doc/emacs/emacs-xtra.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs-xtra.texi 2014-01-01 23:22:18 +0000
@@ -27,6 +27,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/emacs/emacs.texi'
--- doc/emacs/emacs.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs.texi 2014-01-01 23:22:18 +0000
@@ -45,6 +45,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/lispintro/ChangeLog'
--- doc/lispintro/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/lispintro/ChangeLog 2014-01-03 08:53:55 +0000
@@ -1,3 +1,8 @@
+2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs-lisp-intro.texi: Add @documentencoding, @documentlanguage.
+
2013-12-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi: Use @quotation for license notice.
=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- doc/lispintro/emacs-lisp-intro.texi 2014-01-01 08:31:29 +0000
+++ doc/lispintro/emacs-lisp-intro.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@c setfilename emacs-lisp-intro.info
@c sethtmlfilename emacs-lisp-intro.html
@settitle Programming in Emacs Lisp
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr cp
@syncodeindex fn cp
@finalout
=== modified file 'doc/lispref/ChangeLog'
--- doc/lispref/ChangeLog 2014-01-03 05:49:06 +0000
+++ doc/lispref/ChangeLog 2014-01-03 08:51:50 +0000
@@ -1,3 +1,9 @@
+2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2014-01-03 Chong Yidong <cyd@gnu.org>
* help.texi (Documentation, Accessing Documentation): Copyedits.
=== modified file 'doc/lispref/back.texi'
--- doc/lispref/back.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/back.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@c %**start of header
@setfilename back-cover
@settitle GNU Emacs Lisp Reference Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
.
@sp 7
=== modified file 'doc/lispref/book-spine.texi'
--- doc/lispref/book-spine.texi 2013-12-30 17:08:32 +0000
+++ doc/lispref/book-spine.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename book-spine
@settitle book-spine
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/lispref/elisp.texi'
--- doc/lispref/elisp.texi 2014-01-01 08:31:29 +0000
+++ doc/lispref/elisp.texi 2014-01-01 23:22:18 +0000
@@ -116,6 +116,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp
@direntry
=== modified file 'doc/lispref/lay-flat.texi'
--- doc/lispref/lay-flat.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/lay-flat.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@setfilename inner-covers.info
@settitle Inner Covers
@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@headings off
=== modified file 'doc/misc/ChangeLog'
--- doc/misc/ChangeLog 2014-01-03 23:14:16 +0000
+++ doc/misc/ChangeLog 2014-01-03 23:49:11 +0000
@@ -1,3 +1,21 @@
+2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
+ * cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
+ * ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
+ * eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
+ * ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
+ * gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
+ * idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
+ * mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
+ * org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
+ * remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
+ * sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
+ * todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
+ * widget.texi, wisent.texi, woman.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2014-01-03 Aidan Gauland <aidalgol@amuri.net>
* eshell.texi (What Eshell is not): Clean up confusing clause.
=== modified file 'doc/misc/ada-mode.texi'
--- doc/misc/ada-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ada-mode.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ada-mode
@settitle Ada Mode
+@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/auth.texi'
--- doc/misc/auth.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/auth.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@setfilename ../../info/auth
@settitle Emacs auth-source Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs auth-source library.
=== modified file 'doc/misc/autotype.texi'
--- doc/misc/autotype.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/autotype.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c @node Autotypist, Picture, Abbrevs, Top
@c @chapter Features for Automatic Typing
@settitle Features for Automatic Typing
+@documentencoding UTF-8
+@documentlanguage en
@c @cindex text
@c @cindex selfinserting text
@c @cindex autotypist
=== modified file 'doc/misc/bovine.texi'
--- doc/misc/bovine.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/bovine.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@set TITLE Bovine parser development
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/calc.texi'
--- doc/misc/calc.texi 2014-01-03 02:53:29 +0000
+++ doc/misc/calc.texi 2014-01-03 08:51:50 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/calc
@c [title]
@settitle GNU Emacs Calc Manual
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@comment %**end of header (This is for running Texinfo on a region.)
=== modified file 'doc/misc/cc-mode.texi'
--- doc/misc/cc-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cc-mode.texi 2014-01-01 23:22:18 +0000
@@ -83,6 +83,8 @@
@setfilename ../../info/ccmode
@settitle CC Mode Manual
+@documentencoding UTF-8
+@documentlanguage en
@footnotestyle end
@c The following four macros generate the filenames and titles of the
=== modified file 'doc/misc/cl.texi'
--- doc/misc/cl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cl.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/cl
@settitle Common Lisp Extensions
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/dbus.texi'
--- doc/misc/dbus.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/dbus.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/dbus
@c %**start of header
@settitle Using of D-Bus
+@documentencoding UTF-8
+@documentlanguage en
@c @setchapternewpage odd
@c %**end of header
=== modified file 'doc/misc/dired-x.texi'
--- doc/misc/dired-x.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/dired-x.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/dired-x
@settitle Dired Extra User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
=== modified file 'doc/misc/ebrowse.texi'
--- doc/misc/ebrowse.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ebrowse.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header
@setfilename ../../info/ebrowse
@settitle A Class Browser for C++
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@syncodeindex fn cp
@comment %**end of header
=== modified file 'doc/misc/ede.texi'
--- doc/misc/ede.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/ede.texi 2014-01-03 08:51:50 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/ede
@settitle Emacs Development Environment
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes EDE, the Emacs Development Environment.
=== modified file 'doc/misc/ediff.texi'
--- doc/misc/ediff.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ediff.texi 2014-01-01 23:22:18 +0000
@@ -10,6 +10,8 @@
@setfilename ../../info/ediff
@settitle Ediff User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex vr cp
@synindex fn cp
@synindex pg cp
=== modified file 'doc/misc/edt.texi'
--- doc/misc/edt.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/edt.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/edt
@settitle EDT Emulation for Emacs
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents the EDT emulation package for Emacs.
=== modified file 'doc/misc/efaq-w32.texi'
--- doc/misc/efaq-w32.texi 2014-01-03 03:15:01 +0000
+++ doc/misc/efaq-w32.texi 2014-01-03 08:51:50 +0000
@@ -166,7 +166,7 @@
Emacs binaries are distributed as zip files, digitally
signed by the developer who built them. Generally most users will
want the file @file{emacs-@value{EMACSVER}-bin-i386.zip}, which
-contains everything you need to get started.
+contains everything you need to get started.
@cindex where to get sources
@cindex Emacs source code
@@ -290,7 +290,7 @@
The command to unpack a source distribution from the command line is:
@example
-tar xzf emacs-@value{EMACSVER}.tar.gz
+tar xzf emacs-@value{EMACSVER}.tar.gz
@end example
If this does not work with the versions of tar and gzip that you have,
@@ -577,9 +577,9 @@
Subject: Re: Re[2]: problem with caps/ctrl swap on NT 4.0
@end ignore
@example
-It's a binary value that lets you map keystrokes in the low-level keyboard
-drivers in NT. As a result you don't have to worry about applications
-bypassing mappings that you've done at a higher level (i.e. it just works).
+It's a binary value that lets you map keystrokes in the low-level keyboard
+drivers in NT. As a result you don't have to worry about applications
+bypassing mappings that you've done at a higher level (i.e. it just works).
Here's the format of the value:
@@ -591,11 +591,11 @@
DWORD: mapping n
DWORD: 0x00000000 terminating null DWORD
-Each mapping DWORD has two parts: the input scancode, and an output
-scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
-lock), you want a value of 0x003a001d. Note that this does not swap the
-keys. Using just this mapping value, both the left control and the caps
-lock key will behave as caps-lock. To swap, you also need to map 0x3a to
+Each mapping DWORD has two parts: the input scancode, and an output
+scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
+lock), you want a value of 0x003a001d. Note that this does not swap the
+keys. Using just this mapping value, both the left control and the caps
+lock key will behave as caps-lock. To swap, you also need to map 0x3a to
0x1d, using 0x001d003a.
This registry value is system wide, and can't be made user-specific. It
@@ -1430,7 +1430,7 @@
You can start an interactive shell in Emacs by typing @kbd{M-x shell}.
Emacs uses the @env{SHELL} environment variable to determine which
program to use as the shell. To instruct Emacs to use a non-default
-shell, you can either set this environment variable, or customize
+shell, you can either set this environment variable, or customize
@code{explicit-shell-file-name}. You can also customize
@code{shell-file-name} to change the shell that will be used by
subprocesses that are started with @code{shell-command} and
=== modified file 'doc/misc/efaq.texi'
--- doc/misc/efaq.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/efaq.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/efaq
@settitle GNU Emacs FAQ
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/misc/eieio.texi'
--- doc/misc/eieio.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/eieio.texi 2014-01-03 08:51:50 +0000
@@ -3,6 +3,8 @@
@set TITLE Enhanced Implementation of Emacs Interpreted Objects
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/emacs-gnutls.texi'
--- doc/misc/emacs-gnutls.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-gnutls.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/emacs-gnutls
@settitle Emacs GnuTLS Integration @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs GnuTLS integration.
=== modified file 'doc/misc/emacs-mime.texi'
--- doc/misc/emacs-mime.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-mime.texi 2014-01-01 23:22:18 +0000
@@ -26,8 +26,8 @@
@end quotation
@end copying
-@c Node ``Interface Functions'' uses non-ASCII characters
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp libraries
@direntry
=== modified file 'doc/misc/epa.texi'
--- doc/misc/epa.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/epa.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/epa
@settitle EasyPG Assistant User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@set VERSION 1.0.0
=== modified file 'doc/misc/erc.texi'
--- doc/misc/erc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/erc.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@settitle ERC Manual
@syncodeindex fn cp
@include emacsver.texi
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/ert.texi'
--- doc/misc/ert.texi 2014-01-03 03:00:39 +0000
+++ doc/misc/ert.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/ert
@settitle Emacs Lisp Regression Testing
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@dircategory Emacs misc features
=== modified file 'doc/misc/eshell.texi'
--- doc/misc/eshell.texi 2014-01-03 23:14:16 +0000
+++ doc/misc/eshell.texi 2014-01-03 23:49:11 +0000
@@ -4,6 +4,8 @@
@settitle Eshell: The Emacs Shell
@defindex cm
@synindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/eudc.texi'
--- doc/misc/eudc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eudc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/eudc
@settitle Emacs Unified Directory Client (EUDC) Manual
@afourpaper
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/flymake.texi'
--- doc/misc/flymake.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/flymake.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@set UPDATED April 2004
@settitle GNU Flymake @value{VERSION}
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/forms.texi'
--- doc/misc/forms.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/forms.texi 2014-01-01 23:22:18 +0000
@@ -14,6 +14,8 @@
@end iftex
@c @smallbook
@comment %**end of header (This is for running Texinfo on a region.)
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents Forms mode, a form-editing major mode for GNU Emacs.
=== modified file 'doc/misc/gnus-coding.texi'
--- doc/misc/gnus-coding.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus-coding.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename gnus-coding
@settitle Gnus Coding Style and Maintenance Guide
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex pg cp
=== modified file 'doc/misc/gnus-faq.texi'
--- doc/misc/gnus-faq.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/gnus-faq.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c
@c @setfilename gnus-faq.info
@c @settitle Frequently Asked Questions
+@c @documentencoding UTF-8
+@c @documentlanguage en
@c %**end of header
@c
=== modified file 'doc/misc/gnus.texi'
--- doc/misc/gnus.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,7 @@
@syncodeindex pg cp
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/htmlfontify.texi'
--- doc/misc/htmlfontify.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/htmlfontify.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/htmlfontify
@settitle Htmlfontify User Manual
@exampleindent 2
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/idlwave.texi'
--- doc/misc/idlwave.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/idlwave.texi 2014-01-01 23:22:18 +0000
@@ -12,6 +12,8 @@
@set DATE April, 2007
@set AUTHOR J.D. Smith & Carsten Dominik
@set MAINTAINER J.D. Smith
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/ido.texi'
--- doc/misc/ido.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/ido.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ido
@settitle Interactive Do
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/info.texi'
--- doc/misc/info.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/info.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/mairix-el.texi'
--- doc/misc/mairix-el.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mairix-el.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,7 @@
@settitle Emacs Interface for Mairix
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 2008--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/message.texi'
--- doc/misc/message.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/message.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/message
@settitle Message Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/mh-e.texi'
--- doc/misc/mh-e.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mh-e.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c %**start of header
@setfilename ../../info/mh-e
@settitle The MH-E Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c Version of the software and manual.
=== modified file 'doc/misc/newsticker.texi'
--- doc/misc/newsticker.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/newsticker.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@syncodeindex vr cp
@syncodeindex fn cp
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/nxml-mode.texi'
--- doc/misc/nxml-mode.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/nxml-mode.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/nxml-mode
@settitle nXML Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/octave-mode.texi'
--- doc/misc/octave-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/octave-mode.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/octave-mode
@settitle Octave Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/org.texi'
--- doc/misc/org.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/org.texi 2014-01-01 23:22:18 +0000
@@ -15,6 +15,8 @@
@set MAINTAINER Carsten Dominik
@set MAINTAINEREMAIL @email{carsten at orgmode dot org}
@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/pcl-cvs.texi'
--- doc/misc/pcl-cvs.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pcl-cvs.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/pcl-cvs
@settitle PCL-CVS---Emacs Front-End to CVS
@syncodeindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/pgg.texi'
--- doc/misc/pgg.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pgg.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.1
@settitle PGG @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes PGG @value{VERSION}, an Emacs interface to various
PGP implementations.
=== modified file 'doc/misc/rcirc.texi'
--- doc/misc/rcirc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/rcirc.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/rcirc
@settitle rcirc Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/reftex.texi'
--- doc/misc/reftex.texi 2014-01-03 03:15:01 +0000
+++ doc/misc/reftex.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/reftex
@settitle RefTeX User Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex ky cp
@syncodeindex vr cp
@syncodeindex fn cp
=== modified file 'doc/misc/remember.texi'
--- doc/misc/remember.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/remember.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/remember
@settitle Remember Manual
@syncodeindex fn cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sasl.texi'
--- doc/misc/sasl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sasl.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.2
@settitle Emacs SASL Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes the Emacs SASL library, version @value{VERSION}.
=== modified file 'doc/misc/sc.texi'
--- doc/misc/sc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/sc
@settitle Supercite User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@iftex
@finalout
@end iftex
=== modified file 'doc/misc/semantic.texi'
--- doc/misc/semantic.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/semantic.texi 2014-01-03 08:51:50 +0000
@@ -3,6 +3,8 @@
@set TITLE Semantic Manual
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/ses.texi'
--- doc/misc/ses.texi 2014-01-03 14:18:24 +0000
+++ doc/misc/ses.texi 2014-01-03 22:24:08 +0000
@@ -6,6 +6,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sieve.texi'
--- doc/misc/sieve.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sieve.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/sieve
@settitle Emacs Sieve Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/smtpmail.texi'
--- doc/misc/smtpmail.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/smtpmail.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/smtpmail
@settitle Emacs SMTP Library
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr fn
@copying
Copyright @copyright{} 2003--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/speedbar.texi'
--- doc/misc/speedbar.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/speedbar.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/speedbar
@settitle Speedbar: File/Tag summarizing utility
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@copying
=== modified file 'doc/misc/srecode.texi'
--- doc/misc/srecode.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/srecode.texi 2014-01-03 08:51:50 +0000
@@ -4,6 +4,8 @@
@set TITLE SRecoder Manual
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c Merge all indexes into a single index for now.
@c We can always separate them later into two or more as needed.
=== modified file 'doc/misc/todo-mode.texi'
--- doc/misc/todo-mode.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/todo-mode.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/tramp.texi'
--- doc/misc/tramp.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/tramp.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/tramp
@c %**start of header
@settitle TRAMP User Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c This is *so* much nicer :)
=== modified file 'doc/misc/url.texi'
--- doc/misc/url.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/url.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/url
@settitle URL Programmer's Manual
+@documentencoding UTF-8
+@documentlanguage en
+
@iftex
@c @finalout
@end iftex
=== modified file 'doc/misc/vip.texi'
--- doc/misc/vip.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/vip.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/vip
@settitle VIP
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/viper.texi'
--- doc/misc/viper.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/viper.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,9 @@
@comment @setfilename viper.info
@setfilename ../../info/viper
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1995--1997, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/widget.texi'
--- doc/misc/widget.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/widget.texi 2014-01-03 08:51:50 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/wisent.texi'
--- doc/misc/wisent.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/wisent.texi 2014-01-01 23:22:18 +0000
@@ -20,6 +20,8 @@
@c @footnotestyle separate
@c @paragraphindent 2
@c @@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/woman.texi'
--- doc/misc/woman.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/woman.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@c Look for @page and @need commands.
@setchapternewpage off
@paragraphindent 0
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2014-01-01 07:43:34 +0000
+++ etc/ChangeLog 2014-01-03 23:56:51 +0000
@@ -1,3 +1,8 @@
+2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * NEWS: Document --with-curly-info.
+
2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
Plain copy-file no longer chmods an existing destination (Bug#16133).
=== modified file 'etc/NEWS'
--- etc/NEWS 2014-01-03 05:37:58 +0000
+++ etc/NEWS 2014-01-03 23:56:51 +0000
@@ -38,6 +38,11 @@
and renamed to `--without-compress-install'. It now prevents compression
of _any_ files during installation.
+** The configure option `--with-curly-info' installs info files that use
+UTF-8 characters for curly quote marks and other special markup characters.
+The default is --with-curly-info on platforms where UTF-8 seems ubiquitous,
+--without-curly-info otherwise.
+
** The configure option `--with-crt-dir' has been removed.
It is no longer needed, as the crt*.o files are no longer linked
specially.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 0:07 ` Paul Eggert
@ 2014-01-04 0:40 ` Drew Adams
2014-01-04 0:49 ` Paul Eggert
2014-01-04 7:27 ` Eli Zaretskii
2014-01-04 5:18 ` Stefan Monnier
2014-01-04 7:41 ` Eli Zaretskii
2 siblings, 2 replies; 104+ messages in thread
From: Drew Adams @ 2014-01-04 0:40 UTC (permalink / raw)
To: Paul Eggert, Stefan Monnier, Eli Zaretskii; +Cc: grfz, 16292
> This feels like a new feature, so I'm somewhat inclined to leave
> this stuff alone in the trunk until after the feature freeze is over.
As long as the regression is fixed, that sounds reasonable. IOW,
we already had a regression from `...' to '...'.
IIUC, Eli reverted that regression, restoring `...'. But if not,
then this should be fixed (somehow) before the release.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 0:40 ` Drew Adams
@ 2014-01-04 0:49 ` Paul Eggert
2014-01-04 7:27 ` Eli Zaretskii
1 sibling, 0 replies; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 0:49 UTC (permalink / raw)
To: Drew Adams, Stefan Monnier, Eli Zaretskii; +Cc: grfz, 16292
Drew Adams wrote:
> As long as the regression is fixed, that sounds reasonable. IOW,
> we already had a regression from `...' to '...'.
None of my patches, nor Eli's revert, affect
whether you get `...' as opposed to '...'.
That's a property of Texinfo, not of the Emacs source.
If you want `...', you can build with Texinfo 4.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 0:07 ` Paul Eggert
2014-01-04 0:40 ` Drew Adams
@ 2014-01-04 5:18 ` Stefan Monnier
2014-01-04 7:45 ` Eli Zaretskii
2014-01-04 17:50 ` Paul Eggert
2014-01-04 7:41 ` Eli Zaretskii
2 siblings, 2 replies; 104+ messages in thread
From: Stefan Monnier @ 2014-01-04 5:18 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
>> I think we're pretty close to the point where ‘ and ’
>> can be assumed to work "everywhere", but we're not quite there yet.
>> But I'd hope that Debian builds would not follow that default and
>> would tell make info to use things like ‘ and ’ since these chars
>> should pretty much always work in a Debian system.
> OK, attached is a patch to implement that suggestion,
It doesn't quite follow the suggestion in the part about "so there's no
need to specify it explicitly in the file". Isn't there a way other
than modifying the file to tell Texinfo that the encoding is utf-8?
> with the proviso that the default is to use curly quotes on
> Debian-like systems where UTF-8 support seems ubiquitous, and to use
> ASCII quotes elsewhere.
By "Debian builds" I really meant "builds of Emacs made by the Debian
team", not "builds made under Debian".
> This should simplify configuration on Debianish systems. The 'locale'
> command is used to check for UTF-8 support in English.
I'd rather not try to be clever here. E.g. your test will end up using
ASCII in non-English locales, even though they're just as likely to
properly handle those Unicode chars. Just default to no.
> This feels like a new feature, so I'm somewhat inclined to leave this
> stuff alone in the trunk until after the feature freeze is over.
Agreed. One more thing: the config option might like to use a more
generic name like "--with-liberal-use-of-unicode".
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 0:40 ` Drew Adams
2014-01-04 0:49 ` Paul Eggert
@ 2014-01-04 7:27 ` Eli Zaretskii
1 sibling, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 7:27 UTC (permalink / raw)
To: Drew Adams; +Cc: grfz, eggert, 16292
> Date: Fri, 3 Jan 2014 16:40:30 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: grfz@gmx.de, 16292@debbugs.gnu.org
>
> > This feels like a new feature, so I'm somewhat inclined to leave
> > this stuff alone in the trunk until after the feature freeze is over.
>
> As long as the regression is fixed, that sounds reasonable. IOW,
> we already had a regression from `...' to '...'.
>
> IIUC, Eli reverted that regression, restoring `...'.
No, I didn't, not if Texinfo 5 is used to prepare the Info files. In
that version of Texinfo, the default is '..'.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-03 21:52 ` Stefan Monnier
2014-01-04 0:07 ` Paul Eggert
@ 2014-01-04 7:38 ` Eli Zaretskii
1 sibling, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 7:38 UTC (permalink / raw)
To: Stefan Monnier; +Cc: eggert, grfz, 16292
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Paul Eggert <eggert@cs.ucla.edu>, 16292@debbugs.gnu.org, grfz@gmx.de
> Date: Fri, 03 Jan 2014 16:52:01 -0500
>
> My position is as follows:
> - I'd rather use Texinfo defaults, of course, to the extent that they
> work OK for Emacs.
> - We should feel free to use Unicode chars (in utf-8 encoding) in .texi files
> (and utf-8 should be the default encoding, so there's no need to
> specify it explicitly in the file).
> - Those Unicode chars should be preserved in the .info files (i.e. Info
> files should also use utf-8).
> - The chars introduced by "makeinfo" itself should stick to ASCII for
> now by default. I think we're pretty close to the point where ‘ and ’
> can be assumed to work "everywhere", but we're not quite there yet.
> But I'd hope that Debian builds would not follow that default and
> would tell make info to use things like ‘ and ’ since these chars
> should pretty much always work in a Debian system.
That's my position as well. I think using --disable-encoding in
Texinfo 5 and --enable-encoding in older versions will achieve
precisely that. It is also simple and doesn't require any
configure-time options. All we need is a simple test in the Makefile
of the version of makeinfo being used.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 0:07 ` Paul Eggert
2014-01-04 0:40 ` Drew Adams
2014-01-04 5:18 ` Stefan Monnier
@ 2014-01-04 7:41 ` Eli Zaretskii
2 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 7:41 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Fri, 03 Jan 2014 16:07:32 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Stefan Monnier wrote:
>
> > I think we're pretty close to the point where ‘ and ’
> > can be assumed to work "everywhere", but we're not quite there yet.
> > But I'd hope that Debian builds would not follow that default and
> > would tell make info to use things like ‘ and ’ since these chars
> > should pretty much always work in a Debian system.
>
> OK, attached is a patch to implement that suggestion, with the proviso
> that the default is to use curly quotes on Debian-like systems where
> UTF-8 support seems ubiquitous, and to use ASCII quotes elsewhere.
Thanks.
However, I don't like system-specific defaults, and I think a
configure-time option to change this is a nuisance.
I think we should use --disable-encoding instead, and do it by
default. People who want Unicode quotes and other special characters
can always override that by specifying non-default MAKEINFO_OPTS at
"make info" time.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 5:18 ` Stefan Monnier
@ 2014-01-04 7:45 ` Eli Zaretskii
[not found] ` <<jwvtxdjlcdq.fsf-monnier+emacsbugs@gnu.org>
` (2 more replies)
2014-01-04 17:50 ` Paul Eggert
1 sibling, 3 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 7:45 UTC (permalink / raw)
To: Stefan Monnier; +Cc: eggert, grfz, 16292
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>, 16292@debbugs.gnu.org, grfz@gmx.de
> Date: Sat, 04 Jan 2014 00:18:15 -0500
>
> Isn't there a way other than modifying the file to tell Texinfo that
> the encoding is utf-8?
No, not if you want makeinfo to put the 'coding' cookie in the file
local variables section of the Info file it produces.
@documentencoding is the way.
> I'd rather not try to be clever here. E.g. your test will end up using
> ASCII in non-English locales, even though they're just as likely to
> properly handle those Unicode chars. Just default to no.
I agree. And using --disable-encoding is a simpler way of achieving
that, as it doesn't need any postprocessing.
> > This feels like a new feature, so I'm somewhat inclined to leave this
> > stuff alone in the trunk until after the feature freeze is over.
>
> Agreed.
If so, we should at least fix the handful of manuals that already use
"@documentencoding utf-8", or use non-ASCII characters without any
@documentencoding, thus producing Info files that might display
incorrectly in certain locales.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
[not found] ` <<838uuww6j7.fsf@gnu.org>
@ 2014-01-04 15:21 ` Drew Adams
0 siblings, 0 replies; 104+ messages in thread
From: Drew Adams @ 2014-01-04 15:21 UTC (permalink / raw)
To: Eli Zaretskii, Drew Adams; +Cc: grfz, eggert, 16292
> > > This feels like a new feature, so I'm somewhat inclined to leave
> > > this stuff alone in the trunk until after the feature freeze is
> > > over.
> >
> > As long as the regression is fixed, that sounds reasonable. IOW,
> > we already had a regression from `...' to '...'.
> >
> > IIUC, Eli reverted that regression, restoring `...'.
>
> No, I didn't, not if Texinfo 5 is used to prepare the Info files.
> In that version of Texinfo, the default is '..'.
My mistake.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 5:18 ` Stefan Monnier
2014-01-04 7:45 ` Eli Zaretskii
@ 2014-01-04 17:50 ` Paul Eggert
2014-01-04 20:08 ` Eli Zaretskii
2014-01-04 20:32 ` Stefan Monnier
1 sibling, 2 replies; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 17:50 UTC (permalink / raw)
To: Stefan Monnier; +Cc: grfz, 16292
[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]
Stefan Monnier wrote:
> Isn't there a way other than modifying the file to tell
> Texinfo that the encoding is utf-8?
Not that I know of, no. Sorry.
> your test will end up using ASCII in non-English locales
No, because the test doesn't look at the current locale.
It looks at what locales are available.
That being said, the test could be improved to not care about
English; that's simpler anyway. I'll attach a revised patch,
which also fixes some other problems I noticed (e.g., some
'sed' implementations mishandle NUL bytes).
Defaulting to ASCII in all platforms would leave the original
bug unfixed by default on all installations, causing the
regression from `foo' to 'foo' that Drew Adams complained of.
I.e., on all platforms the Emacs documentation would default
to lower quality than it's had for decades. It's better to
default to ASCII only on platforms that don't support UTF-8
well.
> the config option might like to use a more
> generic name like "--with-liberal-use-of-unicode".
But it's not liberal: it's conservative! :-)
That is, it conserves the info file's contents.
Plus, it's UTF-8 not Unicode.
I tried names like '--with-some-utf-8-or-another' but
the 'utf-8-' makes it hard to parse visually, so I inverted the
flag to '--with-ascii-info-marks', which just barely fits in
'configure --help' output. This is included in the revised
patch.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: info-utf8.diff --]
[-- Type: text/x-patch; name="info-utf8.diff", Size: 35066 bytes --]
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: eggert@cs.ucla.edu-20140104173616-e5ehoqgjsqo1qrqi
# target_branch: bzr+ssh://eggert@bzr.savannah.gnu.org/emacs/trunk
# testament_sha1: 24d37d287bb541e3d8300ac2845f5b21ab333bde
# timestamp: 2014-01-04 09:36:23 -0800
# base_revision_id: rudalics@gmx.at-20140104093130-ccgmn1edhogzfv7l
#
# Begin patch
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-03 01:59:58 +0000
+++ ChangeLog 2014-01-04 17:36:16 +0000
@@ -1,3 +1,13 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * build-aux/ascii-info-marks: New file.
+ * configure.ac: New option --with-ascii-info-marks,
+ which configures INSTALL_INFO_DATA.
+ * Makefile.in (INSTALL_INFO_DATA): New macro.
+ (install-info): Use it.
+ * INSTALL: Document --with-ascii-info-marks.
+
2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
Merge from gnulib, incorporating:
=== modified file 'INSTALL'
--- INSTALL 2014-01-01 07:43:34 +0000
+++ INSTALL 2014-01-04 16:42:33 +0000
@@ -327,6 +327,11 @@
even on hosts where a narrower type would do. With this option, on a
typical 32-bit host, Emacs integers have 62 bits instead of 30.
+Use --with-ascii-info-marks to install Info files with ASCII
+punctuation marks, e.g., 'A-Z' rather than ‘A–Z’; this is the default
+if UTF-8 is not supported. Use --without-ascii-info-marks to install
+Info files as-is.
+
Use --enable-gcc-warnings to enable compile-time checks that warn
about possibly-questionable C code. This is intended for developers
and is useful with GNU-compatible compilers. On a recent GNU system
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-01 07:43:34 +0000
+++ Makefile.in 2014-01-02 00:46:55 +0000
@@ -255,6 +255,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
+INSTALL_INFO_DATA = @INSTALL_INFO_DATA@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
MKDIR_P = @MKDIR_P@
@@ -663,7 +664,8 @@
test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
(cd "$${thisdir}"; \
- ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
+ ${INSTALL_INFO_DATA} ${srcdir}/info/$$f \
+ "$(DESTDIR)${infodir}/$$f"); \
[ -n "${GZIP_PROG}" ] || continue ; \
rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
=== added file 'build-aux/ascii-info-marks'
--- build-aux/ascii-info-marks 1970-01-01 00:00:00 +0000
+++ build-aux/ascii-info-marks 2014-01-04 16:53:02 +0000
@@ -0,0 +1,64 @@
+#! /bin/sh
+# Copy an info file, but replace curly quotes etc. with ASCII markup
+
+# Copyright 2014 Free Software Foundation, Inc.
+
+# This file is part of GNU Emacs.
+
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# GNU Emacs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+# written by Paul Eggert
+
+# We're pretty close where UTF-8 characters can be assumed to work
+# everywhere, but as of 2014 we're not quite there yet. For now, this
+# command works around some of the problem by replacing most UTF-8
+# characters in typical info files with ASCII approximations.
+
+# The input should be UTF-8. The UTF-8 output is designed for an info
+# file in an environment that either groks UTF-8, or which mishandles
+# UTF-8 but which works with ASCII or near-ASCII and can tolerate some
+# mojibake. Some information may be lost in the process, and the
+# number of characters and/or bytes may change. Only non-ASCII
+# symbols generated by 'makeinfo' are transliterated. Other non-ASCII
+# characters (which presumably came from the Info file itself) are
+# left alone; these will work properly in UTF-8 locales and will
+# probably be mojibake in non-UTF-8 locales.
+
+LC_ALL=C
+export LC_ALL
+
+source=${1?}
+dest=${2?}
+
+(tr '\0' '\1' |
+ sed '
+ s/©/(C)/g
+ s/–/-/g
+ s/—/--/g
+ s/‘/'\''/g
+ s/’/'\''/g
+ s/“/"/g
+ s/”/"/g
+ s/•/*/g
+ s/…/.../g
+ s/→/->/g
+ s/↦/|->/g
+ s/⇒/=>/g
+ s/−/-/g
+ s/≡/==/g
+ s/⊣/-|/g
+ s/★/*/g
+ ' |
+ tr '\1' '\0'
+) <"$source" >"$dest"
=== modified file 'configure.ac'
--- configure.ac 2014-01-01 08:31:29 +0000
+++ configure.ac 2014-01-04 16:53:02 +0000
@@ -300,6 +300,17 @@
[don't compress some files (.el, .info, etc.) when installing. Equivalent to:
make GZIP_PROG= install])
+AC_ARG_WITH([ascii-info-marks],
+ [AS_HELP_STRING([--with-ascii-info-marks],
+ [install info files with 'A-Z', not ‘A–Z’])],
+ [],
+ [[case `(locale -a) 2>/dev/null` in
+ *.[Uu][Tt][Ff]-8* | *.[Uu][Tt][Ff]8*)
+ with_ascii_info_marks=no ;;
+ *)
+ with_ascii_info_marks=$with_features ;;
+ esac]])
+
AC_ARG_WITH([pkg-config-prog],dnl
[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
[file name of pkg-config for finding GTK and librsvg])])
@@ -973,6 +984,14 @@
AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
+
+if test "$with_ascii_info_marks" = yes; then
+ INSTALL_INFO_DATA='build-aux/ascii-info-marks'
+else
+ INSTALL_INFO_DATA='$(INSTALL_DATA)'
+fi
+AC_SUBST([INSTALL_INFO_DATA])
+
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
=== modified file 'doc/emacs/ChangeLog'
--- doc/emacs/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/emacs/ChangeLog 2014-01-04 02:43:33 +0000
@@ -1,3 +1,8 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs.texi, emacs-xtra.texi: Add @documentlanguage directive.
+
2013-12-28 Glenn Morris <rgm@gnu.org>
* trouble.texi (Understanding Bug Reporting): Brevity.
=== modified file 'doc/emacs/emacs-xtra.texi'
--- doc/emacs/emacs-xtra.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs-xtra.texi 2014-01-01 23:22:18 +0000
@@ -27,6 +27,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/emacs/emacs.texi'
--- doc/emacs/emacs.texi 2014-01-01 08:31:29 +0000
+++ doc/emacs/emacs.texi 2014-01-01 23:22:18 +0000
@@ -45,6 +45,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs
@direntry
=== modified file 'doc/lispintro/ChangeLog'
--- doc/lispintro/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/lispintro/ChangeLog 2014-01-04 02:43:33 +0000
@@ -1,3 +1,8 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * emacs-lisp-intro.texi: Add @documentencoding, @documentlanguage.
+
2013-12-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi: Use @quotation for license notice.
=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- doc/lispintro/emacs-lisp-intro.texi 2014-01-01 08:31:29 +0000
+++ doc/lispintro/emacs-lisp-intro.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@c setfilename emacs-lisp-intro.info
@c sethtmlfilename emacs-lisp-intro.html
@settitle Programming in Emacs Lisp
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr cp
@syncodeindex fn cp
@finalout
=== modified file 'doc/lispref/ChangeLog'
--- doc/lispref/ChangeLog 2014-01-03 05:49:06 +0000
+++ doc/lispref/ChangeLog 2014-01-04 02:43:33 +0000
@@ -1,3 +1,9 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2014-01-03 Chong Yidong <cyd@gnu.org>
* help.texi (Documentation, Accessing Documentation): Copyedits.
=== modified file 'doc/lispref/back.texi'
--- doc/lispref/back.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/back.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@c %**start of header
@setfilename back-cover
@settitle GNU Emacs Lisp Reference Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
.
@sp 7
=== modified file 'doc/lispref/book-spine.texi'
--- doc/lispref/book-spine.texi 2013-12-30 17:08:32 +0000
+++ doc/lispref/book-spine.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename book-spine
@settitle book-spine
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/lispref/elisp.texi'
--- doc/lispref/elisp.texi 2014-01-01 08:31:29 +0000
+++ doc/lispref/elisp.texi 2014-01-01 23:22:18 +0000
@@ -116,6 +116,7 @@
@end copying
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp
@direntry
=== modified file 'doc/lispref/lay-flat.texi'
--- doc/lispref/lay-flat.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/lay-flat.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@setfilename inner-covers.info
@settitle Inner Covers
@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@headings off
=== modified file 'doc/misc/ChangeLog'
--- doc/misc/ChangeLog 2014-01-03 23:14:16 +0000
+++ doc/misc/ChangeLog 2014-01-04 02:43:33 +0000
@@ -1,3 +1,21 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
+ * cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
+ * ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
+ * eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
+ * ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
+ * gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
+ * idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
+ * mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
+ * org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
+ * remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
+ * sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
+ * todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
+ * widget.texi, wisent.texi, woman.texi:
+ Add @documentencoding, @documentlanguage as needed.
+
2014-01-03 Aidan Gauland <aidalgol@amuri.net>
* eshell.texi (What Eshell is not): Clean up confusing clause.
=== modified file 'doc/misc/ada-mode.texi'
--- doc/misc/ada-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ada-mode.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ada-mode
@settitle Ada Mode
+@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/auth.texi'
--- doc/misc/auth.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/auth.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,8 @@
@setfilename ../../info/auth
@settitle Emacs auth-source Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs auth-source library.
=== modified file 'doc/misc/autotype.texi'
--- doc/misc/autotype.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/autotype.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c @node Autotypist, Picture, Abbrevs, Top
@c @chapter Features for Automatic Typing
@settitle Features for Automatic Typing
+@documentencoding UTF-8
+@documentlanguage en
@c @cindex text
@c @cindex selfinserting text
@c @cindex autotypist
=== modified file 'doc/misc/bovine.texi'
--- doc/misc/bovine.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/bovine.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@set TITLE Bovine parser development
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/calc.texi'
--- doc/misc/calc.texi 2014-01-03 02:53:29 +0000
+++ doc/misc/calc.texi 2014-01-03 08:51:50 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/calc
@c [title]
@settitle GNU Emacs Calc Manual
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@comment %**end of header (This is for running Texinfo on a region.)
=== modified file 'doc/misc/cc-mode.texi'
--- doc/misc/cc-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cc-mode.texi 2014-01-01 23:22:18 +0000
@@ -83,6 +83,8 @@
@setfilename ../../info/ccmode
@settitle CC Mode Manual
+@documentencoding UTF-8
+@documentlanguage en
@footnotestyle end
@c The following four macros generate the filenames and titles of the
=== modified file 'doc/misc/cl.texi'
--- doc/misc/cl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cl.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/cl
@settitle Common Lisp Extensions
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/dbus.texi'
--- doc/misc/dbus.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/dbus.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/dbus
@c %**start of header
@settitle Using of D-Bus
+@documentencoding UTF-8
+@documentlanguage en
@c @setchapternewpage odd
@c %**end of header
=== modified file 'doc/misc/dired-x.texi'
--- doc/misc/dired-x.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/dired-x.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/dired-x
@settitle Dired Extra User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
=== modified file 'doc/misc/ebrowse.texi'
--- doc/misc/ebrowse.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ebrowse.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header
@setfilename ../../info/ebrowse
@settitle A Class Browser for C++
+@documentencoding UTF-8
+@documentlanguage en
@setchapternewpage odd
@syncodeindex fn cp
@comment %**end of header
=== modified file 'doc/misc/ede.texi'
--- doc/misc/ede.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/ede.texi 2014-01-03 08:51:50 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/ede
@settitle Emacs Development Environment
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes EDE, the Emacs Development Environment.
=== modified file 'doc/misc/ediff.texi'
--- doc/misc/ediff.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ediff.texi 2014-01-01 23:22:18 +0000
@@ -10,6 +10,8 @@
@setfilename ../../info/ediff
@settitle Ediff User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex vr cp
@synindex fn cp
@synindex pg cp
=== modified file 'doc/misc/edt.texi'
--- doc/misc/edt.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/edt.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo
@setfilename ../../info/edt
@settitle EDT Emulation for Emacs
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents the EDT emulation package for Emacs.
=== modified file 'doc/misc/efaq-w32.texi'
--- doc/misc/efaq-w32.texi 2014-01-03 03:15:01 +0000
+++ doc/misc/efaq-w32.texi 2014-01-03 08:51:50 +0000
@@ -166,7 +166,7 @@
Emacs binaries are distributed as zip files, digitally
signed by the developer who built them. Generally most users will
want the file @file{emacs-@value{EMACSVER}-bin-i386.zip}, which
-contains everything you need to get started.
+contains everything you need to get started.
@cindex where to get sources
@cindex Emacs source code
@@ -290,7 +290,7 @@
The command to unpack a source distribution from the command line is:
@example
-tar xzf emacs-@value{EMACSVER}.tar.gz
+tar xzf emacs-@value{EMACSVER}.tar.gz
@end example
If this does not work with the versions of tar and gzip that you have,
@@ -577,9 +577,9 @@
Subject: Re: Re[2]: problem with caps/ctrl swap on NT 4.0
@end ignore
@example
-It's a binary value that lets you map keystrokes in the low-level keyboard
-drivers in NT. As a result you don't have to worry about applications
-bypassing mappings that you've done at a higher level (i.e. it just works).
+It's a binary value that lets you map keystrokes in the low-level keyboard
+drivers in NT. As a result you don't have to worry about applications
+bypassing mappings that you've done at a higher level (i.e. it just works).
Here's the format of the value:
@@ -591,11 +591,11 @@
DWORD: mapping n
DWORD: 0x00000000 terminating null DWORD
-Each mapping DWORD has two parts: the input scancode, and an output
-scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
-lock), you want a value of 0x003a001d. Note that this does not swap the
-keys. Using just this mapping value, both the left control and the caps
-lock key will behave as caps-lock. To swap, you also need to map 0x3a to
+Each mapping DWORD has two parts: the input scancode, and an output
+scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps
+lock), you want a value of 0x003a001d. Note that this does not swap the
+keys. Using just this mapping value, both the left control and the caps
+lock key will behave as caps-lock. To swap, you also need to map 0x3a to
0x1d, using 0x001d003a.
This registry value is system wide, and can't be made user-specific. It
@@ -1430,7 +1430,7 @@
You can start an interactive shell in Emacs by typing @kbd{M-x shell}.
Emacs uses the @env{SHELL} environment variable to determine which
program to use as the shell. To instruct Emacs to use a non-default
-shell, you can either set this environment variable, or customize
+shell, you can either set this environment variable, or customize
@code{explicit-shell-file-name}. You can also customize
@code{shell-file-name} to change the shell that will be used by
subprocesses that are started with @code{shell-command} and
=== modified file 'doc/misc/efaq.texi'
--- doc/misc/efaq.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/efaq.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/efaq
@settitle GNU Emacs FAQ
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@include emacsver.texi
=== modified file 'doc/misc/eieio.texi'
--- doc/misc/eieio.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/eieio.texi 2014-01-03 08:51:50 +0000
@@ -3,6 +3,8 @@
@set TITLE Enhanced Implementation of Emacs Interpreted Objects
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/emacs-gnutls.texi'
--- doc/misc/emacs-gnutls.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-gnutls.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/emacs-gnutls
@settitle Emacs GnuTLS Integration @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file describes the Emacs GnuTLS integration.
=== modified file 'doc/misc/emacs-mime.texi'
--- doc/misc/emacs-mime.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-mime.texi 2014-01-01 23:22:18 +0000
@@ -26,8 +26,8 @@
@end quotation
@end copying
-@c Node ``Interface Functions'' uses non-ASCII characters
@documentencoding UTF-8
+@documentlanguage en
@dircategory Emacs lisp libraries
@direntry
=== modified file 'doc/misc/epa.texi'
--- doc/misc/epa.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/epa.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/epa
@settitle EasyPG Assistant User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@set VERSION 1.0.0
=== modified file 'doc/misc/erc.texi'
--- doc/misc/erc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/erc.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@settitle ERC Manual
@syncodeindex fn cp
@include emacsver.texi
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/ert.texi'
--- doc/misc/ert.texi 2014-01-03 03:00:39 +0000
+++ doc/misc/ert.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/ert
@settitle Emacs Lisp Regression Testing
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@dircategory Emacs misc features
=== modified file 'doc/misc/eshell.texi'
--- doc/misc/eshell.texi 2014-01-03 23:14:16 +0000
+++ doc/misc/eshell.texi 2014-01-03 23:49:11 +0000
@@ -4,6 +4,8 @@
@settitle Eshell: The Emacs Shell
@defindex cm
@synindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/eudc.texi'
--- doc/misc/eudc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eudc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/eudc
@settitle Emacs Unified Directory Client (EUDC) Manual
@afourpaper
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/flymake.texi'
--- doc/misc/flymake.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/flymake.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@set UPDATED April 2004
@settitle GNU Flymake @value{VERSION}
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/forms.texi'
--- doc/misc/forms.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/forms.texi 2014-01-01 23:22:18 +0000
@@ -14,6 +14,8 @@
@end iftex
@c @smallbook
@comment %**end of header (This is for running Texinfo on a region.)
+@documentencoding UTF-8
+@documentlanguage en
@copying
This file documents Forms mode, a form-editing major mode for GNU Emacs.
=== modified file 'doc/misc/gnus-coding.texi'
--- doc/misc/gnus-coding.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus-coding.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename gnus-coding
@settitle Gnus Coding Style and Maintenance Guide
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex pg cp
=== modified file 'doc/misc/gnus-faq.texi'
--- doc/misc/gnus-faq.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/gnus-faq.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c
@c @setfilename gnus-faq.info
@c @settitle Frequently Asked Questions
+@c @documentencoding UTF-8
+@c @documentlanguage en
@c %**end of header
@c
=== modified file 'doc/misc/gnus.texi'
--- doc/misc/gnus.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus.texi 2014-01-01 23:22:18 +0000
@@ -9,6 +9,7 @@
@syncodeindex pg cp
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/htmlfontify.texi'
--- doc/misc/htmlfontify.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/htmlfontify.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/htmlfontify
@settitle Htmlfontify User Manual
@exampleindent 2
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/idlwave.texi'
--- doc/misc/idlwave.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/idlwave.texi 2014-01-01 23:22:18 +0000
@@ -12,6 +12,8 @@
@set DATE April, 2007
@set AUTHOR J.D. Smith & Carsten Dominik
@set MAINTAINER J.D. Smith
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/ido.texi'
--- doc/misc/ido.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/ido.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ido
@settitle Interactive Do
+@documentencoding UTF-8
+@documentlanguage en
@include emacsver.texi
@copying
=== modified file 'doc/misc/info.texi'
--- doc/misc/info.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/info.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/mairix-el.texi'
--- doc/misc/mairix-el.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mairix-el.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,7 @@
@settitle Emacs Interface for Mairix
@documentencoding UTF-8
+@documentlanguage en
@copying
Copyright @copyright{} 2008--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/message.texi'
--- doc/misc/message.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/message.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/message
@settitle Message Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/mh-e.texi'
--- doc/misc/mh-e.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mh-e.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@c %**start of header
@setfilename ../../info/mh-e
@settitle The MH-E Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c Version of the software and manual.
=== modified file 'doc/misc/newsticker.texi'
--- doc/misc/newsticker.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/newsticker.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,8 @@
@syncodeindex vr cp
@syncodeindex fn cp
@syncodeindex pg cp
+@documentencoding UTF-8
+@documentlanguage en
@comment %**end of header
@copying
=== modified file 'doc/misc/nxml-mode.texi'
--- doc/misc/nxml-mode.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/nxml-mode.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/nxml-mode
@settitle nXML Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/octave-mode.texi'
--- doc/misc/octave-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/octave-mode.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/octave-mode
@settitle Octave Mode
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/org.texi'
--- doc/misc/org.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/org.texi 2014-01-01 23:22:18 +0000
@@ -15,6 +15,8 @@
@set MAINTAINER Carsten Dominik
@set MAINTAINEREMAIL @email{carsten at orgmode dot org}
@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@finalout
=== modified file 'doc/misc/pcl-cvs.texi'
--- doc/misc/pcl-cvs.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pcl-cvs.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/pcl-cvs
@settitle PCL-CVS---Emacs Front-End to CVS
@syncodeindex vr fn
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/pgg.texi'
--- doc/misc/pgg.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pgg.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.1
@settitle PGG @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes PGG @value{VERSION}, an Emacs interface to various
PGP implementations.
=== modified file 'doc/misc/rcirc.texi'
--- doc/misc/rcirc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/rcirc.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/rcirc
@settitle rcirc Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/reftex.texi'
--- doc/misc/reftex.texi 2014-01-03 03:15:01 +0000
+++ doc/misc/reftex.texi 2014-01-03 08:51:50 +0000
@@ -2,6 +2,8 @@
@c %**start of header
@setfilename ../../info/reftex
@settitle RefTeX User Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex ky cp
@syncodeindex vr cp
@syncodeindex fn cp
=== modified file 'doc/misc/remember.texi'
--- doc/misc/remember.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/remember.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@setfilename ../../info/remember
@settitle Remember Manual
@syncodeindex fn cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sasl.texi'
--- doc/misc/sasl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sasl.texi 2014-01-01 23:22:18 +0000
@@ -7,6 +7,9 @@
@set VERSION 0.2
@settitle Emacs SASL Library @value{VERSION}
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
This file describes the Emacs SASL library, version @value{VERSION}.
=== modified file 'doc/misc/sc.texi'
--- doc/misc/sc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sc.texi 2014-01-01 23:22:18 +0000
@@ -3,6 +3,8 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/sc
@settitle Supercite User's Manual
+@documentencoding UTF-8
+@documentlanguage en
@iftex
@finalout
@end iftex
=== modified file 'doc/misc/semantic.texi'
--- doc/misc/semantic.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/semantic.texi 2014-01-03 08:51:50 +0000
@@ -3,6 +3,8 @@
@set TITLE Semantic Manual
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/ses.texi'
--- doc/misc/ses.texi 2014-01-03 14:18:24 +0000
+++ doc/misc/ses.texi 2014-01-03 22:24:08 +0000
@@ -6,6 +6,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/sieve.texi'
--- doc/misc/sieve.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sieve.texi 2014-01-01 23:22:18 +0000
@@ -4,6 +4,8 @@
@setfilename ../../info/sieve
@settitle Emacs Sieve Manual
+@documentencoding UTF-8
+@documentlanguage en
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/smtpmail.texi'
--- doc/misc/smtpmail.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/smtpmail.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/smtpmail
@settitle Emacs SMTP Library
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex vr fn
@copying
Copyright @copyright{} 2003--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/speedbar.texi'
--- doc/misc/speedbar.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/speedbar.texi 2014-01-01 23:22:18 +0000
@@ -1,6 +1,8 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/speedbar
@settitle Speedbar: File/Tag summarizing utility
+@documentencoding UTF-8
+@documentlanguage en
@syncodeindex fn cp
@copying
=== modified file 'doc/misc/srecode.texi'
--- doc/misc/srecode.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/srecode.texi 2014-01-03 08:51:50 +0000
@@ -4,6 +4,8 @@
@set TITLE SRecoder Manual
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
+@documentlanguage en
@c Merge all indexes into a single index for now.
@c We can always separate them later into two or more as needed.
=== modified file 'doc/misc/todo-mode.texi'
--- doc/misc/todo-mode.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/todo-mode.texi 2014-01-01 23:22:18 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/tramp.texi'
--- doc/misc/tramp.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/tramp.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/tramp
@c %**start of header
@settitle TRAMP User Manual
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@c This is *so* much nicer :)
=== modified file 'doc/misc/url.texi'
--- doc/misc/url.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/url.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/url
@settitle URL Programmer's Manual
+@documentencoding UTF-8
+@documentlanguage en
+
@iftex
@c @finalout
@end iftex
=== modified file 'doc/misc/vip.texi'
--- doc/misc/vip.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/vip.texi 2014-01-01 23:22:18 +0000
@@ -2,6 +2,9 @@
@setfilename ../../info/vip
@settitle VIP
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/viper.texi'
--- doc/misc/viper.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/viper.texi 2014-01-01 23:22:18 +0000
@@ -6,6 +6,9 @@
@comment @setfilename viper.info
@setfilename ../../info/viper
+@documentencoding UTF-8
+@documentlanguage en
+
@copying
Copyright @copyright{} 1995--1997, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/widget.texi'
--- doc/misc/widget.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/widget.texi 2014-01-03 08:51:50 +0000
@@ -5,6 +5,8 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/wisent.texi'
--- doc/misc/wisent.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/wisent.texi 2014-01-01 23:22:18 +0000
@@ -20,6 +20,8 @@
@c @footnotestyle separate
@c @paragraphindent 2
@c @@smallbook
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'doc/misc/woman.texi'
--- doc/misc/woman.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/woman.texi 2014-01-01 23:22:18 +0000
@@ -8,6 +8,8 @@
@c Look for @page and @need commands.
@setchapternewpage off
@paragraphindent 0
+@documentencoding UTF-8
+@documentlanguage en
@c %**end of header
@copying
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2014-01-01 07:43:34 +0000
+++ etc/ChangeLog 2014-01-04 16:42:33 +0000
@@ -1,3 +1,8 @@
+2014-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify info encoding and language (Bug#16292).
+ * NEWS: Document --with-ascii-info-marks.
+
2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
Plain copy-file no longer chmods an existing destination (Bug#16133).
=== modified file 'etc/NEWS'
--- etc/NEWS 2014-01-03 05:37:58 +0000
+++ etc/NEWS 2014-01-04 16:42:33 +0000
@@ -38,6 +38,10 @@
and renamed to `--without-compress-install'. It now prevents compression
of _any_ files during installation.
+** The configure option `--with-ascii-info-marks' installs info files
+that use ASCII punctuation marks, e.g., 'A-Z' rather than ‘A–Z’. This
+is the default if UTF-8 is not supported.
+
** The configure option `--with-crt-dir' has been removed.
It is no longer needed, as the crt*.o files are no longer linked
specially.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 7:45 ` Eli Zaretskii
[not found] ` <<jwvtxdjlcdq.fsf-monnier+emacsbugs@gnu.org>
@ 2014-01-04 18:01 ` Paul Eggert
2014-01-04 20:11 ` Eli Zaretskii
[not found] ` <<83mwjbv75f.fsf@gnu.org>
2014-01-04 20:30 ` Stefan Monnier
2 siblings, 2 replies; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 18:01 UTC (permalink / raw)
To: Eli Zaretskii, Stefan Monnier; +Cc: grfz, 16292
Eli Zaretskii wrote:
> And using --disable-encoding is a simpler way of achieving
> that, as it doesn't need any postprocessing.
No, because we can't assume that the installer has 'makeinfo'
and can run 'makeinfo' with --disable-encoding. Instead, we must use
universally-available tools like 'sed' when installing.
> we should at least fix the handful of manuals that already use
> "@documentencoding utf-8", or use non-ASCII characters without any
> @documentencoding, thus producing Info files that might display
> incorrectly in certain locales.
None of that would fix the regression that Drew Adams noted.
Better would be to leave the files alone, and build the next
Emacs tarball with Texinfo 4. We can switch to Texinfo 5 for
building tarballs after the feature freeze is over.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 17:50 ` Paul Eggert
@ 2014-01-04 20:08 ` Eli Zaretskii
2014-01-04 20:53 ` Paul Eggert
2014-01-04 20:32 ` Stefan Monnier
1 sibling, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 20:08 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 09:50:21 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: Eli Zaretskii <eliz@gnu.org>, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Defaulting to ASCII in all platforms would leave the original
> bug unfixed by default on all installations, causing the
> regression from `foo' to 'foo' that Drew Adams complained of.
That's not an Emacs problem. The Texinfo developers decided to make
that change, and they followed the GNU Coding Standards. Emacs needs
to adapt, as the rest of the GNU project did. If you think this is a
step backwards, you need to talk to the Texinfo developers.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 18:01 ` Paul Eggert
@ 2014-01-04 20:11 ` Eli Zaretskii
[not found] ` <<83mwjbv75f.fsf@gnu.org>
1 sibling, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 20:11 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 10:01:28 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > And using --disable-encoding is a simpler way of achieving
> > that, as it doesn't need any postprocessing.
>
> No, because we can't assume that the installer has 'makeinfo'
> and can run 'makeinfo' with --disable-encoding. Instead, we must use
> universally-available tools like 'sed' when installing.
I wasn't talking about the installers, I was talking about someone who
does the "make info" step. Of course, this being Free Software, any
end user can redo "make info" if the result is not to her liking. At
that time, she can override the defaults if she so wants.
> > we should at least fix the handful of manuals that already use
> > "@documentencoding utf-8", or use non-ASCII characters without any
> > @documentencoding, thus producing Info files that might display
> > incorrectly in certain locales.
>
> None of that would fix the regression that Drew Adams noted.
That regression is not our problem, and if we want to fix it in Emacs,
we can use one of the Emacs display features to display some
characters as some other characters.
> Better would be to leave the files alone, and build the next
> Emacs tarball with Texinfo 4.
I don't mind to use Texinfo 4, if there are no objections. It would
solve the problem that matters to me.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
[not found] ` <<83mwjbv75f.fsf@gnu.org>
@ 2014-01-04 20:24 ` Drew Adams
2014-01-04 20:42 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-01-04 20:24 UTC (permalink / raw)
To: Eli Zaretskii, Paul Eggert; +Cc: grfz, 16292
> > Better would be to leave the files alone, and build the next
> > Emacs tarball with Texinfo 4.
>
> I don't mind to use Texinfo 4, if there are no objections. It
> would solve the problem that matters to me.
But not the problem that matters to the OP and other users in a
similar situation.
The OP uses Debian and emacs-snapshot. From the original report
(to me, but same OP):
----
I use debian linux and I have emacs23, emacs24 andd emacs-snapsho
installed. They all come with their respective info files. The info
files from emacs23 and emacs24 use `' as delimiters, the info file
from emacs-snapshot uses ''.
While the info files from emacs23 and emacs24 were generated with
makeinfo 4.13, the one from emacs-snapshot was generated with
makeinfo 5.2. I don't know if this accounts for the difference.
ATM I building an emacs from development sources. I have makeinfo
version 5.2 installed. (...)
Aha the freshly built info file uses two straight single quotes,
as the ones shiped with emacs-snapshot.
The manual for makeinfo version 5.2 says:
'OUTPUT_ENCODING_NAME'
Normalized encoding name used for output files. Should be a usable
charset name in HTML, typically one of the preferred IANA encoding
names. By default, if an input encoding is set (typically through
'@documentencoding' or 'INPUT_ENCODING_NAME'), this information is
used to set the output encoding name. If no input encoding is
specified, the default output encoding name may be set by the
output format. In particular, the XML-based formats use 'utf-8'
for 'OUTPUT_ENCODING_NAME' if the encoding is not otherwise
specified. *Note @documentencoding::.
And tada: there is no @documentencoding directive in Emacs Lisp
Intros texinfo file.
----
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 7:45 ` Eli Zaretskii
[not found] ` <<jwvtxdjlcdq.fsf-monnier+emacsbugs@gnu.org>
2014-01-04 18:01 ` Paul Eggert
@ 2014-01-04 20:30 ` Stefan Monnier
2014-01-04 20:45 ` Eli Zaretskii
2 siblings, 1 reply; 104+ messages in thread
From: Stefan Monnier @ 2014-01-04 20:30 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: eggert, grfz, 16292
>> Isn't there a way other than modifying the file to tell Texinfo that
>> the encoding is utf-8?
> No, not if you want makeinfo to put the 'coding' cookie in the file
> local variables section of the Info file it produces.
But that's OK: the `coding' cookie should also be unnecessary for utf-8.
> @documentencoding is the way.
> If so, we should at least fix the handful of manuals that already use
> "@documentencoding utf-8", or use non-ASCII characters without any
> @documentencoding, thus producing Info files that might display
> incorrectly in certain locales.
That's not a new problem and people haven't complained about it, AFAICT,
so I'd rather not touch it.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 17:50 ` Paul Eggert
2014-01-04 20:08 ` Eli Zaretskii
@ 2014-01-04 20:32 ` Stefan Monnier
1 sibling, 0 replies; 104+ messages in thread
From: Stefan Monnier @ 2014-01-04 20:32 UTC (permalink / raw)
To: Paul Eggert; +Cc: grfz, 16292
> Plus, it's UTF-8 not Unicode.
No, I really meant Unicode: the issue is not lack of support for utf-8,
but lack of support for some Unicode chars.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:24 ` Drew Adams
@ 2014-01-04 20:42 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 20:42 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Date: Sat, 4 Jan 2014 12:24:05 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 16292@debbugs.gnu.org, grfz@gmx.de
>
> > > Better would be to leave the files alone, and build the next
> > > Emacs tarball with Texinfo 4.
> >
> > I don't mind to use Texinfo 4, if there are no objections. It
> > would solve the problem that matters to me.
>
> But not the problem that matters to the OP and other users in a
> similar situation.
Yes, that too: Texinfo 4 still uses `..' for quoting.
> The OP uses Debian and emacs-snapshot. From the original report
> (to me, but same OP):
Again, this isn't an Emacs problem. It is wrong to expect Emacs to
fix problems caused by decisions of other packages. However, patches
are welcome to fix that separately by using, e.g., display tables.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:30 ` Stefan Monnier
@ 2014-01-04 20:45 ` Eli Zaretskii
[not found] ` <<jwv38l3lagj.fsf-monnier+emacsbugs@gnu.org>
` (2 more replies)
0 siblings, 3 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 20:45 UTC (permalink / raw)
To: Stefan Monnier; +Cc: eggert, grfz, 16292
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: eggert@cs.ucla.edu, 16292@debbugs.gnu.org, grfz@gmx.de
> Date: Sat, 04 Jan 2014 15:30:10 -0500
>
> >> Isn't there a way other than modifying the file to tell Texinfo that
> >> the encoding is utf-8?
> > No, not if you want makeinfo to put the 'coding' cookie in the file
> > local variables section of the Info file it produces.
>
> But that's OK: the `coding' cookie should also be unnecessary for utf-8.
I wouldn't rely on that, but I see your point.
> > If so, we should at least fix the handful of manuals that already use
> > "@documentencoding utf-8", or use non-ASCII characters without any
> > @documentencoding, thus producing Info files that might display
> > incorrectly in certain locales.
>
> That's not a new problem and people haven't complained about it, AFAICT,
> so I'd rather not touch it.
I won't recommend that: the effect is only visible with Texinfo 5,
which is still new. Complaints might come too late for us to be able
to fix them (after the release).
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:45 ` Eli Zaretskii
[not found] ` <<jwv38l3lagj.fsf-monnier+emacsbugs@gnu.org>
@ 2014-01-04 20:53 ` Paul Eggert
2014-01-04 21:08 ` Eli Zaretskii
2014-01-04 21:11 ` Stefan Monnier
2 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 20:53 UTC (permalink / raw)
To: Eli Zaretskii, Stefan Monnier; +Cc: grfz, 16292
Eli Zaretskii wrote:
> Complaints might come too late for us to be able
> to fix them (after the release).
Any such complaints would come only from people
expert enough to run makeinfo themselves, no?
So these people could be asked to run Texinfo 4,
just as we did, if they want to have quotes
`like this' that follow the older style. It's
not unreasonable to ask experts to run old programs
if they want to generate old-style output.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:08 ` Eli Zaretskii
@ 2014-01-04 20:53 ` Paul Eggert
2014-01-04 21:10 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 20:53 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
>> Date: Sat, 04 Jan 2014 09:50:21 -0800
>> From: Paul Eggert <eggert@cs.ucla.edu>
>>
>> Defaulting to ASCII in all platforms would leave the original
>> bug unfixed by default on all installations, causing the
>> regression from `foo' to 'foo' that Drew Adams complained of.
>
> That's not an Emacs problem. The Texinfo developers decided to make
> that change, and they followed the GNU Coding Standards. Emacs needs
> to adapt, as the rest of the GNU project did. If you think this is a
> step backwards
Defaulting to ASCII in all platforms would not be not a Texinfo problem,
as the ASCII transformation in the proposed patch is an Emacs-only hack.
No other package uses it, or is likely to. Texinfo has an established
method to avoid the regression, namely to use UTF-8 quote symbols, and
Emacs could easily adopt this method, just as other GNU programs have.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
[not found] ` <<83iotzv5q0.fsf@gnu.org>
@ 2014-01-04 21:07 ` Drew Adams
2014-01-04 23:05 ` Stefan Monnier
` (2 more replies)
0 siblings, 3 replies; 104+ messages in thread
From: Drew Adams @ 2014-01-04 21:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: eggert, grfz, 16292
> > > > Better would be to leave the files alone, and build the next
> > > > Emacs tarball with Texinfo 4.
> > >
> > > I don't mind to use Texinfo 4, if there are no objections. It
> > > would solve the problem that matters to me.
> >
> > But not the problem that matters to the OP and other users in a
> > similar situation.
>
> Yes, that too: Texinfo 4 still uses `..' for quoting.
No. The OP's problem came from an Emacs that was built otherwise.
That's the point. He was aware of that being the cause; it is
exactly that problem that he reported (to me).
Yes, Texinfo and makeinfo are not Emacs. That's your point. But
that does not solve the OP's problem. That's the point.
> > The OP uses Debian and emacs-snapshot.
>
> Again, this isn't an Emacs problem. It is wrong to expect Emacs
> to fix problems caused by decisions of other packages.
I can sympathize with that, and I agree with it generally. Still,
it seems that in this case it means that more and more Emacs users
will get worse Info behavior in Emacs, as more and more builders
move to a more recent Texinfo/makeinfo. Can we only tell users
that this is not an Emacs problem? That's the answer?
Perhaps there comes a point when it might make sense to work
around some problems that are strictly speaking "not an Emacs
problem". They can end up becoming a problem for Emacs (Emacs
users), whether or not Emacs is the source of the problem.
Of course, whether to try to work around such a problem probably
also depends on the difficulty of implementing (and maintaining)
the workaround. I cannot speak to that.
I will only say that it's too bad if Emacs users lose reasonable
Info behavior that they have enjoyed since the beginning.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:53 ` Paul Eggert
@ 2014-01-04 21:08 ` Eli Zaretskii
2014-01-04 23:29 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 21:08 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 12:53:06 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > Complaints might come too late for us to be able
> > to fix them (after the release).
>
> Any such complaints would come only from people
> expert enough to run makeinfo themselves, no?
Not necessarily. I'm talking again about the Unicode characters
produced by Texinfo 5 when @documentencoding says utf-8. Any user can
bump into this.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:53 ` Paul Eggert
@ 2014-01-04 21:10 ` Eli Zaretskii
2014-01-04 23:35 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-04 21:10 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 12:53:26 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> >> Date: Sat, 04 Jan 2014 09:50:21 -0800
> >> From: Paul Eggert <eggert@cs.ucla.edu>
> >>
> >> Defaulting to ASCII in all platforms would leave the original
> >> bug unfixed by default on all installations, causing the
> >> regression from `foo' to 'foo' that Drew Adams complained of.
> >
> > That's not an Emacs problem. The Texinfo developers decided to make
> > that change, and they followed the GNU Coding Standards. Emacs needs
> > to adapt, as the rest of the GNU project did. If you think this is a
> > step backwards
>
> Defaulting to ASCII in all platforms would not be not a Texinfo problem,
> as the ASCII transformation in the proposed patch is an Emacs-only hack.
I wasn't talking about ASCII transformation. I was talking about
either avoiding the use of "@documentencoding utf-8" or using
"--disable-encoding" for those manuals that need non-ASCII text.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 20:45 ` Eli Zaretskii
[not found] ` <<jwv38l3lagj.fsf-monnier+emacsbugs@gnu.org>
2014-01-04 20:53 ` Paul Eggert
@ 2014-01-04 21:11 ` Stefan Monnier
2014-01-05 3:43 ` Eli Zaretskii
2 siblings, 1 reply; 104+ messages in thread
From: Stefan Monnier @ 2014-01-04 21:11 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: eggert, grfz, 16292
> I won't recommend that: the effect is only visible with Texinfo 5,
> which is still new. Complaints might come too late for us to be able
> to fix them (after the release).
I think we should take the risk. It will also give us a good idea of
whether avoiding Unicode quotes is worth the trouble
of --disable-encoding (or of a sed script to convert them back to
ASCII).
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:07 ` Drew Adams
@ 2014-01-04 23:05 ` Stefan Monnier
2014-01-04 23:45 ` Paul Eggert
2014-01-05 3:41 ` Eli Zaretskii
2 siblings, 0 replies; 104+ messages in thread
From: Stefan Monnier @ 2014-01-04 23:05 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Can we only tell users that this is not an Emacs problem?
Yes. The bug should be reported to Texinfo maintainers.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:08 ` Eli Zaretskii
@ 2014-01-04 23:29 ` Paul Eggert
2014-01-05 3:47 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 23:29 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> Not necessarily. I'm talking again about the Unicode characters
> produced by Texinfo 5 when @documentencoding says utf-8. Any user can
> bump into this.
A user won't bump into that in the released Emacs manual, if
we build it with Texinfo 4. The only people who will bump
into that are people who edit the manual and run Texinfo themselves.
These are few enough and expert enough that we can simply ask
them to use Texinfo 4 if they care about the quoting and don't
want to work on the trunk.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:10 ` Eli Zaretskii
@ 2014-01-04 23:35 ` Paul Eggert
2014-01-05 3:49 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 23:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> I wasn't talking about ASCII transformation.
But I was, in the message you replied to.
My message was talking about whether the proposed patch
should default to the ASCII transformation. Doing that
would leave the original Emacs bug unfixed by default,
which is undesirable.
> I was talking about
> either avoiding the use of "@documentencoding utf-8" or using
> "--disable-encoding" for those manuals that need non-ASCII text.
Ah, OK, but neither of those approaches is suitable
for the Emacs manuals in the long run, after the
feature freeze is over. And in the short run we
can just leave the files alone, and build the
next release tarball with Texinfo 4.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:07 ` Drew Adams
2014-01-04 23:05 ` Stefan Monnier
@ 2014-01-04 23:45 ` Paul Eggert
2014-01-05 6:13 ` Drew Adams
2014-01-05 3:41 ` Eli Zaretskii
2 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-04 23:45 UTC (permalink / raw)
To: Drew Adams, Eli Zaretskii; +Cc: grfz, 16292
Drew Adams wrote:
> it seems that in this case it means that more and more Emacs users
> will get worse Info behavior in Emacs, as more and more builders
> move to a more recent Texinfo/makeinfo.
It's temporary, because we're in a feature freeze and don't
want to install the necessary feature until after the next release.
The next release should use Texinfo 4 to build the tarball, so
its info files should still use quotes `like this', and there
shouldn't be a regression.
After the feature freeze is over, we can install the necessary
feature and switch to the new Texinfo, which quotes ‘like this’,
so there still won't be a regression. The new feature will let
installers choose to quote 'like this' if they like (which
*will* be a regression from your point of view), but that'll
be an option that you won't have to choose.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:07 ` Drew Adams
2014-01-04 23:05 ` Stefan Monnier
2014-01-04 23:45 ` Paul Eggert
@ 2014-01-05 3:41 ` Eli Zaretskii
2 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 3:41 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Date: Sat, 4 Jan 2014 13:07:15 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: eggert@cs.ucla.edu, 16292@debbugs.gnu.org, grfz@gmx.de
>
> > Yes, that too: Texinfo 4 still uses `..' for quoting.
>
> No. The OP's problem came from an Emacs that was built otherwise.
> That's the point. He was aware of that being the cause; it is
> exactly that problem that he reported (to me).
>
> Yes, Texinfo and makeinfo are not Emacs. That's your point. But
> that does not solve the OP's problem. That's the point.
It will solve some of the problem, because Emacs will be released with
the quoting he wanted.
But the problem itself should find there solution either in Texinfo,
or in the Lisp programs (and users' minds) that will adapt to the
change.
> I can sympathize with that, and I agree with it generally. Still,
> it seems that in this case it means that more and more Emacs users
> will get worse Info behavior in Emacs, as more and more builders
> move to a more recent Texinfo/makeinfo. Can we only tell users
> that this is not an Emacs problem? That's the answer?
As I said, patches are welcome to display '..' as something more
visually pleasing.
> I will only say that it's too bad if Emacs users lose reasonable
> Info behavior that they have enjoyed since the beginning.
That ship sailed several months ago. There's nothing we can do to
return it, unless Texinfo changes back (unlikely, if you ask me).
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 21:11 ` Stefan Monnier
@ 2014-01-05 3:43 ` Eli Zaretskii
[not found] ` <<jwvsit3owo1.fsf-monnier+emacsbugs@gnu.org>
2014-01-05 4:55 ` Stefan Monnier
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 3:43 UTC (permalink / raw)
To: Stefan Monnier; +Cc: eggert, grfz, 16292
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: eggert@cs.ucla.edu, 16292@debbugs.gnu.org, grfz@gmx.de
> Date: Sat, 04 Jan 2014 16:11:36 -0500
>
> > I won't recommend that: the effect is only visible with Texinfo 5,
> > which is still new. Complaints might come too late for us to be able
> > to fix them (after the release).
>
> I think we should take the risk.
Why? what damage you envision from fixing a couple of manuals that are
affected by this?
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 23:29 ` Paul Eggert
@ 2014-01-05 3:47 ` Eli Zaretskii
2014-01-05 5:23 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 3:47 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 15:29:24 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > Not necessarily. I'm talking again about the Unicode characters
> > produced by Texinfo 5 when @documentencoding says utf-8. Any user can
> > bump into this.
>
> A user won't bump into that in the released Emacs manual, if
> we build it with Texinfo 4. The only people who will bump
> into that are people who edit the manual and run Texinfo themselves.
> These are few enough and expert enough that we can simply ask
> them to use Texinfo 4 if they care about the quoting and don't
> want to work on the trunk.
There's no expertise involved in "make info". And it uses the version
of Texinfo installed on the system, which normally has nothing to do
with Emacs.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 23:35 ` Paul Eggert
@ 2014-01-05 3:49 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 3:49 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 15:35:36 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> > I was talking about
> > either avoiding the use of "@documentencoding utf-8" or using
> > "--disable-encoding" for those manuals that need non-ASCII text.
>
> Ah, OK, but neither of those approaches is suitable
> for the Emacs manuals in the long run, after the
> feature freeze is over. And in the short run we
> can just leave the files alone, and build the
> next release tarball with Texinfo 4.
My suggestion solves more potential problems, so I think it is better
even in the short run, if not in the long.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 3:43 ` Eli Zaretskii
[not found] ` <<jwvsit3owo1.fsf-monnier+emacsbugs@gnu.org>
@ 2014-01-05 4:55 ` Stefan Monnier
2014-01-05 16:19 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Stefan Monnier @ 2014-01-05 4:55 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: eggert, grfz, 16292
>> > I won't recommend that: the effect is only visible with Texinfo 5,
>> > which is still new. Complaints might come too late for us to be able
>> > to fix them (after the release).
>> I think we should take the risk.
> Why? what damage you envision from fixing a couple of manuals that are
> affected by this?
The text you elided explains the benefit I hope to get from not changing
(you call it "fixing" but I disagree with this designation)
those manuals.
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 3:47 ` Eli Zaretskii
@ 2014-01-05 5:23 ` Paul Eggert
2014-01-05 16:30 ` Eli Zaretskii
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-05 5:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> There's no expertise involved in "make info".
Typical Emacs users don't run 'make info'.
And even for the few who do run it, it does nothing
unless they also edit a .texi file, which is
something typical users also are unlikely to
do. The rare user who's expert enough to edit
the manual, run 'make info', and care about
how the resulting quotes look, should be able
to understand and act on suggestions either to use
Texinfo 4 or to update to the post-freeze trunk.
> My suggestion solves more potential problems
I'm afraid not. Avoiding @documentencoding causes
Texinfo 5 to mishandle UTF-8 characters when generating
formats such as HTML, so that's a non-starter.
And both it and --disable-encoding cause the
regression that Drew noted. So it'd be unwise
to use either approach postfreeze when we build the
tarball's Info files with Texinfo 5 -- and these are
the most commonly-used Info files.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-04 23:45 ` Paul Eggert
@ 2014-01-05 6:13 ` Drew Adams
0 siblings, 0 replies; 104+ messages in thread
From: Drew Adams @ 2014-01-05 6:13 UTC (permalink / raw)
To: Paul Eggert, Eli Zaretskii; +Cc: grfz, 16292
> It's temporary, because we're in a feature freeze and don't
> want to install the necessary feature until after the next release.
> The next release should use Texinfo 4 to build the tarball, so
> its info files should still use quotes `like this', and there
> shouldn't be a regression.
>
> After the feature freeze is over, we can install the necessary
> feature and switch to the new Texinfo, which quotes ‘like this’,
> so there still won't be a regression. The new feature will let
> installers choose to quote 'like this' if they like (which
> *will* be a regression from your point of view), but that'll
> be an option that you won't have to choose.
Sounds reasonable to me, though I guess it means that some users
whose installers choose '...' for them will see a regression wrt
1985 (presumably from anyone's point of view).
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 4:55 ` Stefan Monnier
@ 2014-01-05 16:19 ` Eli Zaretskii
[not found] ` <<52C9BA68.7050703@cs.ucla.edu>
2014-01-05 20:02 ` Paul Eggert
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 16:19 UTC (permalink / raw)
To: Stefan Monnier; +Cc: eggert, grfz, 16292
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: eggert@cs.ucla.edu, 16292@debbugs.gnu.org, grfz@gmx.de
> Date: Sat, 04 Jan 2014 23:55:51 -0500
>
> >> > I won't recommend that: the effect is only visible with Texinfo 5,
> >> > which is still new. Complaints might come too late for us to be able
> >> > to fix them (after the release).
> >> I think we should take the risk.
> > Why? what damage you envision from fixing a couple of manuals that are
> > affected by this?
>
> The text you elided explains the benefit I hope to get from not changing
I elided it because it started with "also", which I interpreted to
mean that the part I quoted stood on its own. So I asked for the
reasons to that part, and that part only.
If now you are saying that the reason is this:
> It will give us a good idea of whether avoiding Unicode quotes is
> worth the trouble of --disable-encoding (or of a sed script to
> convert them back to ASCII)
then I confess that it's a strange reason: why avoid solving a clear
problem just to know whether it is worth solving, when the solution is
at hand and quite simple.
> (you call it "fixing" but I disagree with this designation)
Let me try to convince you. Try this:
$ LC_CTYPE=sv_SE.ISO8859-1 ./src/emacs -Q
C-u C-h i info/htmlfontify.info RET
g Interactive RET
Then look around the middle of the first screen, in a paragraph that
begins with "You should", and tell me whether you still think this
need not be fixed. Also, note the encoding displayed by Emacs on the
mode line (it should be UTF-8).
Similar problems exist in org.info, mh-e.info, ses.info, and
dbus.info.
(You may need to generate the manuals with makeinfo 4.13 to see these
problems.)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 5:23 ` Paul Eggert
@ 2014-01-05 16:30 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 16:30 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sat, 04 Jan 2014 21:23:03 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > There's no expertise involved in "make info".
>
> Typical Emacs users don't run 'make info'.
They might, if they want to make small changes.
In any case, as I show in my previous message, the problems are not
limited to Texinfo 5 (unlike what I previously thought).
> > My suggestion solves more potential problems
>
> I'm afraid not. Avoiding @documentencoding causes
> Texinfo 5 to mishandle UTF-8 characters when generating
> formats such as HTML, so that's a non-starter.
I didn't propose to make any changes in the HTML targets, they can
continue using --enable-encoding. I also didn't suggest to remove
@documentencoding; quite the contrary, the fix I suggested is to _add_
such a directive to those manuals that don't have it, but use UTF-8
encoded characters.
> And both it and --disable-encoding cause the
> regression that Drew noted.
That's not an Emacs problem.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 16:19 ` Eli Zaretskii
[not found] ` <<52C9BA68.7050703@cs.ucla.edu>
@ 2014-01-05 20:02 ` Paul Eggert
2014-01-05 20:06 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-05 20:02 UTC (permalink / raw)
To: Eli Zaretskii, Stefan Monnier; +Cc: grfz, 16292
Eli Zaretskii wrote:
> Try this:
>
> $ LC_CTYPE=sv_SE.ISO8859-1 ./src/emacs -Q
> C-u C-h i info/htmlfontify.info RET
> g Interactive RET
That's a longstanding problem. For example,
if I run this in an Emacs-24.3 source tree:
$ LC_ALL=sv_SE.ISO8859-1 ./src/emacs -Q
C-u C-h i info/dbus.info RET
g Type Conversion RET M->
I see a "ÿ" that should be a "ÿ".
As I understand it this problem doesn't occur often,
and is limited to the now-rare users who employ
unibyte locales. If so, it's not urgent to fix this
longstanding problem now.
The problem is fixed by the proposed post-feature-freeze
patch.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 20:02 ` Paul Eggert
@ 2014-01-05 20:06 ` Eli Zaretskii
[not found] ` <<52C9BCBF.7050904@cs.ucla.edu>
2014-01-05 20:12 ` Paul Eggert
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 20:06 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sun, 05 Jan 2014 12:02:48 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > Try this:
> >
> > $ LC_CTYPE=sv_SE.ISO8859-1 ./src/emacs -Q
> > C-u C-h i info/htmlfontify.info RET
> > g Interactive RET
>
> That's a longstanding problem. For example,
> if I run this in an Emacs-24.3 source tree:
>
> $ LC_ALL=sv_SE.ISO8859-1 ./src/emacs -Q
> C-u C-h i info/dbus.info RET
> g Type Conversion RET M->
>
> I see a "ÿ" that should be a "ÿ".
>
> As I understand it this problem doesn't occur often,
> and is limited to the now-rare users who employ
> unibyte locales. If so, it's not urgent to fix this
> longstanding problem now.
But the fix (for the next release) is easy and safe: just add an
appropriate @documentencoding. So I don't see why we should avoid
fixing this.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 20:06 ` Eli Zaretskii
[not found] ` <<52C9BCBF.7050904@cs.ucla.edu>
@ 2014-01-05 20:12 ` Paul Eggert
2014-01-05 20:19 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-05 20:12 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> But the fix (for the next release) is easy and safe: just add an
> appropriate @documentencoding. So I don't see why we should avoid
> fixing this.
Then I'm puzzled, because when I did pretty much just that in
trunk bzr 115807, you reverted the patch. It's fine with me
if we reinstall that patch.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 20:12 ` Paul Eggert
@ 2014-01-05 20:19 ` Eli Zaretskii
[not found] ` <<52C9E53D.8070106@cs.ucla.edu>
2014-01-05 23:05 ` Paul Eggert
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-05 20:19 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sun, 05 Jan 2014 12:12:47 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
> > But the fix (for the next release) is easy and safe: just add an
> > appropriate @documentencoding. So I don't see why we should avoid
> > fixing this.
>
> Then I'm puzzled, because when I did pretty much just that in
> trunk bzr 115807, you reverted the patch. It's fine with me
> if we reinstall that patch.
If we are going to use Texinfo 4 for generating the manuals in the
next release, the problem that bothered me will not happen in the Info
files that will be in the release tarball.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 20:19 ` Eli Zaretskii
[not found] ` <<52C9E53D.8070106@cs.ucla.edu>
@ 2014-01-05 23:05 ` Paul Eggert
2014-01-06 3:54 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-05 23:05 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
Eli Zaretskii wrote:
> If we are going to use Texinfo 4 for generating the manuals in the
> next release, the problem that bothered me will not happen in the Info
> files that will be in the release tarball.
Ah, OK, then we can separate the proposed patch into two parts.
The first just adds @documentencoding lines, and can be installed
now. The second deals with ASCIIfying the info files, a new feature
that can wait until after the feature freeze is over. I'm attaching
both patches.
[-- Attachment #2: document-encoding.diff --]
[-- Type: text/x-patch, Size: 21630 bytes --]
=== modified file 'doc/lispintro/ChangeLog'
--- doc/lispintro/ChangeLog 2014-01-01 07:43:34 +0000
+++ doc/lispintro/ChangeLog 2014-01-05 22:59:15 +0000
@@ -1,3 +1,8 @@
+2013-12-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify .texi encoding (Bug#16292).
+ * emacs-lisp-intro.texi: Add @documentencoding.
+
2013-12-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi: Use @quotation for license notice.
=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- doc/lispintro/emacs-lisp-intro.texi 2014-01-01 08:31:29 +0000
+++ doc/lispintro/emacs-lisp-intro.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@c setfilename emacs-lisp-intro.info
@c sethtmlfilename emacs-lisp-intro.html
@settitle Programming in Emacs Lisp
+@documentencoding UTF-8
@syncodeindex vr cp
@syncodeindex fn cp
@finalout
=== modified file 'doc/lispref/ChangeLog'
--- doc/lispref/ChangeLog 2014-01-05 01:33:33 +0000
+++ doc/lispref/ChangeLog 2014-01-05 22:59:15 +0000
@@ -1,5 +1,9 @@
2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
+ Specify .texi encoding (Bug#16292).
+ * back.texi, book-spine.texi, lay-flat.texi:
+ Add @documentencoding.
+
Document vconcat and the empty vector (Bug#16246).
* sequences.texi (Vector Functions):
Document behavior better when the result is empty.
=== modified file 'doc/lispref/back.texi'
--- doc/lispref/back.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/back.texi 2014-01-05 22:59:15 +0000
@@ -6,6 +6,7 @@
@c %**start of header
@setfilename back-cover
@settitle GNU Emacs Lisp Reference Manual
+@documentencoding UTF-8
@c %**end of header
.
@sp 7
=== modified file 'doc/lispref/book-spine.texi'
--- doc/lispref/book-spine.texi 2013-12-30 17:08:32 +0000
+++ doc/lispref/book-spine.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename book-spine
@settitle book-spine
+@documentencoding UTF-8
@c %**end of header
@include emacsver.texi
=== modified file 'doc/lispref/lay-flat.texi'
--- doc/lispref/lay-flat.texi 2014-01-01 07:43:34 +0000
+++ doc/lispref/lay-flat.texi 2014-01-05 22:59:15 +0000
@@ -7,6 +7,7 @@
@setfilename inner-covers.info
@settitle Inner Covers
@smallbook
+@documentencoding UTF-8
@comment %**end of header
@headings off
=== modified file 'doc/misc/ChangeLog'
--- doc/misc/ChangeLog 2014-01-03 23:14:16 +0000
+++ doc/misc/ChangeLog 2014-01-05 22:59:15 +0000
@@ -1,3 +1,20 @@
+2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ Specify .texi encoding (Bug#16292).
+ * ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
+ * cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
+ * ede.texi, ediff.texi, edt.texi, efaq.texi, eieio.texi:
+ * emacs-gnutls.texi, epa.texi, erc.texi, ert.texi:
+ * eshell.texi, eudc.texi, flymake.texi, forms.texi, gnus-coding.texi:
+ * gnus-faq.texi, htmlfontify.texi, idlwave.texi, ido.texi, info.texi:
+ * message.texi, mh-e.texi, newsticker.texi, nxml-mode.texi:
+ * octave-mode.texi, org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi:
+ * reftex.texi, remember.texi, sasl.texi, sc.texi, semantic.texi:
+ * ses.texi, sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
+ * todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
+ * widget.texi, wisent.texi, woman.texi:
+ Add @documentencoding.
+
2014-01-03 Aidan Gauland <aidalgol@amuri.net>
* eshell.texi (What Eshell is not): Clean up confusing clause.
=== modified file 'doc/misc/ada-mode.texi'
--- doc/misc/ada-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ada-mode.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ada-mode
@settitle Ada Mode
+@documentencoding UTF-8
@copying
Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/auth.texi'
--- doc/misc/auth.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/auth.texi 2014-01-05 22:59:15 +0000
@@ -6,6 +6,7 @@
@setfilename ../../info/auth
@settitle Emacs auth-source Library @value{VERSION}
+@documentencoding UTF-8
@copying
This file describes the Emacs auth-source library.
=== modified file 'doc/misc/autotype.texi'
--- doc/misc/autotype.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/autotype.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@c @node Autotypist, Picture, Abbrevs, Top
@c @chapter Features for Automatic Typing
@settitle Features for Automatic Typing
+@documentencoding UTF-8
@c @cindex text
@c @cindex selfinserting text
@c @cindex autotypist
=== modified file 'doc/misc/bovine.texi'
--- doc/misc/bovine.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/bovine.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@set TITLE Bovine parser development
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/calc.texi'
--- doc/misc/calc.texi 2014-01-03 02:53:29 +0000
+++ doc/misc/calc.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@setfilename ../../info/calc
@c [title]
@settitle GNU Emacs Calc Manual
+@documentencoding UTF-8
@setchapternewpage odd
@comment %**end of header (This is for running Texinfo on a region.)
=== modified file 'doc/misc/cc-mode.texi'
--- doc/misc/cc-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cc-mode.texi 2014-01-05 22:59:15 +0000
@@ -83,6 +83,7 @@
@setfilename ../../info/ccmode
@settitle CC Mode Manual
+@documentencoding UTF-8
@footnotestyle end
@c The following four macros generate the filenames and titles of the
=== modified file 'doc/misc/cl.texi'
--- doc/misc/cl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/cl.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/cl
@settitle Common Lisp Extensions
+@documentencoding UTF-8
@include emacsver.texi
@copying
=== modified file 'doc/misc/dbus.texi'
--- doc/misc/dbus.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/dbus.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@setfilename ../../info/dbus
@c %**start of header
@settitle Using of D-Bus
+@documentencoding UTF-8
@c @setchapternewpage odd
@c %**end of header
=== modified file 'doc/misc/dired-x.texi'
--- doc/misc/dired-x.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/dired-x.texi 2014-01-05 22:59:15 +0000
@@ -9,6 +9,7 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/dired-x
@settitle Dired Extra User's Manual
+@documentencoding UTF-8
@include emacsver.texi
=== modified file 'doc/misc/ebrowse.texi'
--- doc/misc/ebrowse.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ebrowse.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@comment %**start of header
@setfilename ../../info/ebrowse
@settitle A Class Browser for C++
+@documentencoding UTF-8
@setchapternewpage odd
@syncodeindex fn cp
@comment %**end of header
=== modified file 'doc/misc/ede.texi'
--- doc/misc/ede.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/ede.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo
@setfilename ../../info/ede
@settitle Emacs Development Environment
+@documentencoding UTF-8
@copying
This file describes EDE, the Emacs Development Environment.
=== modified file 'doc/misc/ediff.texi'
--- doc/misc/ediff.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/ediff.texi 2014-01-05 22:59:15 +0000
@@ -10,6 +10,7 @@
@setfilename ../../info/ediff
@settitle Ediff User's Manual
+@documentencoding UTF-8
@synindex vr cp
@synindex fn cp
@synindex pg cp
=== modified file 'doc/misc/edt.texi'
--- doc/misc/edt.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/edt.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo
@setfilename ../../info/edt
@settitle EDT Emulation for Emacs
+@documentencoding UTF-8
@copying
This file documents the EDT emulation package for Emacs.
=== modified file 'doc/misc/efaq.texi'
--- doc/misc/efaq.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/efaq.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/efaq
@settitle GNU Emacs FAQ
+@documentencoding UTF-8
@c %**end of header
@include emacsver.texi
=== modified file 'doc/misc/eieio.texi'
--- doc/misc/eieio.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/eieio.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@set TITLE Enhanced Implementation of Emacs Interpreted Objects
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/emacs-gnutls.texi'
--- doc/misc/emacs-gnutls.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/emacs-gnutls.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@setfilename ../../info/emacs-gnutls
@settitle Emacs GnuTLS Integration @value{VERSION}
+@documentencoding UTF-8
@copying
This file describes the Emacs GnuTLS integration.
=== modified file 'doc/misc/epa.texi'
--- doc/misc/epa.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/epa.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/epa
@settitle EasyPG Assistant User's Manual
+@documentencoding UTF-8
@c %**end of header
@set VERSION 1.0.0
=== modified file 'doc/misc/erc.texi'
--- doc/misc/erc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/erc.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@settitle ERC Manual
@syncodeindex fn cp
@include emacsver.texi
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/ert.texi'
--- doc/misc/ert.texi 2014-01-03 03:00:39 +0000
+++ doc/misc/ert.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/ert
@settitle Emacs Lisp Regression Testing
+@documentencoding UTF-8
@c %**end of header
@dircategory Emacs misc features
=== modified file 'doc/misc/eshell.texi'
--- doc/misc/eshell.texi 2014-01-05 02:56:08 +0000
+++ doc/misc/eshell.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@settitle Eshell: The Emacs Shell
@defindex cm
@synindex vr fn
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/eudc.texi'
--- doc/misc/eudc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/eudc.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@setfilename ../../info/eudc
@settitle Emacs Unified Directory Client (EUDC) Manual
@afourpaper
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/flymake.texi'
--- doc/misc/flymake.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/flymake.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@set UPDATED April 2004
@settitle GNU Flymake @value{VERSION}
@syncodeindex pg cp
+@documentencoding UTF-8
@comment %**end of header
@copying
=== modified file 'doc/misc/forms.texi'
--- doc/misc/forms.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/forms.texi 2014-01-05 22:59:15 +0000
@@ -14,6 +14,7 @@
@end iftex
@c @smallbook
@comment %**end of header (This is for running Texinfo on a region.)
+@documentencoding UTF-8
@copying
This file documents Forms mode, a form-editing major mode for GNU Emacs.
=== modified file 'doc/misc/gnus-coding.texi'
--- doc/misc/gnus-coding.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/gnus-coding.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@setfilename gnus-coding
@settitle Gnus Coding Style and Maintenance Guide
+@documentencoding UTF-8
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex pg cp
=== modified file 'doc/misc/gnus-faq.texi'
--- doc/misc/gnus-faq.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/gnus-faq.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@c
@c @setfilename gnus-faq.info
@c @settitle Frequently Asked Questions
+@c @documentencoding UTF-8
@c %**end of header
@c
=== modified file 'doc/misc/htmlfontify.texi'
--- doc/misc/htmlfontify.texi 2014-01-05 02:56:08 +0000
+++ doc/misc/htmlfontify.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@setfilename ../../info/htmlfontify
@settitle Htmlfontify User Manual
@exampleindent 2
+@documentencoding UTF-8
@comment %**end of header
@copying
=== modified file 'doc/misc/idlwave.texi'
--- doc/misc/idlwave.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/idlwave.texi 2014-01-05 22:59:15 +0000
@@ -12,6 +12,7 @@
@set DATE April, 2007
@set AUTHOR J.D. Smith & Carsten Dominik
@set MAINTAINER J.D. Smith
+@documentencoding UTF-8
@c %**end of header
@finalout
=== modified file 'doc/misc/ido.texi'
--- doc/misc/ido.texi 2014-01-01 23:13:59 +0000
+++ doc/misc/ido.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/ido
@settitle Interactive Do
+@documentencoding UTF-8
@include emacsver.texi
@copying
=== modified file 'doc/misc/info.texi'
--- doc/misc/info.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/info.texi 2014-01-05 22:59:15 +0000
@@ -8,6 +8,7 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
@comment %**end of header
@copying
=== modified file 'doc/misc/message.texi'
--- doc/misc/message.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/message.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@setfilename ../../info/message
@settitle Message Manual
+@documentencoding UTF-8
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/mh-e.texi'
--- doc/misc/mh-e.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/mh-e.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@c %**start of header
@setfilename ../../info/mh-e
@settitle The MH-E Manual
+@documentencoding UTF-8
@c %**end of header
@c Version of the software and manual.
=== modified file 'doc/misc/newsticker.texi'
--- doc/misc/newsticker.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/newsticker.texi 2014-01-05 22:59:15 +0000
@@ -7,6 +7,7 @@
@syncodeindex vr cp
@syncodeindex fn cp
@syncodeindex pg cp
+@documentencoding UTF-8
@comment %**end of header
@copying
=== modified file 'doc/misc/nxml-mode.texi'
--- doc/misc/nxml-mode.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/nxml-mode.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/nxml-mode
@settitle nXML Mode
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/octave-mode.texi'
--- doc/misc/octave-mode.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/octave-mode.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/octave-mode
@settitle Octave Mode
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/org.texi'
--- doc/misc/org.texi 2014-01-05 02:56:08 +0000
+++ doc/misc/org.texi 2014-01-05 22:59:15 +0000
@@ -15,6 +15,7 @@
@set MAINTAINER Carsten Dominik
@set MAINTAINEREMAIL @email{carsten at orgmode dot org}
@set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
+@documentencoding UTF-8
@c %**end of header
@finalout
=== modified file 'doc/misc/pcl-cvs.texi'
--- doc/misc/pcl-cvs.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pcl-cvs.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@setfilename ../../info/pcl-cvs
@settitle PCL-CVS---Emacs Front-End to CVS
@syncodeindex vr fn
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/pgg.texi'
--- doc/misc/pgg.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/pgg.texi 2014-01-05 22:59:15 +0000
@@ -7,6 +7,8 @@
@set VERSION 0.1
@settitle PGG @value{VERSION}
+@documentencoding UTF-8
+
@copying
This file describes PGG @value{VERSION}, an Emacs interface to various
PGP implementations.
=== modified file 'doc/misc/rcirc.texi'
--- doc/misc/rcirc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/rcirc.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/rcirc
@settitle rcirc Manual
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/reftex.texi'
--- doc/misc/reftex.texi 2014-01-03 03:15:01 +0000
+++ doc/misc/reftex.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename ../../info/reftex
@settitle RefTeX User Manual
+@documentencoding UTF-8
@synindex ky cp
@syncodeindex vr cp
@syncodeindex fn cp
=== modified file 'doc/misc/remember.texi'
--- doc/misc/remember.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/remember.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@setfilename ../../info/remember
@settitle Remember Manual
@syncodeindex fn cp
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/sasl.texi'
--- doc/misc/sasl.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sasl.texi 2014-01-05 22:59:15 +0000
@@ -7,6 +7,8 @@
@set VERSION 0.2
@settitle Emacs SASL Library @value{VERSION}
+@documentencoding UTF-8
+
@copying
This file describes the Emacs SASL library, version @value{VERSION}.
=== modified file 'doc/misc/sc.texi'
--- doc/misc/sc.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sc.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@comment %**start of header (This is for running Texinfo on a region.)
@setfilename ../../info/sc
@settitle Supercite User's Manual
+@documentencoding UTF-8
@iftex
@finalout
@end iftex
=== modified file 'doc/misc/semantic.texi'
--- doc/misc/semantic.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/semantic.texi 2014-01-05 22:59:15 +0000
@@ -3,6 +3,7 @@
@set TITLE Semantic Manual
@set AUTHOR Eric M. Ludlam, David Ponce, and Richard Y. Kim
@settitle @value{TITLE}
+@documentencoding UTF-8
@c *************************************************************************
@c @ Header
=== modified file 'doc/misc/ses.texi'
--- doc/misc/ses.texi 2014-01-03 14:18:24 +0000
+++ doc/misc/ses.texi 2014-01-05 22:59:15 +0000
@@ -6,6 +6,7 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/sieve.texi'
--- doc/misc/sieve.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/sieve.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@setfilename ../../info/sieve
@settitle Emacs Sieve Manual
+@documentencoding UTF-8
@synindex fn cp
@synindex vr cp
@synindex pg cp
=== modified file 'doc/misc/smtpmail.texi'
--- doc/misc/smtpmail.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/smtpmail.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/smtpmail
@settitle Emacs SMTP Library
+@documentencoding UTF-8
@syncodeindex vr fn
@copying
Copyright @copyright{} 2003--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/speedbar.texi'
--- doc/misc/speedbar.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/speedbar.texi 2014-01-05 22:59:15 +0000
@@ -1,6 +1,7 @@
\input texinfo @c -*-texinfo-*-
@setfilename ../../info/speedbar
@settitle Speedbar: File/Tag summarizing utility
+@documentencoding UTF-8
@syncodeindex fn cp
@copying
=== modified file 'doc/misc/srecode.texi'
--- doc/misc/srecode.texi 2014-01-03 03:13:58 +0000
+++ doc/misc/srecode.texi 2014-01-05 22:59:15 +0000
@@ -4,6 +4,7 @@
@set TITLE SRecoder Manual
@set AUTHOR Eric M. Ludlam
@settitle @value{TITLE}
+@documentencoding UTF-8
@c Merge all indexes into a single index for now.
@c We can always separate them later into two or more as needed.
=== modified file 'doc/misc/todo-mode.texi'
--- doc/misc/todo-mode.texi 2014-01-01 07:43:34 +0000
+++ doc/misc/todo-mode.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/tramp.texi'
--- doc/misc/tramp.texi 2014-01-05 02:56:08 +0000
+++ doc/misc/tramp.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,7 @@
@setfilename ../../info/tramp
@c %**start of header
@settitle TRAMP User Manual
+@documentencoding UTF-8
@c %**end of header
@c This is *so* much nicer :)
=== modified file 'doc/misc/url.texi'
--- doc/misc/url.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/url.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/url
@settitle URL Programmer's Manual
+@documentencoding UTF-8
+
@iftex
@c @finalout
@end iftex
=== modified file 'doc/misc/vip.texi'
--- doc/misc/vip.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/vip.texi 2014-01-05 22:59:15 +0000
@@ -2,6 +2,8 @@
@setfilename ../../info/vip
@settitle VIP
+@documentencoding UTF-8
+
@copying
Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/viper.texi'
--- doc/misc/viper.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/viper.texi 2014-01-05 22:59:15 +0000
@@ -6,6 +6,8 @@
@comment @setfilename viper.info
@setfilename ../../info/viper
+@documentencoding UTF-8
+
@copying
Copyright @copyright{} 1995--1997, 2001--2014 Free Software Foundation, Inc.
=== modified file 'doc/misc/widget.texi'
--- doc/misc/widget.texi 2014-01-03 03:07:20 +0000
+++ doc/misc/widget.texi 2014-01-05 22:59:15 +0000
@@ -5,6 +5,7 @@
@syncodeindex fn cp
@syncodeindex vr cp
@syncodeindex ky cp
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/wisent.texi'
--- doc/misc/wisent.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/wisent.texi 2014-01-05 22:59:15 +0000
@@ -20,6 +20,7 @@
@c @footnotestyle separate
@c @paragraphindent 2
@c @@smallbook
+@documentencoding UTF-8
@c %**end of header
@copying
=== modified file 'doc/misc/woman.texi'
--- doc/misc/woman.texi 2014-01-01 08:31:29 +0000
+++ doc/misc/woman.texi 2014-01-05 22:59:15 +0000
@@ -8,6 +8,7 @@
@c Look for @page and @need commands.
@setchapternewpage off
@paragraphindent 0
+@documentencoding UTF-8
@c %**end of header
@copying
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: ascii-info-marks.diff --]
[-- Type: text/x-patch; name="ascii-info-marks.diff", Size: 4357 bytes --]
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-05 00:55:29 +0000
+++ ChangeLog 2014-01-05 22:59:34 +0000
@@ -1,5 +1,13 @@
2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
+ Optionally install ASCII info marks (Bug#16292).
+ * build-aux/ascii-info-marks: New file.
+ * configure.ac: New option --with-ascii-info-marks,
+ which configures INSTALL_INFO_DATA.
+ * Makefile.in (INSTALL_INFO_DATA): New macro.
+ (install-info): Use it.
+ * INSTALL: Document --with-ascii-info-marks.
+
Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).
Problem and proposed patch reported by Ulrich Mueller;
this patch uses a somewhat-different approach.
=== modified file 'INSTALL'
--- INSTALL 2014-01-01 07:43:34 +0000
+++ INSTALL 2014-01-05 22:59:34 +0000
@@ -327,6 +327,11 @@
even on hosts where a narrower type would do. With this option, on a
typical 32-bit host, Emacs integers have 62 bits instead of 30.
+Use --with-ascii-info-marks to install Info files with ASCII
+punctuation marks, e.g., 'A-Z' rather than ‘A–Z’; this is the default
+if UTF-8 is not supported. Use --without-ascii-info-marks to install
+Info files as-is.
+
Use --enable-gcc-warnings to enable compile-time checks that warn
about possibly-questionable C code. This is intended for developers
and is useful with GNU-compatible compilers. On a recent GNU system
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-01 07:43:34 +0000
+++ Makefile.in 2014-01-05 22:59:34 +0000
@@ -255,6 +255,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
+INSTALL_INFO_DATA = @INSTALL_INFO_DATA@
# By default, we uphold the dignity of our programs.
INSTALL_STRIP =
MKDIR_P = @MKDIR_P@
@@ -663,7 +664,8 @@
test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
(cd "$${thisdir}"; \
- ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
+ ${INSTALL_INFO_DATA} ${srcdir}/info/$$f \
+ "$(DESTDIR)${infodir}/$$f"); \
[ -n "${GZIP_PROG}" ] || continue ; \
rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
=== modified file 'configure.ac'
--- configure.ac 2014-01-05 01:00:32 +0000
+++ configure.ac 2014-01-05 22:59:34 +0000
@@ -300,6 +300,17 @@
[don't compress some files (.el, .info, etc.) when installing. Equivalent to:
make GZIP_PROG= install])
+AC_ARG_WITH([ascii-info-marks],
+ [AS_HELP_STRING([--with-ascii-info-marks],
+ [install info files with 'A-Z', not ‘A–Z’])],
+ [],
+ [[case `(locale -a) 2>/dev/null` in
+ *.[Uu][Tt][Ff]-8* | *.[Uu][Tt][Ff]8*)
+ with_ascii_info_marks=no ;;
+ *)
+ with_ascii_info_marks=$with_features ;;
+ esac]])
+
AC_ARG_WITH([pkg-config-prog],dnl
[AS_HELP_STRING([--with-pkg-config-prog=FILENAME],
[file name of pkg-config for finding GTK and librsvg])])
@@ -973,6 +984,14 @@
AC_PATH_PROG(INSTALL_INFO, install-info, :,
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
+
+if test "$with_ascii_info_marks" = yes; then
+ INSTALL_INFO_DATA='build-aux/ascii-info-marks'
+else
+ INSTALL_INFO_DATA='$(INSTALL_DATA)'
+fi
+AC_SUBST([INSTALL_INFO_DATA])
+
dnl Don't use GZIP, which is used by gzip for additional parameters.
AC_PATH_PROG(GZIP_PROG, gzip)
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2014-01-05 20:17:13 +0000
+++ etc/ChangeLog 2014-01-05 22:59:34 +0000
@@ -1,3 +1,8 @@
+2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ Optionally install ASCII info marks (Bug#16292).
+ * NEWS: Document --with-ascii-info-marks.
+
2014-01-05 Tassilo Horn <tsdh@gnu.org>
* themes/tsdh-light-theme.el (tsdh-light): Define org-level-*
=== modified file 'etc/NEWS'
--- etc/NEWS 2014-01-05 06:10:52 +0000
+++ etc/NEWS 2014-01-05 22:59:34 +0000
@@ -38,6 +38,10 @@
and renamed to `--without-compress-install'. It now prevents compression
of _any_ files during installation.
+** The configure option `--with-ascii-info-marks' installs info files
+that use ASCII punctuation marks, e.g., 'A-Z' rather than ‘A–Z’. This
+is the default if UTF-8 is not supported.
+
** The configure option `--with-crt-dir' has been removed.
It is no longer needed, as the crt*.o files are no longer linked
specially.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-05 23:05 ` Paul Eggert
@ 2014-01-06 3:54 ` Eli Zaretskii
[not found] ` <<52CA3FB9.30509@cs.ucla.edu>
` (2 more replies)
0 siblings, 3 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-06 3:54 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sun, 05 Jan 2014 15:05:33 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
>
> [1:text/plain Hide]
>
> Eli Zaretskii wrote:
> > If we are going to use Texinfo 4 for generating the manuals in the
> > next release, the problem that bothered me will not happen in the Info
> > files that will be in the release tarball.
>
> Ah, OK, then we can separate the proposed patch into two parts.
> The first just adds @documentencoding lines, and can be installed
> now. The second deals with ASCIIfying the info files, a new feature
> that can wait until after the feature freeze is over. I'm attaching
> both patches.
I'm okay with the first one.
As for the second, I still think that (a) the ASCII version should be
the default, and (b) using --enable/disable-encoding on the makeinfo
command line is an easier way of achieving the same effect. But if
Stefan prefers this method, so be it.
Thanks.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-06 3:54 ` Eli Zaretskii
[not found] ` <<52CA3FB9.30509@cs.ucla.edu>
@ 2014-01-06 4:39 ` Stefan Monnier
2014-01-06 5:31 ` Paul Eggert
2 siblings, 0 replies; 104+ messages in thread
From: Stefan Monnier @ 2014-01-06 4:39 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Paul Eggert, grfz, 16292
> As for the second, I still think that (a) the ASCII version should be
> the default, and (b) using --enable/disable-encoding on the makeinfo
> command line is an easier way of achieving the same effect. But if
> Stefan prefers this method, so be it.
At this point, I prefer to let you guys decide,
Stefan
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-06 3:54 ` Eli Zaretskii
[not found] ` <<52CA3FB9.30509@cs.ucla.edu>
2014-01-06 4:39 ` Stefan Monnier
@ 2014-01-06 5:31 ` Paul Eggert
2014-01-06 16:15 ` Eli Zaretskii
2 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-06 5:31 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> I'm okay with the first one.
OK, I pushed it into the trunk as bzr 115884.
The second one should wait until after the feature freeze is over
so there's no rush in nailing down the details.
> As for the second, I still think that (a) the ASCII version should be
> the default, and (b) using --enable/disable-encoding on the makeinfo
> command line is an easier way of achieving the same effect.
Let's look at (b) first. I don't see how it would work,
since we can't assume that the installer has makeinfo,
which means the option cannot be made at install time
by using --enable-encoding or --disable-encoding.
Unless you want to ship two copies of each .info file
in the tarball, a full version and an ASCIIfied version?
That would work, but it's unnecessary
bloat of the tarball, since the ASCIIfied version can be
derived from the full version, and even aside from the bloat
the overall procedure is probably more complicated
than what we have already in the proposed patch.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-06 5:31 ` Paul Eggert
@ 2014-01-06 16:15 ` Eli Zaretskii
2014-01-07 1:15 ` Paul Eggert
[not found] ` <<52CB5517.4030502@cs.ucla.edu>
0 siblings, 2 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-06 16:15 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Sun, 05 Jan 2014 21:31:37 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> Eli Zaretskii wrote:
>
> > I'm okay with the first one.
>
> OK, I pushed it into the trunk as bzr 115884.
Thanks.
> The second one should wait until after the feature freeze is over
> so there's no rush in nailing down the details.
Right.
> > As for the second, I still think that (a) the ASCII version should be
> > the default, and (b) using --enable/disable-encoding on the makeinfo
> > command line is an easier way of achieving the same effect.
>
> Let's look at (b) first. I don't see how it would work,
> since we can't assume that the installer has makeinfo,
> which means the option cannot be made at install time
> by using --enable-encoding or --disable-encoding.
Is it a frequent situation that someone who does the configure and
"make" steps doesn't have makeinfo? I thought this to be rare. If
I'm wrong, then I guess those users who do want to generate the Info
files with a non-default style of punctuation will have to install
Texinfo or live with this minor problem. And if we use (a) as well,
then the distributed version will already be completely readable, if
not the most beautiful one.
> Unless you want to ship two copies of each .info file
> in the tarball, a full version and an ASCIIfied version?
No, of course not.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-06 16:15 ` Eli Zaretskii
@ 2014-01-07 1:15 ` Paul Eggert
2014-01-07 3:56 ` Eli Zaretskii
[not found] ` <<52CB5517.4030502@cs.ucla.edu>
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-01-07 1:15 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16292, grfz
Eli Zaretskii wrote:
> Is it a frequent situation that someone who does the configure and
> "make" steps doesn't have makeinfo? I thought this to be rare.
It's reasonably common. In Debian, for example, texinfo is not
one of the essential packages. On many non-GNU environments such
as AIX and HP-UX, 'makeinfo' is not available unless you build and
install it yourself. And for the GNU project, 'makeinfo' isn't
listed as one of the standard utilities that Makefiles can assume:
http://www.gnu.org/prep/standards/standards.html#Utilities-in-Makefiles
> If I'm wrong, then I guess those users who do want to generate the Info
> files with a non-default style of punctuation will have to install
> Texinfo or live with this minor problem.
If the the installer could obtain some compensating advantage by
being forced to install 'makeinfo' to get the style they prefer,
it might be worth the hassle. But there doesn't seem to be any
such advantage. So why not use 'sed'? It avoids the hassle entirely.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-01-07 1:15 ` Paul Eggert
@ 2014-01-07 3:56 ` Eli Zaretskii
0 siblings, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-01-07 3:56 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292, grfz
> Date: Mon, 06 Jan 2014 17:15:03 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: monnier@iro.umontreal.ca, 16292@debbugs.gnu.org, grfz@gmx.de
>
> So why not use 'sed'?
It just feels unclean.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
[not found] ` <<83lhyssawf.fsf@gnu.org>
[not found] ` <da0ad1dc-90f0-4c6d-9325-7783b2cd5bff@de>
@ 2014-05-02 18:11 ` Drew Adams
2014-05-02 18:22 ` Eli Zaretskii
2014-05-02 19:07 ` Paul Eggert
[not found] ` <<da0ad1dc-90f0-4c6d-9325-7783b2cd5bff@default>
2 siblings, 2 replies; 104+ messages in thread
From: Drew Adams @ 2014-05-02 18:11 UTC (permalink / raw)
To: Eli Zaretskii, Paul Eggert; +Cc: grfz, 16292
I don't see a change from `...' to '...' in this recent build:
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-04-29 on ODIEONE
Bzr revision: 117031 monnier@iro.umontreal.ca-20140429151607-qnkgbymwfaj5ut08
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
But I've had a report from an info+.el user that his 24.4.50.1
build breaks the Info+ highlighting of names because '...' is
used now instead of `...'. Dunno whether he has control over
the generation of Info files from Texinfo.
AFAIK, there is no way, from Emacs Lisp, to know whether an Info
file has been built to use '...' or `...'. Is that correct?
IIUC, at Info build time there is a setting, @documentencoding,
that determines this. In any case, Texinfo must somehow know
which pattern is being used for Info.
Request: Could we please have this information transmitted to
the resulting Info files somehow, so that it could be obtained
by Lisp code?
It would be much better, for instance, for the info+.el code
to use one or the other pattern for highlighting than it would
be to try to highlight both in the same file, just to catch the
appropriate one.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 18:11 ` Drew Adams
@ 2014-05-02 18:22 ` Eli Zaretskii
2014-05-02 19:07 ` Paul Eggert
1 sibling, 0 replies; 104+ messages in thread
From: Eli Zaretskii @ 2014-05-02 18:22 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Date: Fri, 2 May 2014 11:11:40 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 16292@debbugs.gnu.org, grfz@gmx.de
>
> I don't see a change from `...' to '...' in this recent build:
>
> In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
> of 2014-04-29 on ODIEONE
> Bzr revision: 117031 monnier@iro.umontreal.ca-20140429151607-qnkgbymwfaj5ut08
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
> `configure --prefix=/c/Devel/emacs/snapshot/trunk
> --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
> LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
> -Ic:/Devel/emacs/include''
>
> But I've had a report from an info+.el user that his 24.4.50.1
> build breaks the Info+ highlighting of names because '...' is
> used now instead of `...'. Dunno whether he has control over
> the generation of Info files from Texinfo.
This depends not only on the Texinfo sources of the docs, but also on
the version of makeinfo used by whoever produced the Info files as
part of the Emacs build. It is quite possible that the latter part is
different between your build and that other user's.
> AFAIK, there is no way, from Emacs Lisp, to know whether an Info
> file has been built to use '...' or `...'. Is that correct?
Why not? they are just characters.
> IIUC, at Info build time there is a setting, @documentencoding,
> that determines this.
No, these are ASCII characters, so @documentencoding has nothing to do
with it. But the version of makeinfo does: the latest versions
produce '...'.
> Request: Could we please have this information transmitted to
> the resulting Info files somehow, so that it could be obtained
> by Lisp code?
It is already there:
This is ../../info/emacs.info, produced by makeinfo version 4.13
from ./emacs.texi.
If the version is 5.x, then you should expect '...'.
Note that you could also have Unicode characters there. It's a mess.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 18:11 ` Drew Adams
2014-05-02 18:22 ` Eli Zaretskii
@ 2014-05-02 19:07 ` Paul Eggert
2014-05-02 19:19 ` Glenn Morris
2014-05-02 19:33 ` Drew Adams
1 sibling, 2 replies; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 19:07 UTC (permalink / raw)
To: Drew Adams, Eli Zaretskii; +Cc: grfz, 16292
On 05/02/2014 11:11 AM, Drew Adams wrote:
> I've had a report from an info+.el user that his 24.4.50.1
> build breaks the Info+ highlighting of names because '...' is
> used now instead of `...'.
Emacs should be built either with an old makeinfo, which should quote
`like this' with ASCII accent-grave and apostrophe, or with a new
makeinfo, which should quote ‘like this’ with Unicode directed
single-quotes. Makeinfo shouldn't quote 'like this' with ASCII
apostrophe only. Perhaps your info+.el user could investigate why
makeinfo is misbehaving for them, and if they figure that out it might
be nice for us to modify the Emacs distribution to stop the misbehavior.
This should fix the problem without info+.el having to worry about which
makeinfo version was used.
Also: in a standard Emacs tarball the builder shouldn't ever run
makeinfo, as the info files should all be prebuilt and up-to-date. Can
your info+.el user please also investigate why that didn't work for them?
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:07 ` Paul Eggert
@ 2014-05-02 19:19 ` Glenn Morris
2014-05-02 19:28 ` Paul Eggert
2014-05-02 19:33 ` Drew Adams
1 sibling, 1 reply; 104+ messages in thread
From: Glenn Morris @ 2014-05-02 19:19 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292
Paul Eggert wrote:
>> I've had a report from an info+.el user that his 24.4.50.1
^^^^^^^^
[...]
> Also: in a standard Emacs tarball the builder shouldn't ever run
> makeinfo, as the info files should all be prebuilt and up-to-date. Can
> your info+.el user please also investigate why that didn't work for
> them?
There are no 24.4.50 tarballs, so I see nothing to investigate there.
It was presumably a build from bzr.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
[not found] ` <<83eh0c11mt.fsf@gnu.org>
@ 2014-05-02 19:20 ` Drew Adams
2014-05-03 9:27 ` Juri Linkov
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-05-02 19:20 UTC (permalink / raw)
To: Eli Zaretskii, Drew Adams; +Cc: eggert, grfz, 16292
> > AFAIK, there is no way, from Emacs Lisp, to know whether an Info
> > file has been built to use '...' or `...'. Is that correct?
>
> Why not? they are just characters.
Huh? Yes, they are characters. And how would you determine
whether '...' or `...' quoting of names is in effect in a given
Info buffer?
You might be able to check whether, say, the Emacs manual has
'...' or `...' by moving to a particular node where you expect
a particular symbol to be quoted (and that you expect to remain
present across Emacs versions), and move to that symbol and test
the char before it... But that would be an ugly and inefficient
workaround, and different manuals might be built using different
makeinfo versions etc.
I'm asking for a simple check. Maybe a file-local variable or
something.
> > IIUC, at Info build time there is a setting, @documentencoding,
> > that determines this.
>
> No, these are ASCII characters, so @documentencoding has nothing
> to do with it. But the version of makeinfo does: the latest
> versions produce '...'.
I thought, from this thread, that builds could control whether
'...' or `...' gets used. Is that not the case? And I
(mistakenly) thought that @documentencoding was involved with that.
If '...' is used systematically from now on, starting with some
version of makeinfo, then that is indeed bad news.
'...' is absolutely inferior to `...', IMHO.
> > Request: Could we please have this information transmitted to
> > the resulting Info files somehow, so that it could be obtained
> > by Lisp code?
>
> It is already there:
> This is ../../info/emacs.info, produced by makeinfo version 4.13
> from ./emacs.texi.
> If the version is 5.x, then you should expect '...'.
Yes, at the beginning of the file, outside of what is visible
in the manual, i.e., in Info mode.
I want something simple, evaluable from Info mode. I don't want
to have to widen the buffer or change the mode or jump through
any other hoops. A function or a variable whose value lets
Lisp code know whether `...' or '...' quoting is in effect.
> Note that you could also have Unicode characters there.
Where is "there"? How does that relate to this quoting?
Are you perhaps referring to a possible use of curly quotes
for such quoting? That would indeed be bad (from my point of
view).
> It's a mess.
Perhaps we agree, for once, though we might not agree about
what the mess is; dunno.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:19 ` Glenn Morris
@ 2014-05-02 19:28 ` Paul Eggert
2014-05-02 21:10 ` Glenn Morris
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 19:28 UTC (permalink / raw)
To: Glenn Morris; +Cc: 16292
On 05/02/2014 12:19 PM, Glenn Morris wrote:
> There are no 24.4.50 tarballs, so I see nothing to investigate there.
> It was presumably a build from bzr.
Ah, thanks, then presumably the makeinfo on the user's machine is part
of the problem, and it'd be helpful to know exactly which version it was.
I expect it'll be better to squash the bug at the source than to send
info+.el down the rabbit hole of trying to parse quoting 'like this'.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:07 ` Paul Eggert
2014-05-02 19:19 ` Glenn Morris
@ 2014-05-02 19:33 ` Drew Adams
2014-05-02 20:36 ` Paul Eggert
2014-05-03 6:02 ` Eli Zaretskii
1 sibling, 2 replies; 104+ messages in thread
From: Drew Adams @ 2014-05-02 19:33 UTC (permalink / raw)
To: Paul Eggert, Eli Zaretskii; +Cc: grfz, 16292
> > I've had a report from an info+.el user that his 24.4.50.1
> > build breaks the Info+ highlighting of names because '...'
> > is used now instead of `...'.
>
> Emacs should be built either with an old makeinfo, which should
> quote `like this' with ASCII accent-grave and apostrophe, or
> with a new makeinfo, which should quote 'like this' with Unicode
> directed single-quotes. Makeinfo shouldn't quote 'like this'
> with ASCII apostrophe only.
I thought Eli was saying that it does just that: '...'.
What am I missing between what you two are saying about this?
> Perhaps your info+.el user could investigate why makeinfo is
> misbehaving for them,
Can you suggest how? What should he look for?
> and if they figure that out it might be nice for us to modify
> the Emacs distribution to stop the misbehavior.
I think this user might be willing to check, if we could tell
him how to do so.
> This should fix the problem without info+.el having to worry
> about which makeinfo version was used.
Great, but I would still want Info+ to be able to easily test,
using Lisp, which is being used in the current Info buffer:
`...' or '...'.
As I mentioned, it is a lot better to try to fontify just the
proper pattern, rather than to try to fontify both possibilities
at the same time, just in case.
Such highlighting is never failsafe anyway (it can be thrown off
by a solitary quote symbol etc.), and if a regexp tries to match
both patterns at the same time then that just increases the
likelihood of doing the wrong thing.
> Also: in a standard Emacs tarball the builder shouldn't ever run
> makeinfo, as the info files should all be prebuilt and up-to-date.
> Can your info+.el user please also investigate why that didn't
> work for them?
So you are saying that if he got Emacs from a "standard tarball"
then '...' is the fault of the builder of that standard tarball.
Which would be whom?
I can try to find out where he got the Info files. I don't
think he built them himself, but I have asked him and hope to
hear back.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:33 ` Drew Adams
@ 2014-05-02 20:36 ` Paul Eggert
2014-05-02 20:53 ` Drew Adams
2014-05-03 6:02 ` Eli Zaretskii
1 sibling, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 20:36 UTC (permalink / raw)
To: Drew Adams, Eli Zaretskii; +Cc: grfz, 16292
[-- Attachment #1: Type: text/plain, Size: 2002 bytes --]
On 05/02/2014 12:33 PM, Drew Adams wrote:
> I thought Eli was saying that it does just that: '...'.
Your user is reporting that, so that's what Eli is diagnosing. The point
is that makeinfo shouldn't be doing that.
>> Perhaps your info+.el user could investigate why makeinfo is
>> misbehaving for them,
> Can you suggest how?
Run 'makeinfo' on the attached file t.texi and look at the quoting in
the output file t.info. It should use ASCII accent-grave and apostrophe
with old texinfo, and Unicode curly single quotes with new texinfo.
Similarly, the double quotes should use ASCII undirected double-quote
(both times) with old texinfo, and Unicode curly double quotes with new
texinfo.
> I would still want Info+ to be able to easily test, using Lisp, which
> is being used in the current Info buffer: `...' or '...'.
Info files should never use the latter in Emacs 24.4, so this shouldn't
be a problem.
Down the road there may be a problem, as we really need to accommodate
new Texinfo. It has been suggested that we change the Emacs build
procedure to transliterate the output of new Texinfo so that by default
it quotes 'like this' instead of ‘like this’. I think this would be a
mistake, and your recent bug report gives another argument against it.
For your planning purposes, here is a list of non-ASCII characters that
are generated by new Texinfo when applied to the Emacs documentation as
of January or so. You might want to check that info+.el handles these
characters, as some users will run into them either because they built
the manuals themselves with new Texinfo, or because they're reading
manuals generated by other GNU projects. I think Emacs is the only
holdout that still insists on old Texinfo.
' ' (i.e., NO-BREAK SPACE, U+00A0)
'真' (i.e., Han character 'real, actual, true, genuine', U+771F)
¤ © ¬ » À Å ß à á ä å ç è é ê ì í ï ò ó ö ø ü ć č ł ń ő Š š – — ‘ ’ “ ”
• … → ↦ ⇒ − ≡ ⊣ ★
[-- Attachment #2: t.texi --]
[-- Type: text/x-texinfo, Size: 103 bytes --]
\input texinfo
@documentencoding UTF-8
@settitle Test
@node Top
`single quoted' ``double-quoted''
@bye
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 20:36 ` Paul Eggert
@ 2014-05-02 20:53 ` Drew Adams
2014-05-02 21:14 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-05-02 20:53 UTC (permalink / raw)
To: Paul Eggert, Eli Zaretskii; +Cc: grfz, 16292
> >> Perhaps your info+.el user could investigate why makeinfo is
> >> misbehaving for them,
> > Can you suggest how?
>
> Run 'makeinfo' on the attached file t.texi and look at the quoting in
> the output file t.info. It should use ASCII accent-grave and apostrophe
> with old texinfo, and Unicode curly single quotes with new texinfo.
> Similarly, the double quotes should use ASCII undirected double-quote
> (both times) with old texinfo, and Unicode curly double quotes with new
> texinfo.
OK, I just passed that information along to him.
FWIW, I have received this info from him:
I built from source with makinfo 5.2. However, makeinfo 5.2 works
fine for Emacs pretest (emacs 24.3.90), but not for Emacs trunk
(24.4.50): bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
Here are the steps to build:
- ./configure --with-x-toolkit=gtk
- make
- sudo make install
What does old vs new texinfo refer to? Did you perhaps mean old vs
new makeinfo? If not, how does he tell whether he has "old" or "new"
Texinfo?
> > I would still want Info+ to be able to easily test, using Lisp, which
> > is being used in the current Info buffer: `...' or '...'.
>
> Info files should never use the latter in Emacs 24.4, so this shouldn't
> be a problem.
>
> Down the road there may be a problem, as we really need to accommodate
> new Texinfo. It has been suggested that we change the Emacs build
> procedure to transliterate the output of new Texinfo so that by default
> it quotes 'like this' instead of ‘like this’. I think this would be a
> mistake, and your recent bug report gives another argument against it.
Is the problem just for `...' vs '...' or ‘...’? What about Lisp (and
other) code, where we use ", ', and `, and none of those should be
changed to a curly version of the same? A Lisp string, for instance,
must be enclosed in straight double-quote chars, the same char at each
end.
It would be madness if such chars were being automatically "improved"
everywhere willy nilly to become curly versions.
> For your planning purposes, here is a list of non-ASCII characters that
> are generated by new Texinfo when applied to the Emacs documentation as
> of January or so. You might want to check that info+.el handles these
> characters, as some users will run into them either because they built
> the manuals themselves with new Texinfo, or because they're reading
> manuals generated by other GNU projects. I think Emacs is the only
> holdout that still insists on old Texinfo.
>
> ' ' (i.e., NO-BREAK SPACE, U+00A0)
> '真' (i.e., Han character 'real, actual, true, genuine', U+771F)
>
> ¤ © ¬ » À Å ß à á ä å ç è é ê ì í ï ò ó ö ø ü ć č ł ń ő Š š – — ‘ ’ “ ”
> • … → ↦ ⇒ − ≡ ⊣ ★
Not sure why you let me know this (but I'm glad to have it). A priori,
I have no problem with any such chars in an Info buffer. Any problems
that I would have would I think come from substituting chars that
currently have particular meaning to Info (or to Lisp etc. - see above).
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:28 ` Paul Eggert
@ 2014-05-02 21:10 ` Glenn Morris
2014-05-02 21:25 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Glenn Morris @ 2014-05-02 21:10 UTC (permalink / raw)
To: Paul Eggert; +Cc: 16292
PS also note that vhdl-mode.texi does not contain @documentencoding.
I think it's a bit crap if we are supposed to remember to add this to
all new texi files, even if they have no real need for it.
(Presumably the fabulous info+.el is supposed to handle other info files
besides just those from Emacs, so it needs to handle this anyway.)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 20:53 ` Drew Adams
@ 2014-05-02 21:14 ` Paul Eggert
2014-05-02 21:28 ` Drew Adams
0 siblings, 1 reply; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 21:14 UTC (permalink / raw)
To: Drew Adams, Eli Zaretskii; +Cc: grfz, 16292
On 05/02/2014 01:53 PM, Drew Adams wrote:
> FWIW, I have received this info from him: I built from source with
> makinfo 5.2. However, makeinfo 5.2 works fine for Emacs pretest (emacs
> 24.3.90), but not for Emacs trunk (24.4.50): bzr branch
> bzr://bzr.savannah.gnu.org/emacs/trunk Here are the steps to build: -
> ./configure --with-x-toolkit=gtk - make - sudo make install
Works for me, with makeinfo 5.2. I see curly quotes in the info files
when I configure and build and install with that recipe. If it's
failing for him we need to know what the failure is and how to reproduce it.
> What does old vs new texinfo refer to? Did you perhaps mean old vs new
> makeinfo? If not, how does he tell whether he has "old" or "new" Texinfo?
'makeinfo --version'. The makeinfo command is part of the texinfo package.
> Is the problem just for `...' vs '...' or ‘...’?
Not sure what you mean by "the problem", but other characters are
affected, yes.
> What about Lisp (and other) code, where we use ", ', and `, and none
> of those should be changed to a curly version of the same?
Shouldn't be a problem, as those characters should not be changed.
Makeinfo can determine this from the markup in the .texi file.
> ' ' (i.e., NO-BREAK SPACE, U+00A0) '真' (i.e., Han character 'real,
> actual, true, genuine', U+771F) ¤ © ¬ » À Å ß à á ä å ç è é ê ì í ï ò
> ó ö ø ü ć č ł ń ő Š š – — ‘ ’ “ ” • … → ↦ ⇒ − ≡ ⊣ ★
> Not sure why you let me know this (but I'm glad to have it). A priori,
> I have no problem with any such chars in an Info buffer. Any problems
> that I would have would I think come from substituting chars that
> currently have particular meaning to Info (or to Lisp etc. - see above).
Some of those characters do have a particular meaning. For example, •
is used for bulleted lists instead of *, so if info+.el is keying only
off "*" (for old texinfo) it'll need to change to support new texinfo.
Other characters are used for output displays.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 21:10 ` Glenn Morris
@ 2014-05-02 21:25 ` Paul Eggert
0 siblings, 0 replies; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 21:25 UTC (permalink / raw)
To: Glenn Morris; +Cc: 16292
On 05/02/2014 02:10 PM, Glenn Morris wrote:
> PS also note that vhdl-mode.texi does not contain @documentencoding.
> I think it's a bit crap if we are supposed to remember to add this to
> all new texi files, even if they have no real need for it.
It's just the top-level .texi files, but yes it's annoying. I think we
have a bug report in for that, for what it's worth.
I fixed the vhdl-mode.texi problem in Emacs trunk bzr 117045 and checked
that it was the only .texi file in the trunk with that problem.
> (Presumably the fabulous info+.el is supposed to handle other info files
> besides just those from Emacs, so it needs to handle this anyway.)
Yup.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 21:14 ` Paul Eggert
@ 2014-05-02 21:28 ` Drew Adams
2014-05-02 21:47 ` Paul Eggert
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-05-02 21:28 UTC (permalink / raw)
To: Paul Eggert, Eli Zaretskii; +Cc: grfz, 16292
> > > Down the road there may be a problem...
> > Is the problem just for `...' vs '...' or ‘...’?
>
> Not sure what you mean by "the problem", but other characters are
> affected, yes.
You're the one who said there may be a problem in the future... ;-)
For me, the problem is that what used to be represented as `...' could
be represented as something else - IIUC it could be `...', '...' or
‘...’.
> > What about Lisp (and other) code, where we use ", ', and `, and none
> > of those should be changed to a curly version of the same?
>
> Shouldn't be a problem, as those characters should not be changed.
> Makeinfo can determine this from the markup in the .texi file.
Good.
> > ' ' (i.e., NO-BREAK SPACE, U+00A0) '真' (i.e., Han character 'real,
> > actual, true, genuine', U+771F) ¤ © ¬ » À Å ß à á ä å ç è é ê ì í ï ò
> > ó ö ø ü ć č ł ń ő Š š – — ‘ ’ “ ” • … → ↦ ⇒ − ≡ ⊣ ★
> >
> > Not sure why you let me know this (but I'm glad to have it). A priori,
> > I have no problem with any such chars in an Info buffer. Any problems
> > that I would have would I think come from substituting chars that
> > currently have particular meaning to Info (or to Lisp etc. - see above).
>
> Some of those characters do have a particular meaning. For example, •
> is used for bulleted lists instead of *, so if info+.el is keying only
> off "*" (for old texinfo) it'll need to change to support new texinfo.
> Other characters are used for output displays.
I see. No, Info+ does nothing special with bullets. Well, it does the
same kind of thing that info.el does wrt bulleted menu items, e.g.:
(re-search-forward (concat "^\\* +" (regexp-quote nodename) "::") end t)
If info.el has to adjust for that then info+.el will do so similarly.
If not, not.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 21:28 ` Drew Adams
@ 2014-05-02 21:47 ` Paul Eggert
0 siblings, 0 replies; 104+ messages in thread
From: Paul Eggert @ 2014-05-02 21:47 UTC (permalink / raw)
To: Drew Adams, Eli Zaretskii; +Cc: grfz, 16292
On 05/02/2014 02:28 PM, Drew Adams wrote:
> I see. No, Info+ does nothing special with bullets. Well, it does the
> same kind of thing that info.el does wrt bulleted menu items
That shouldn't be a problem, since new Texinfo still uses "*" for
bulleted menu items. It's only things like "@itemize @bullet" that are
different.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2013-12-29 22:08 Gregor Zattler
2013-12-30 1:14 ` Glenn Morris
2013-12-30 3:23 ` Paul Eggert
@ 2014-05-03 0:55 ` Glenn Morris
2 siblings, 0 replies; 104+ messages in thread
From: Glenn Morris @ 2014-05-03 0:55 UTC (permalink / raw)
To: 16292-done
Version: 24.4
Gregor Zattler wrote:
> or the *.texi files should have @documentencoding directives which
> produce single curly quotes.
They now do so, so the reported issue is fixed.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:33 ` Drew Adams
2014-05-02 20:36 ` Paul Eggert
@ 2014-05-03 6:02 ` Eli Zaretskii
2014-05-03 6:56 ` Paul Eggert
1 sibling, 1 reply; 104+ messages in thread
From: Eli Zaretskii @ 2014-05-03 6:02 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> Date: Fri, 2 May 2014 12:33:33 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 16292@debbugs.gnu.org, grfz@gmx.de
>
> > > I've had a report from an info+.el user that his 24.4.50.1
> > > build breaks the Info+ highlighting of names because '...'
> > > is used now instead of `...'.
> >
> > Emacs should be built either with an old makeinfo, which should
> > quote `like this' with ASCII accent-grave and apostrophe, or
> > with a new makeinfo, which should quote 'like this' with Unicode
> > directed single-quotes. Makeinfo shouldn't quote 'like this'
> > with ASCII apostrophe only.
>
> I thought Eli was saying that it does just that: '...'.
> What am I missing between what you two are saying about this?
@documentencoding, I think. It determines whether makeinfo 5.x will
use '...' or ‘...’.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-03 6:02 ` Eli Zaretskii
@ 2014-05-03 6:56 ` Paul Eggert
0 siblings, 0 replies; 104+ messages in thread
From: Paul Eggert @ 2014-05-03 6:56 UTC (permalink / raw)
To: Eli Zaretskii, Drew Adams; +Cc: grfz, 16292
Eli Zaretskii wrote:
> @documentencoding, I think. It determines whether makeinfo 5.x will
> use '...' or ‘...’.
Yes, that might explain things. If a toplevel .texi file does not
contain @documentencoding, makeinfo 5 will quote 'like this'. Emacs
doesn't do this, though.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-02 19:20 ` Drew Adams
@ 2014-05-03 9:27 ` Juri Linkov
2014-05-03 13:50 ` Drew Adams
0 siblings, 1 reply; 104+ messages in thread
From: Juri Linkov @ 2014-05-03 9:27 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
> I want something simple, evaluable from Info mode.
(save-excursion
(save-restriction
(widen)
(goto-char (point-min))
(if (and (re-search-forward
"makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
(line-beginning-position 4) t)
(version< (match-string 1) "5.0"))
'backquote
(if (string-match-p "utf-8" (symbol-name buffer-file-coding-system))
'curly-quote
'quote))))
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-03 9:27 ` Juri Linkov
@ 2014-05-03 13:50 ` Drew Adams
2014-05-03 15:51 ` Drew Adams
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-05-03 13:50 UTC (permalink / raw)
To: Juri Linkov; +Cc: eggert, grfz, 16292
> > I want something simple, evaluable from Info mode. I don't
> > want to have to widen the buffer or change the mode or jump
> > through any other hoops. A function or a variable whose value
> > lets Lisp code know whether `...' or '...' quoting is in effect.
>
> (save-excursion
> (save-restriction
> (widen)
> (goto-char (point-min))
> (if (and (re-search-forward
> "makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
> (line-beginning-position 4) t)
> (version< (match-string 1) "5.0"))
> 'backquote
> (if (string-match-p "utf-8"
> (symbol-name buffer-file-coding-system))
> 'curly-quote
> 'quote))))
Thanks. I guess that's as good as it's going to get. I was hoping
for a file/buffer local variable or something. This is the kind of
hoop-jumping I was talking about, but I do appreciate your having
coded it up.
This would need to be consulted each time an Info node is fontified.
Yes, the search can be done instead just whenever the Info file is
changed, and then saved for consultation upon node fontifying for
the same file. (Still, I would hope for something simpler.)
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-03 13:50 ` Drew Adams
@ 2014-05-03 15:51 ` Drew Adams
2014-05-07 20:21 ` Juri Linkov
0 siblings, 1 reply; 104+ messages in thread
From: Drew Adams @ 2014-05-03 15:51 UTC (permalink / raw)
To: Juri Linkov; +Cc: eggert, grfz, 16292
> Thanks. I guess that's as good as it's going to get. I was hoping
> for a file/buffer local variable or something. This is the kind of
> hoop-jumping I was talking about, but I do appreciate your having
> coded it up.
>
> This would need to be consulted each time an Info node is fontified.
> Yes, the search can be done instead just whenever the Info file is
> changed, and then saved for consultation upon node fontifying for
> the same file. (Still, I would hope for something simpler.)
I still think that such a local variable would be useful for Emacs,
but FYI:
I updated info+.el without regard to checking whether Info uses
curly or straight quote-wrapping for this. It's not so clean as
searching only for the format that is actually used, but it seems
to be fine to just search for both. Dumb, but it works OK.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-03 15:51 ` Drew Adams
@ 2014-05-07 20:21 ` Juri Linkov
2014-05-07 20:41 ` Drew Adams
0 siblings, 1 reply; 104+ messages in thread
From: Juri Linkov @ 2014-05-07 20:21 UTC (permalink / raw)
To: Drew Adams; +Cc: eggert, grfz, 16292
>> Thanks. I guess that's as good as it's going to get. I was hoping
>> for a file/buffer local variable or something. This is the kind of
>> hoop-jumping I was talking about, but I do appreciate your having
>> coded it up.
>>
>> This would need to be consulted each time an Info node is fontified.
>> Yes, the search can be done instead just whenever the Info file is
>> changed, and then saved for consultation upon node fontifying for
>> the same file. (Still, I would hope for something simpler.)
>
> I still think that such a local variable would be useful for Emacs,
What would be useful is a variable to hold the makeinfo version
extracted from the visited Info manual. Such variable could be used
to simplify feature checks like `Info-file-supports-index-cookies'.
^ permalink raw reply [flat|nested] 104+ messages in thread
* bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
2014-05-07 20:21 ` Juri Linkov
@ 2014-05-07 20:41 ` Drew Adams
0 siblings, 0 replies; 104+ messages in thread
From: Drew Adams @ 2014-05-07 20:41 UTC (permalink / raw)
To: Juri Linkov; +Cc: eggert, grfz, 16292
> >> Thanks. I guess that's as good as it's going to get. I was hoping
> >> for a file/buffer local variable or something. This is the kind of
> >> hoop-jumping I was talking about, but I do appreciate your having
> >> coded it up.
> >>
> >> This would need to be consulted each time an Info node is fontified.
> >> Yes, the search can be done instead just whenever the Info file is
> >> changed, and then saved for consultation upon node fontifying for
> >> the same file. (Still, I would hope for something simpler.)
> >
> > I still think that such a local variable would be useful for Emacs,
>
> What would be useful is a variable to hold the makeinfo version
> extracted from the visited Info manual. Such variable could be used
> to simplify feature checks like `Info-file-supports-index-cookies'.
That's what I had in mind - but I wasn't aware of that additional
use case.
^ permalink raw reply [flat|nested] 104+ messages in thread
end of thread, other threads:[~2014-05-07 20:41 UTC | newest]
Thread overview: 104+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <<20131229220810.GF7972@boo.workgroup>
[not found] ` <<52C0E734.4090403@cs.ucla.edu>
[not found] ` <<83sita1cbw.fsf@gnu.org>
[not found] ` <<52C1C456.2080004@cs.ucla.edu>
[not found] ` <<83fvpa16kh.fsf@gnu.org>
[not found] ` <<52C25D07.80808@cs.ucla.edu>
[not found] ` <<8338l91l2t.fsf@gnu.org>
[not found] ` <<52C4C95C.2010905@cs.ucla.edu>
[not found] ` <<837gajyrq1.fsf@gnu.org>
[not found] ` <<52C4F008.5060003@cs.ucla.edu>
[not found] ` <<83zjnextyg.fsf@gnu.org>
[not found] ` <<52C5BDD1.2050009@cs.ucla.edu>
[not found] ` <<83ppoaxfu6.fsf@gnu.org>
[not found] ` <<52C607DA.3090009@cs.ucla.edu>
[not found] ` <<83fvp5xzk0.fsf@gnu.org>
[not found] ` <<52C6F2C5.10505@cs.ucla.edu>
[not found] ` <<83mwjcx1i9.fsf@gnu.org>
[not found] ` <<jwveh4ospsd.fsf-monnier+emacsbugs@gnu.org>
[not found] ` <<52C750C4.6040006@cs.ucla.edu>
[not found] ` <<b62a40e1-c1d8-4e30-a04c-f7d311a915b3@default>
[not found] ` <<838uuww6j7.fsf@gnu.org>
2014-01-04 15:21 ` bug#16292: 24.3.50; info docs now contain single straight quotes instead of `' Drew Adams
[not found] ` <<"<8338l4w5pj.fsf"@gnu.org>
[not found] ` <<7b8ccac4-1887-406c-bed8-6b58a761897a@default>
[not found] ` <<83iotzv5q0.fsf@gnu.org>
2014-01-04 21:07 ` Drew Adams
2014-01-04 23:05 ` Stefan Monnier
2014-01-04 23:45 ` Paul Eggert
2014-01-05 6:13 ` Drew Adams
2014-01-05 3:41 ` Eli Zaretskii
2013-12-29 22:08 Gregor Zattler
2013-12-30 1:14 ` Glenn Morris
2013-12-30 3:07 ` Drew Adams
2013-12-30 3:26 ` Glenn Morris
2013-12-30 3:23 ` Paul Eggert
2013-12-30 4:10 ` Drew Adams
2013-12-30 17:24 ` Eli Zaretskii
2013-12-30 17:33 ` Drew Adams
2013-12-30 18:03 ` Eli Zaretskii
2013-12-30 19:07 ` Paul Eggert
2013-12-30 19:29 ` Eli Zaretskii
2013-12-30 19:46 ` Andreas Schwab
2013-12-30 20:08 ` Eli Zaretskii
2013-12-30 20:35 ` Andreas Schwab
2013-12-31 8:03 ` Eli Zaretskii
2013-12-31 5:51 ` Paul Eggert
2013-12-31 5:58 ` Paul Eggert
2013-12-31 8:27 ` Eli Zaretskii
2014-01-02 2:05 ` Paul Eggert
2014-01-02 3:42 ` Eli Zaretskii
2014-01-02 4:50 ` Paul Eggert
2014-01-02 15:51 ` Eli Zaretskii
2014-01-02 19:28 ` Paul Eggert
2014-01-02 20:56 ` Eli Zaretskii
2014-01-03 0:44 ` Paul Eggert
2014-01-03 8:03 ` Eli Zaretskii
2014-01-03 17:26 ` Paul Eggert
2014-01-03 20:18 ` Eli Zaretskii
2014-01-03 20:48 ` Paul Eggert
2014-01-03 21:12 ` Eli Zaretskii
2014-01-03 21:52 ` Stefan Monnier
2014-01-04 0:07 ` Paul Eggert
2014-01-04 0:40 ` Drew Adams
2014-01-04 0:49 ` Paul Eggert
2014-01-04 7:27 ` Eli Zaretskii
2014-01-04 5:18 ` Stefan Monnier
2014-01-04 7:45 ` Eli Zaretskii
[not found] ` <<jwvtxdjlcdq.fsf-monnier+emacsbugs@gnu.org>
2014-01-04 18:01 ` Paul Eggert
2014-01-04 20:11 ` Eli Zaretskii
[not found] ` <<83mwjbv75f.fsf@gnu.org>
2014-01-04 20:24 ` Drew Adams
2014-01-04 20:42 ` Eli Zaretskii
2014-01-04 20:30 ` Stefan Monnier
2014-01-04 20:45 ` Eli Zaretskii
[not found] ` <<jwv38l3lagj.fsf-monnier+emacsbugs@gnu.org>
2014-01-04 20:53 ` Paul Eggert
2014-01-04 21:08 ` Eli Zaretskii
2014-01-04 23:29 ` Paul Eggert
2014-01-05 3:47 ` Eli Zaretskii
2014-01-05 5:23 ` Paul Eggert
2014-01-05 16:30 ` Eli Zaretskii
2014-01-04 21:11 ` Stefan Monnier
2014-01-05 3:43 ` Eli Zaretskii
[not found] ` <<jwvsit3owo1.fsf-monnier+emacsbugs@gnu.org>
2014-01-05 4:55 ` Stefan Monnier
2014-01-05 16:19 ` Eli Zaretskii
[not found] ` <<52C9BA68.7050703@cs.ucla.edu>
2014-01-05 20:02 ` Paul Eggert
2014-01-05 20:06 ` Eli Zaretskii
[not found] ` <<52C9BCBF.7050904@cs.ucla.edu>
2014-01-05 20:12 ` Paul Eggert
2014-01-05 20:19 ` Eli Zaretskii
[not found] ` <<52C9E53D.8070106@cs.ucla.edu>
2014-01-05 23:05 ` Paul Eggert
2014-01-06 3:54 ` Eli Zaretskii
[not found] ` <<52CA3FB9.30509@cs.ucla.edu>
2014-01-06 4:39 ` Stefan Monnier
2014-01-06 5:31 ` Paul Eggert
2014-01-06 16:15 ` Eli Zaretskii
2014-01-07 1:15 ` Paul Eggert
2014-01-07 3:56 ` Eli Zaretskii
[not found] ` <<52CB5517.4030502@cs.ucla.edu>
[not found] ` <<83lhyssawf.fsf@gnu.org>
[not found] ` <da0ad1dc-90f0-4c6d-9325-7783b2cd5bff@de>
2014-05-02 18:11 ` Drew Adams
2014-05-02 18:22 ` Eli Zaretskii
2014-05-02 19:07 ` Paul Eggert
2014-05-02 19:19 ` Glenn Morris
2014-05-02 19:28 ` Paul Eggert
2014-05-02 21:10 ` Glenn Morris
2014-05-02 21:25 ` Paul Eggert
2014-05-02 19:33 ` Drew Adams
2014-05-02 20:36 ` Paul Eggert
2014-05-02 20:53 ` Drew Adams
2014-05-02 21:14 ` Paul Eggert
2014-05-02 21:28 ` Drew Adams
2014-05-02 21:47 ` Paul Eggert
2014-05-03 6:02 ` Eli Zaretskii
2014-05-03 6:56 ` Paul Eggert
[not found] ` <<da0ad1dc-90f0-4c6d-9325-7783b2cd5bff@default>
[not found] ` <<83eh0c11mt.fsf@gnu.org>
2014-05-02 19:20 ` Drew Adams
2014-05-03 9:27 ` Juri Linkov
2014-05-03 13:50 ` Drew Adams
2014-05-03 15:51 ` Drew Adams
2014-05-07 20:21 ` Juri Linkov
2014-05-07 20:41 ` Drew Adams
2014-01-04 17:50 ` Paul Eggert
2014-01-04 20:08 ` Eli Zaretskii
2014-01-04 20:53 ` Paul Eggert
2014-01-04 21:10 ` Eli Zaretskii
2014-01-04 23:35 ` Paul Eggert
2014-01-05 3:49 ` Eli Zaretskii
2014-01-04 20:32 ` Stefan Monnier
2014-01-04 7:41 ` Eli Zaretskii
2014-01-04 7:38 ` Eli Zaretskii
2014-01-02 4:19 ` Stefan Monnier
2014-01-02 4:48 ` Paul Eggert
2014-01-02 15:28 ` Eli Zaretskii
2014-05-03 0:55 ` Glenn Morris
[not found] <20131229220810.GF7972"@boo.workgroup>
[not found] ` <83sita1cbw.fsf"@gnu.org>
[not found] ` <83fvpa16kh.fsf"@gnu.org>
[not found] ` <8338l91l2t.fsf"@gnu.org>
[not found] ` <837gajyrq1.fsf"@gnu.org>
[not found] ` <83zjnextyg.fsf"@gnu.org>
[not found] ` <83ppoaxfu6.fsf"@gnu.org>
[not found] ` <83fvp5xzk0.fsf"@gnu.org>
[not found] <"<20131229220810.GF7972"@boo.workgroup>
[not found] ` <"<83sita1cbw.fsf"@gnu.org>
[not found] ` <"<83fvpa16kh.fsf"@gnu.org>
[not found] ` <"<8338l91l2t.fsf"@gnu.org>
[not found] ` <"<837gajyrq1.fsf"@gnu.org>
[not found] ` <"<83zjnextyg.fsf"@gnu.org>
[not found] ` <"<83ppoaxfu6.fsf"@gnu.org>
[not found] ` <"<83fvp5xzk0.fsf"@gnu.org>
[not found] <<"<20131229220810.GF7972"@boo.workgroup>
[not found] ` <<"<83sita1cbw.fsf"@gnu.org>
[not found] ` <<"<83fvpa16kh.fsf"@gnu.org>
[not found] ` <<"<8338l91l2t.fsf"@gnu.org>
[not found] ` <<"<837gajyrq1.fsf"@gnu.org>
[not found] ` <<"<83zjnextyg.fsf"@gnu.org>
[not found] ` <<"<83ppoaxfu6.fsf"@gnu.org>
[not found] ` <<"<83fvp5xzk0.fsf"@gnu.org>
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).