From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.help Subject: Re: Using comment character in comint prompt without entering a comment Date: Sun, 11 Sep 2016 23:13:25 -0600 Message-ID: <87wpihsnt6.fsf@gmail.com> References: <87twhag3h6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473660569 8099 195.159.176.226 (12 Sep 2016 06:09:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 06:09:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 08:09:25 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjKQk-0001DP-TI for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 08:09:23 +0200 Original-Received: from localhost ([::1]:40338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKQi-0007iI-Vt for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 02:09:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjJZ9-0000xA-KP for help-gnu-emacs@gnu.org; Mon, 12 Sep 2016 01:14:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjJZ2-0000CL-D0 for help-gnu-emacs@gnu.org; Mon, 12 Sep 2016 01:13:57 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:35103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjJZ2-00007x-7P for help-gnu-emacs@gnu.org; Mon, 12 Sep 2016 01:13:52 -0400 Original-Received: by mail-oi0-x230.google.com with SMTP id d191so72696041oih.2 for ; Sun, 11 Sep 2016 22:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=QF1LlfW+m0QWo661qLH89TTKaM9NUq4AMTc3Pd2nguE=; b=uNfD/rRGwshKIdMFagkVw2F4qvVZq0uriY6V5XpPxsjgBdROH+vnz+N+apIy/1JW7M HjspF9SLM9bHoVyv1jTY/aa7+QBFOQlXcnbqYARi7HTngr6xW28t6ieOwOd+IzpnUOV/ coLi/DJlsMVcFtQC2V3Zf9xAQLfAb1+tef+EUlX0+OPRKGl6hRvlJnNOn6Fx49w+9Zf8 wFQdewBhgBVxQN2s4LMcfHp+pmoi/Tdx58Axd7JZ0AgVdQR848RfFJF05Gb0pK2DJ9FD qJZzhV7uWUTHn2Bjz6m9CKkQX8g04fRElpELTUVEEABqBrA0f41H//jytGEUOkGXGlfU 5vIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QF1LlfW+m0QWo661qLH89TTKaM9NUq4AMTc3Pd2nguE=; b=BaBqXdL+SJfFHDN4DI6VZ7+E9t3B1lSr5my2C2e2AKwdiY9TRjwxZdbaR5a+T8R5MZ 5wBtbuCUzOkUMgBJJy1XNSejArz7Mn6H7dJ1V+BPzaEM/eO+lLEciThNHPbEZUb5rhOt 1eFgQsA7PMX6ETNkv9lCxeI1WR8K3+dEnqMIjI2sD0VtHQ3eT2fQsV49Ep2WV7khQCbC /sfBaHf/VShJFv+B7N8S12UM4xTRQNlpnRAKGOE22+DM9p3Zc1G1qJG5LyTw+7tZ9HyZ VTQbOyv/MCRF6owflbKVGCMuhtEfEqBOhnByq7MppbKigI5q5BFGhlWtbjf8RT2MzBSO zklw== X-Gm-Message-State: AE9vXwN4n+tv2A7X5zRrZ+6Ol5nDuEVLkAnRYg6WK1lQ1IsKmDZ7Arw5yrb5RDzK33vakA== X-Received: by 10.157.57.137 with SMTP id y9mr22745512otb.21.1473657210365; Sun, 11 Sep 2016 22:13:30 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id b133sm8979800iti.14.2016.09.11.22.13.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Sep 2016 22:13:30 -0700 (PDT) In-Reply-To: <87twhag3h6.fsf@gmail.com> (Alex's message of "Fri, 03 Jun 2016 01:01:57 -0600") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::230 X-Mailman-Approved-At: Mon, 12 Sep 2016 02:06:25 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111329 Archived-At: Alex writes: > Hello all, > > I would like to use a comment character in the comint prompt without > causing the following characters to be commented out. Is there an easy > way to achieve this? > > For example, if my IELM prompt was "ELISP;> ", then all characters > including and after ";" are font-locked with `font-lock-comment-face'. I > would like that the comment characters have no special meaning in the > prompt. > > PS: The comment delimiters in IELM don't have the > `font-lock-comment-delimiter-face` face. Is this supposed to be the > case? Any help would be appreciated.