From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14523 invoked from network); 19 Dec 2023 15:50:14 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 19 Dec 2023 15:50:14 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rFcMG-004sQ2-0Y for ml@inbox.vuxu.org; Tue, 19 Dec 2023 09:50:12 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96.2) (envelope-from ) id 1rFcMF-002XKQ-2N for ml@inbox.vuxu.org; Tue, 19 Dec 2023 09:50:11 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96.2) (envelope-from ) id 1rFcME-002XKK-15 for ding@lists.math.uh.edu; Tue, 19 Dec 2023 09:50:10 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rFcM8-007bPj-0M for ding@lists.math.uh.edu; Tue, 19 Dec 2023 09:50:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jcjpheJcEj0eRbCT7GmLMUvKftp1jSTr3rytoaODjV8=; b=bXeZhuCyk8mctRycDjboHYHGpZ GgOc2aro1J1Sl8fosclekZ8mjyUFbnMyWdW1CFZM3tarwzakwy5YzNaz1rgiXhmxb/sfrY74rMxd9 k3xcdQNGah0nZJ3OIfIEPj97EXQdfFpf3sBFJF7h83kmo4Ds5rjuN1B4RnH8OOjZLV/k=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rFcLw-00071c-Aw for ding@gnus.org; Tue, 19 Dec 2023 16:49:54 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rFcLu-0000th-Qp for ding@gnus.org; Tue, 19 Dec 2023 16:49:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Emanuel Berg Subject: Re: Emphasizing text when composing mails? Date: Tue, 19 Dec 2023 16:49:39 +0100 Message-ID: <87r0jixkdo.fsf@dataswamp.org> References: <87il50x240.fsf@vagabond.tim-landscheidt.de> <87jzpav4fq.fsf@hillenius.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:5TQeAsWTK1xSYPAkGJGslW6w6sQ= Mail-Copies-To: never List-ID: Precedence: bulk Gijs Hillenius wrote: >> Gnus has the feature to display some words with a different >> face if they are bracketed with certain characters (*bold*, >> /italic/, _underline_). >> >> Is there a command for the opposite direction when >> composing mails, i. e. I write a paragraph, I want to mark >> up "for example" as bold, so I select those words as >> a region, M-x some-gnus-or-emacs-command, and the text >> changes to "*for* *example*"? > > This is the difference between Gnus' Message mode (for > writing) and its Article mode (for reading). No idea if it > possible to add display features from Article mode to > Message mode. It should work, but doesn't, ;; regexp from gnus-art.el line 7878, Emacs 29.0 Gnus 5.13 (font-lock-add-keywords 'message-mode '( ("['`‘]\\([a-z][a-z0-9]+-[a-z]+\\)['’]" (1 font-lock-reference-face)) ) t) -- underground experts united https://dataswamp.org/~incal