unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kevin Ryde <user42@zip.com.au>
Cc: 12756@debbugs.gnu.org
Subject: bug#12756: 24.2; woman.el vs adaptive-fill-mode hanging indent
Date: Mon, 29 Oct 2012 22:53:36 -0400	[thread overview]
Message-ID: <jwvwqy8vfhw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y5iqclvp.fsf@blah.blah> (Kevin Ryde's message of "Mon, 29 Oct 2012 08:44:26 +1100")

> With the file percent.1 below and an 80-column screen the file percent.1
> below processed with
>     M-x woman-find-file percent.1
> gives
>     %%%%Some percents  one two three  four five six  seven eight
>         nine ten eleven twelve thirteen fourteen fifteen.

Does the patch below work as well for you?


        Stefan


=== modified file 'lisp/woman.el'
--- lisp/woman.el	2012-10-29 10:30:11 +0000
+++ lisp/woman.el	2012-10-30 02:51:34 +0000
@@ -2253,6 +2253,8 @@
 	 (set-face-font 'woman-symbol woman-symbol-font
 			(and (frame-live-p woman-frame) woman-frame)))
 
+    (setq-local adaptive-fill-mode nil) ; No special "%" "#" etc filling.
+
     ;; Set syntax and display tables:
     (set-syntax-table woman-syntax-table)
     (woman-set-buffer-display-table)






  reply	other threads:[~2012-10-30  2:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 21:44 bug#12756: 24.2; woman.el vs adaptive-fill-mode hanging indent Kevin Ryde
2012-10-30  2:53 ` Stefan Monnier [this message]
2012-11-03 20:31   ` Kevin Ryde
2012-11-04 12:29     ` Stefan Monnier
2012-11-06  1:50     ` Stefan Monnier

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=jwvwqy8vfhw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=12756@debbugs.gnu.org \
    --cc=user42@zip.com.au \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).