From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#18379: 24.3.93; Bash font lock: pretty inconsistent treatment of `` and $() Date: Mon, 01 Sep 2014 16:27:58 -0300 Message-ID: <87egvv2la9.fsf@gmail.com> References: <87bnqz1l3g.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409599772 4875 80.91.229.3 (1 Sep 2014 19:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2014 19:29:32 +0000 (UTC) Cc: occitan@esperanto.org, 18379@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 21:29:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XOXI4-0002oc-B4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 21:29:24 +0200 Original-Received: from localhost ([::1]:33659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOXI1-0002AO-JZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 15:29:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOXHq-00029F-MF for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:29:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOXHj-0004Me-6h for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:29:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOXHj-0004MW-3D for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XOXHi-0003c3-Ea for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Sep 2014 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18379 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18379-submit@debbugs.gnu.org id=B18379.140959969113813 (code B ref 18379); Mon, 01 Sep 2014 19:29:02 +0000 Original-Received: (at 18379) by debbugs.gnu.org; 1 Sep 2014 19:28:11 +0000 Original-Received: from localhost ([127.0.0.1]:55898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOXGs-0003aj-Kx for submit@debbugs.gnu.org; Mon, 01 Sep 2014 15:28:10 -0400 Original-Received: from mail-vc0-f177.google.com ([209.85.220.177]:53812) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOXGq-0003aU-VM for 18379@debbugs.gnu.org; Mon, 01 Sep 2014 15:28:09 -0400 Original-Received: by mail-vc0-f177.google.com with SMTP id hq11so5804670vcb.8 for <18379@debbugs.gnu.org>; Mon, 01 Sep 2014 12:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=HZV/Bglja0rY0h9zryp3epNuktuI+nFdtxh9CHp07Hs=; b=gTF108Bqj890WN7MWza/fOnmJiPbU0GKNgBcOTzqFzG7DJ8HvqSa9qBSg6xEkwrinr d18uV7r6v1DK+JTv6TtbRyEY0ziCNWfudXdckaffHfVcOGSIjJFMUHrOj5qVvsLl6xvQ XLJMqwwlbzgZVD6bWQnFN2gHLhgX7dr7KF3MGahaadT7WPjecKK+GHCqw3dOoaQciCrt sNuhz3oAswHlsUivCcLWC9hWc0fMpk6hLrYAXeiSlmo04FR1/vV2pu4nfkfHEssm5BTO dVm6EIosvjWyD5JYy3MYvxF7mhSll/P8TK3q86dUXuOQQwRvvVFIrHKhbysoQUbxzjpS 8EGA== X-Received: by 10.52.83.227 with SMTP id t3mr22717698vdy.20.1409599683334; Mon, 01 Sep 2014 12:28:03 -0700 (PDT) Original-Received: from carlos ([181.228.217.164]) by mx.google.com with ESMTPSA id tg14sm4146753vdb.13.2014.09.01.12.28.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Sep 2014 12:28:02 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Mon, 01 Sep 2014 17:03:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92936 Archived-At: Hi Andreas, > They have different quoting rules, with `...` using rules similar to > double quotes, whereas $(...) is a fully nesting construct. True, but both contains bash code for a subshell which is far from being an uninterpreted string. IMO the important distintion to highlight is "intepreted code" vs "uninterpreted string", not the ability to nest vs the inability to nest (due to different quoting rules). I've been checking how other editors do this. vim works the way I'm proposing, while scintilla based editors do it the emacs way. Regarding my second observation before, neither vim nor scintilla treat the leading word in a command substution in any special way, which I think is sensible. Cheers -- Carlos