aboutsummaryrefslogtreecommitdiffstats
path: root/nextstep
diff options
context:
space:
mode:
authorPaul Eggert2016-03-14 17:36:23 -0700
committerPaul Eggert2016-03-14 17:37:42 -0700
commit8475f3da531955cf17fecbb78719ff7f3ffe8a18 (patch)
treef90eb31635f4973dee54019f4ab9253e21511b2e /nextstep
parent5cc691930808ccf7afdbc53ed49ca24badd97013 (diff)
downloademacs-8475f3da531955cf17fecbb78719ff7f3ffe8a18.tar.gz
emacs-8475f3da531955cf17fecbb78719ff7f3ffe8a18.zip
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)’.
Diffstat (limited to 'nextstep')
-rw-r--r--nextstep/README19
1 files changed, 7 insertions, 12 deletions
diff --git a/nextstep/README b/nextstep/README
index 65e715779de..7a1a0921cd8 100644
--- a/nextstep/README
+++ b/nextstep/README
@@ -15,7 +15,7 @@ adapted to GNUstep, a free OpenStep implementation, and in 2008 it was
15merged to the GNU Emacs trunk and released with Emacs 23. Around the 15merged to the GNU Emacs trunk and released with Emacs 23. Around the
16same time a separate Mac-only port using the Carbon APIs and 16same time a separate Mac-only port using the Carbon APIs and
17descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It 17descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It
18remains available externally under the name mac.) 18remains available externally under the name "mac".)
19 19
20 20
21 OVERVIEW OF COCOA AND OBJECTIVE-C 21 OVERVIEW OF COCOA AND OBJECTIVE-C
@@ -25,11 +25,11 @@ superset of C. Anybody with experience with iOS or modern OS X
25application development should feel at home. 25application development should feel at home.
26 26
27A method call in Objective-C differs from most other languages in the 27A method call in Objective-C differs from most other languages in the
28fact that it doesnt have a normal name. Instead, the method name is 28fact that it doesn't have a normal name. Instead, the method name is
29made up of the name of each parameter. An exception to this rule are 29made up of the name of each parameter. An exception to this rule are
30methods without parameters. 30methods without parameters.
31 31
32The following calls a method in the object anObject. 32The following calls a method in the object 'anObject'.
33 33
34 [anObject alpha:1 beta:2 gamma:3]; 34 [anObject alpha:1 beta:2 gamma:3];
35 35
@@ -55,8 +55,8 @@ Classes are declared like the following:
55 modify the NS code over a long period of time. Keep the code simple 55 modify the NS code over a long period of time. Keep the code simple
56 and avoid language constructs that makes the code hard to maintain. 56 and avoid language constructs that makes the code hard to maintain.
57 57
58* Dont use macros and types intended for the XCode Interface Builder, 58* Don't use macros and types intended for the XCode Interface Builder,
59 like IBAction. 59 like 'IBAction'.
60 60
61* The NS interface should work on all version of OS X from 10.6.8 61* The NS interface should work on all version of OS X from 10.6.8
62 (Snow Leopard) to the latest official release. 62 (Snow Leopard) to the latest official release.
@@ -70,8 +70,8 @@ Classes are declared like the following:
70The NS interface features a printf-based trace package that prints the 70The NS interface features a printf-based trace package that prints the
71call tree of selected functions in the Cocoa interface, plus various 71call tree of selected functions in the Cocoa interface, plus various
72extra information. It can be enabled by uncommenting the line 72extra information. It can be enabled by uncommenting the line
73defining NSTRACE_ENABLED in nsterm.h. To enable more output, 73defining 'NSTRACE_ENABLED' in "nsterm.h". To enable more output,
74uncomment the lines defining symbols starting with NSTRACE_GROUP. 74uncomment the lines defining symbols starting with 'NSTRACE_GROUP'.
75 75
76 76
77 GNUSTEP AND OTHER COMPATIBLE SYSTEMS 77 GNUSTEP AND OTHER COMPATIBLE SYSTEMS
@@ -121,8 +121,3 @@ GNU General Public License for more details.
121 121
122You should have received a copy of the GNU General Public License 122You should have received a copy of the GNU General Public License
123along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 123along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
124
125
126Local variables:
127coding: utf-8
128end: