diff options
| author | Paul Eggert | 2016-03-14 17:36:23 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-03-14 17:37:42 -0700 |
| commit | 8475f3da531955cf17fecbb78719ff7f3ffe8a18 (patch) | |
| tree | f90eb31635f4973dee54019f4ab9253e21511b2e /nextstep | |
| parent | 5cc691930808ccf7afdbc53ed49ca24badd97013 (diff) | |
| download | emacs-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/README | 19 |
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 | |||
| 15 | merged to the GNU Emacs trunk and released with Emacs 23. Around the | 15 | merged to the GNU Emacs trunk and released with Emacs 23. Around the |
| 16 | same time a separate Mac-only port using the Carbon APIs and | 16 | same time a separate Mac-only port using the Carbon APIs and |
| 17 | descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It | 17 | descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It |
| 18 | remains available externally under the name “mac”.) | 18 | remains 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 | |||
| 25 | application development should feel at home. | 25 | application development should feel at home. |
| 26 | 26 | ||
| 27 | A method call in Objective-C differs from most other languages in the | 27 | A method call in Objective-C differs from most other languages in the |
| 28 | fact that it doesn’t have a normal name. Instead, the method name is | 28 | fact that it doesn't have a normal name. Instead, the method name is |
| 29 | made up of the name of each parameter. An exception to this rule are | 29 | made up of the name of each parameter. An exception to this rule are |
| 30 | methods without parameters. | 30 | methods without parameters. |
| 31 | 31 | ||
| 32 | The following calls a method in the object ‘anObject’. | 32 | The 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 | * Don’t 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: | |||
| 70 | The NS interface features a printf-based trace package that prints the | 70 | The NS interface features a printf-based trace package that prints the |
| 71 | call tree of selected functions in the Cocoa interface, plus various | 71 | call tree of selected functions in the Cocoa interface, plus various |
| 72 | extra information. It can be enabled by uncommenting the line | 72 | extra information. It can be enabled by uncommenting the line |
| 73 | defining ‘NSTRACE_ENABLED’ in nsterm.h. To enable more output, | 73 | defining 'NSTRACE_ENABLED' in "nsterm.h". To enable more output, |
| 74 | uncomment the lines defining symbols starting with ‘NSTRACE_GROUP’. | 74 | uncomment 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 | ||
| 122 | You should have received a copy of the GNU General Public License | 122 | You should have received a copy of the GNU General Public License |
| 123 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 123 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 124 | |||
| 125 | |||
| 126 | Local variables: | ||
| 127 | coding: utf-8 | ||
| 128 | end: | ||