unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Turn off the effects of enclosing in forward slash
Date: Thu, 23 Feb 2006 13:09:05 +0100	[thread overview]
Message-ID: <v9hd6qs2e6.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 87wtfnr4k2.fsf@newsguy.com

On Wed, Feb 22 2006, Harry Putnam wrote:

> I think  I once learned  how to turn  off the way emacs  hides slashes
> when  they are around  a world  like /home/  (Use C-u  g to  view this
> message  if  you don't  see  forward  slashes  around home)  but  have
> forgotten it since it wasn't something that I care about very often.

This is a Gnus issue.  Crosspost & Followup-To: gnu.emacs.gnus

> But every so often it causes me to do trouble shooting of something
> that doesn't need it.

Customize `gnus-emphasis-alist', especially the "Show start and end
patterns" options.

I you don't like to use customize, you could use some modification of
the following code:

--8<---------------cut here---------------start------------->8---
;; keep emphasis characters around after emphasis
(require 'gnus-art)
(unless (fboundp 'gnus-emphasis-custom-with-format)
  ;; In Gnus 5.10.7 or 5.11 this is okay by default.
  (setq gnus-emphasis-alist ; <u8zbs8p6iue.fsf@blackbird-2k.MITRE.ORG>
	(mapcar (lambda (x)
		  (list (car x) (nth 2 x) (nth 2 x) (nth 3 x)))
		gnus-emphasis-alist)))
;; <m3u1lu95u7.fsf@ID-87814.user.dfncis.de>
;; don't do strikethru
(setq gnus-emphasis-alist
      (delq nil
	    (mapcar
	     (lambda (x)
	       (if (eq (car (last x)) 'gnus-emphasis-strikethru)
		   nil
		 x))
	     gnus-emphasis-alist)))
(setq gnus-emphasis-alist
      (delq nil (mapcar
		 (lambda (x)
		   (if (eq (car (last x)) 'gnus-emphasis-italic) nil x))
		 gnus-emphasis-alist)))
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2006-02-23 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 11:55 Turn off the effects of enclosing in forward slash Harry Putnam
2006-02-23 12:09 ` Reiner Steib [this message]
2006-02-23 18:32 ` Kevin Rodgers
     [not found] ` <mailman.136.1140795529.2853.help-gnu-emacs@gnu.org>
2006-02-24 17:26   ` Harry Putnam
     [not found] <mailman.0.1140627650.2853.help-gnu-emacs@gnu.org>
2006-02-23  1:12 ` Katsumi Yamaoka
2006-02-23  4:28   ` Harry Putnam

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=v9hd6qs2e6.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).