ASCII-only etc/NEWS etc.
* etc/NEWS, nextstep/README: Revert the recently-added curved quotes, and stick to ASCII. This typically involves replacing curved with straight quotes. Since etc/NEWS is viewed so often by UTF-8-ignorant tools, rewrite its non-ASCII text to spell out Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
This commit is contained in:
parent
5cc6919308
commit
8475f3da53
2 changed files with 569 additions and 571 deletions
|
@ -15,7 +15,7 @@ adapted to GNUstep, a free OpenStep implementation, and in 2008 it was
|
||||||
merged to the GNU Emacs trunk and released with Emacs 23. Around the
|
merged to the GNU Emacs trunk and released with Emacs 23. Around the
|
||||||
same time a separate Mac-only port using the Carbon APIs and
|
same time a separate Mac-only port using the Carbon APIs and
|
||||||
descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It
|
descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It
|
||||||
remains available externally under the name “mac”.)
|
remains available externally under the name "mac".)
|
||||||
|
|
||||||
|
|
||||||
OVERVIEW OF COCOA AND OBJECTIVE-C
|
OVERVIEW OF COCOA AND OBJECTIVE-C
|
||||||
|
@ -25,11 +25,11 @@ superset of C. Anybody with experience with iOS or modern OS X
|
||||||
application development should feel at home.
|
application development should feel at home.
|
||||||
|
|
||||||
A method call in Objective-C differs from most other languages in the
|
A method call in Objective-C differs from most other languages in the
|
||||||
fact that it doesn’t have a normal name. Instead, the method name is
|
fact that it doesn't have a normal name. Instead, the method name is
|
||||||
made up of the name of each parameter. An exception to this rule are
|
made up of the name of each parameter. An exception to this rule are
|
||||||
methods without parameters.
|
methods without parameters.
|
||||||
|
|
||||||
The following calls a method in the object ‘anObject’.
|
The following calls a method in the object 'anObject'.
|
||||||
|
|
||||||
[anObject alpha:1 beta:2 gamma:3];
|
[anObject alpha:1 beta:2 gamma:3];
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@ Classes are declared like the following:
|
||||||
modify the NS code over a long period of time. Keep the code simple
|
modify the NS code over a long period of time. Keep the code simple
|
||||||
and avoid language constructs that makes the code hard to maintain.
|
and avoid language constructs that makes the code hard to maintain.
|
||||||
|
|
||||||
* Don’t use macros and types intended for the XCode Interface Builder,
|
* Don't use macros and types intended for the XCode Interface Builder,
|
||||||
like ‘IBAction’.
|
like 'IBAction'.
|
||||||
|
|
||||||
* The NS interface should work on all version of OS X from 10.6.8
|
* The NS interface should work on all version of OS X from 10.6.8
|
||||||
(Snow Leopard) to the latest official release.
|
(Snow Leopard) to the latest official release.
|
||||||
|
@ -70,8 +70,8 @@ Classes are declared like the following:
|
||||||
The NS interface features a printf-based trace package that prints the
|
The NS interface features a printf-based trace package that prints the
|
||||||
call tree of selected functions in the Cocoa interface, plus various
|
call tree of selected functions in the Cocoa interface, plus various
|
||||||
extra information. It can be enabled by uncommenting the line
|
extra information. It can be enabled by uncommenting the line
|
||||||
defining ‘NSTRACE_ENABLED’ in nsterm.h. To enable more output,
|
defining 'NSTRACE_ENABLED' in "nsterm.h". To enable more output,
|
||||||
uncomment the lines defining symbols starting with ‘NSTRACE_GROUP’.
|
uncomment the lines defining symbols starting with 'NSTRACE_GROUP'.
|
||||||
|
|
||||||
|
|
||||||
GNUSTEP AND OTHER COMPATIBLE SYSTEMS
|
GNUSTEP AND OTHER COMPATIBLE SYSTEMS
|
||||||
|
@ -121,8 +121,3 @@ GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
Local variables:
|
|
||||||
coding: utf-8
|
|
||||||
end:
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue