From: Eli Zaretskii Date: Tue, 4 Jun 2019 15:11:37 +0000 (+0300) Subject: Fix a few uses of quotes in user manual X-Git-Tag: emacs-26.2.90~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff7ec6f;p=emacs.git Fix a few uses of quotes in user manual * doc/emacs/text.texi (Quotation Marks): * doc/emacs/display.texi (Text Display): * doc/emacs/basic.texi (Inserting Text): Fix some more quotes. (Bug#35885) --- diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 3728144b797..7144490cda7 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi @@ -118,8 +118,8 @@ sometimes called a left single ``curved quote'' or ``curly quote''. Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working Alt key acts like @kbd{C-x 8}; e.g., @kbd{A-[} acts like @kbd{C-x 8 [} -and inserts `. To see which characters have @kbd{C-x 8} shorthands, -type @kbd{C-x 8 C-h}. +and inserts @t{‘}. To see which characters have @kbd{C-x 8} +shorthands, type @kbd{C-x 8 C-h}. Alternatively, you can use the command @kbd{C-x 8 @key{RET}} (@code{insert-char}). This prompts for the Unicode name or code-point @@ -146,9 +146,9 @@ the buffer. how many copies of the character to insert (@pxref{Arguments}). In addition, in some contexts, if you type a quotation using grave -accent and apostrophe @t{`like this'}, it is converted to a form +accent and apostrophe @kbd{`like this'}, it is converted to a form @t{‘like this’} using single quotation marks, even without @kbd{C-x 8} -commands. Similarly, typing a quotation @t{``like this''} using +commands. Similarly, typing a quotation @kbd{``like this''} using double grave accent and apostrophe converts it to a form @t{“like this”} using double quotation marks. @xref{Quotation Marks}. diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index f8c620115d3..70b88dc92d0 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -1557,11 +1557,11 @@ curved quotes. You can influence or inhibit this translation by customizing the user option @code{text-quoting-style} (@pxref{Keys in Documentation,,, elisp, The Emacs Lisp Reference Manual}). - If the curved quotes @samp{‘}, @samp{’}, @samp{“}, and @samp{”} are + If the curved quotes @t{‘}, @t{’}, @t{“}, and @t{”} are known to look just like @acronym{ASCII} characters, they are shown with the @code{homoglyph} face. Curved quotes that are known not to be displayable are shown as their @acronym{ASCII} approximations -@samp{`}, @samp{'}, and @samp{"} with the @code{homoglyph} face. +@t{`}, @t{'}, and @t{"} with the @code{homoglyph} face. @node Cursor Display @section Displaying the Cursor diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index e9b17dbb651..db55feeb665 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -439,8 +439,8 @@ portable; curved quotes are less ambiguous and typically look nicer. @vindex electric-quote-chars Electric Quote mode makes it easier to type curved quotes. As you -type characters it optionally converts @t{`} to ‘, @t{'} to ', -@t{``} to ``, and @t{''} to ''. It's possible to change the +type characters it optionally converts @kbd{`} to @t{‘}, @kbd{'} to @t{’}, +@kbd{``} to @t{“}, and @kbd{''} to @t{”}. It's possible to change the default quotes listed above, by customizing the variable @code{electric-quote-chars}, a list of four characters, where the items correspond to the left single quote, the right single quote, the