all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: How to increase/decrease quote level in mail/usenet message?
Date: Mon, 14 May 2012 01:58:15 +0000 (UTC)	[thread overview]
Message-ID: <joporn$o9r$2@reader1.panix.com> (raw)
In-Reply-To: barmar-65BDF3.10535727042012@news.eternal-september.org

In article <barmar-65BDF3.10535727042012@news.eternal-september.org>,
Barry Margolin  <barmar@alum.mit.edu> wrote:
>In article <jne9e4$2t0$1@reader1.panix.com>,
> Grant Edwards <invalid@invalid.invalid> wrote:
>
>> On 2012-04-27, XeCycle <XeCycle@Gmail.com> wrote:
>> > Grant Edwards <invalid@invalid.invalid> writes:
>> >
>> >> In mail or message mode, how do you increase/decrease the quote level
>> >> of a region?
>> >
>> > M-;  In case you want more options, do C-h k M-;
>> 
>> Ah.  It never occurred to me (and never would have) to look for
>> commands starting with "comment-".  I looked for indent, quote, level,
>> increase, decrease, and about five other keywords. I have absolutely
>> no clue why a command to increase/decrease a quote level would be
>> called "comment-dwim".
>
>Seems like they just took advantage of the fact that commenting is done 
>in most languages simply by adding a prefix to the line, which is 
>exactly the same as Usenet-style quoting.  So rather than write a new 
>function, they simply co-opted the existing one, since it's not needed 
>for its original purpose in email/news.
>
>-- 
>Barry Margolin, barmar@alum.mit.edu
>Arlington, MA
>*** PLEASE post questions in newsgroups, not directly to me ***

Perl, I recall, has an optional quoting scheme with things
like qq<char>jljljljljlkjlkjkl<same-char>.

I may have the qq-name wrong, but perl has several of these things.
Seem pretty useful to me!

David



  reply	other threads:[~2012-05-14  1:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27  0:10 How to increase/decrease quote level in mail/usenet message? Grant Edwards
2012-04-27  2:55 ` XeCycle
     [not found] ` <mailman.139.1335495366.855.help-gnu-emacs@gnu.org>
2012-04-27 14:11   ` Grant Edwards
2012-04-27 14:53     ` Barry Margolin
2012-05-14  1:58       ` David Combs [this message]
2012-05-15  1:14         ` Barry Margolin

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

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

  git send-email \
    --in-reply-to='joporn$o9r$2@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.