From c7ce43ec1a8d2c7ecad6da9720d1e5245cabcc12 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Mon, 11 Aug 2008 16:42:06 +0200 Subject: [PATCH] Prefer "backtick" over "backtic" on comments and docs as it's more common, closes #3101. --- ChangeLog | 9 +++++++++ alias.c | 4 ++-- doc/manual.xml.head | 2 +- init.c | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b267c191..8023351c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-07-27 10:48 -0400 Aron Griffis (3f595d14a285) + + * doc/manual.xml.head: doc: semi-colon needs quoting too + + If semi-colon is bound or macro'd, it needs to be quoted like space, + otherwise mutt thinks it's separating commands. + + Signed-off-by: Aron Griffis + 2008-07-21 10:24 -0400 Aron Griffis (96b0dd25a550) * copy.h, mutt.h: noop cleanup: move mutt_copy_header flags to copy.h diff --git a/alias.c b/alias.c index 75d49aa3..623dd697 100644 --- a/alias.c +++ b/alias.c @@ -148,9 +148,9 @@ void mutt_expand_aliases_env (ENVELOPE *env) * if someone has an address like * From: Michael `/bin/rm -f ~` Elkins * and the user creates an alias for this, Mutt could wind up executing - * the backtics because it writes aliases like + * the backticks because it writes aliases like * alias me Michael `/bin/rm -f ~` Elkins - * To avoid this problem, use a backslash (\) to quote any backtics. We also + * To avoid this problem, use a backslash (\) to quote any backticks. We also * need to quote backslashes as well, since you could defeat the above by * doing * From: Michael \`/bin/rm -f ~\` Elkins diff --git a/doc/manual.xml.head b/doc/manual.xml.head index b5c31e55..f0c305d1 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -1351,7 +1351,7 @@ the two types of quotes is similar to that of many popular shell programs, namely that a single quote is used to specify a literal string (one that is not interpreted for shell variables or quoting with a backslash [see next paragraph]), while double quotes indicate a string for which -should be evaluated. For example, backtics are evaluated inside of double +should be evaluated. For example, backticks are evaluated inside of double quotes, but not for single quotes. diff --git a/init.c b/init.c index 3e5327f2..6db5a20d 100644 --- a/init.c +++ b/init.c @@ -236,7 +236,7 @@ int mutt_extract_token (BUFFER *dest, BUFFER *tok, int flags) } while (pc && *pc != '`'); if (!pc) { - dprint (1, (debugfile, "mutt_get_token: mismatched backtics\n")); + dprint (1, (debugfile, "mutt_get_token: mismatched backticks\n")); return (-1); } cmd = mutt_substrdup (tok->dptr, pc); -- 2.40.0