unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Jambunathan K'" <kjambunathan@gmail.com>,
	<ziqianggeoffreychen@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: backquote quote pair notation: What does it mean in Emacsdocument?
Date: Tue, 18 Dec 2012 06:40:38 -0800	[thread overview]
Message-ID: <855E7E03363249B6874C759B0A496ACF@us.oracle.com> (raw)
In-Reply-To: <878v8v8tsd.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

> > Anybody knows the philosophy? Thank you for your reply.
> 
> It helps with speed-reading.  As you become more experienced
> with Emacs, you will find yourself resorting to the info manual.

Think of it as a simple quotation mechanism or rudimentary highlighting that
works with even the simplest plain-text editor or mode.  It makes the quoted
text stand out - nothing more.

It is also relatively easy for code to parse, to treat the quoted passages in
various ways - in particular, highlighting them (color etc.).

Compare the two attached screenshots, for instance.  See how the quoted text
stands out more when it is highlighted, and how that can help readability.

Look at how key sequences are handled in different ways here: as strings
("<f5>", "C-c y"), single-quoted: `C-c n', and using vector syntax: ([?\C-=],
[f7]).  Each of these notations/syntaxes has a different meaning for Emacs and
Emacs Lisp.

> Once you know that all the configuration variables, commands etc.
> are in quotes, you can skip over most of English and take a quick
> shortcut to the Point-Of-Interest and work back from there.
> 
> ps: Think about why we need paragraphs, why we indent the 
> first line of paragraph, why we need to indent list items etc.
> We take these as matter of course and adopt the convention handed
> down to us, without even thinking about how people of yore tried
> to bring sense out of a wall of text.

[-- Attachment #2: throw-highlighted-quoted.png --]
[-- Type: image/png, Size: 87696 bytes --]

[-- Attachment #3: throw-unhighlighted-quoted.png --]
[-- Type: image/png, Size: 77032 bytes --]

  reply	other threads:[~2012-12-18 14:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 10:56 backquote quote pair notation: What does it mean in Emacs document? ziqianggeoffreychen
2012-12-18 11:49 ` Jambunathan K
2012-12-18 14:40   ` Drew Adams [this message]
2012-12-18 15:29     ` backquote quote pair notation: What does it mean in Emacsdocument? Drew Adams
2012-12-18 18:57     ` Oleksandr Gavenko
2012-12-18 19:11       ` Jambunathan K
2012-12-19  0:40         ` Drew Adams
2012-12-19  0:42           ` Drew Adams
2012-12-19 17:15           ` Request for highlighting back-quote/quote pair notation Oleksandr Gavenko
2012-12-19 17:49             ` Drew Adams
     [not found]             ` <mailman.15693.1355939373.855.help-gnu-emacs@gnu.org>
2012-12-20 13:26               ` Ted Zlatanov
2012-12-19 19:57         ` backquote quote pair notation: What does it mean in Emacsdocument? Oleksandr Gavenko
2012-12-19 20:31           ` Jambunathan K
2012-12-18 15:02   ` backquote quote pair notation: What does it mean in Emacs document? Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=855E7E03363249B6874C759B0A496ACF@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=ziqianggeoffreychen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).