Article View: gnu.emacs.help
Article #188735How to set gin-left-hang-indent-re in gin-mode ?
From: Rachel Lau
Date: Fri, 21 Jun 1991 14:04
Date: Fri, 21 Jun 1991 14:04
27 lines
1598 bytes
1598 bytes
In one of my mode-hook, I set gin-left-hang-indent-re in the gin-mode.
(setq gin-left-hang-indent-re
"\\s *\\([-*]+\\|[a-zA-Z0-9]+[\\.:]+\\)\\s +")
(gin-mode 1)
However, when I use the gin-mode, it doesn't work properly. For example, I
typed the following text :
*** I give the first line some dummy spaces
and then also on the second line
and then "fill-paragraph". The problem is the spaces
on the first line never get removed.
When I pressed ESC q, see what I get !
*** I give the first line some dummy spaces
and then also on the second line and then "fill-paragraph". The problem
is the spaces on the first line never get removed.
There must be something wrong in my regexp, because I tried the default
gin-left-hang-indent-re, it worked fine. Any direction please ?
Rachel Lau rachel@cs.man.ac.uk
Technical Details
Message-ID:
<RACHEL.91Jun21150454@tiger.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!mucs!m1!rachelShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,dc4ba73762768926,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-06-22 05:35:43 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!mucs!m1!rachel From: rachel@cs.man.ac.uk (Rachel Lau) Newsgroups: gnu.emacs.help Subject: How to set gin-left-hang-indent-re in gin-mode ? Message-ID: <RACHEL.91Jun21150454@tiger.cs.man.ac.uk> Date: 21 Jun 91 14:04:54 GMT Sender: news@cs.man.ac.uk Distribution: gnu Organization: Department of Computer Science, University of Manchester Lines: 27