Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Turn off the effects of enclosing in forward slash
       [not found] <87wtfnr4k2.fsf@newsguy.com>
@ 2006-02-23 12:09 ` Reiner Steib
  0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2006-02-23 12:09 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-23 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87wtfnr4k2.fsf@newsguy.com>
2006-02-23 12:09 ` Turn off the effects of enclosing in forward slash Reiner Steib

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 NNTP newsgroup(s).