Subject: bug#28142: closed (Re: bug#28142: lisp/man.el: multi-lingual SEE ALSO)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 26 Aug 2017 08:40:02 +0000

Your bug report

#28142: lisp/man.el: multi-lingual SEE ALSO

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
28142: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28142
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#28142: lisp/man.el: multi-lingual SEE ALSO
From: Eli Zaretskii <[email-masked]>
To: Grégory Mounié <[email-masked]>
Cc: [email-masked]
Date: Sat, 26 Aug 2017 11:39:04 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Grégory Mounié
> 	<[email-masked]>
> Date: Fri, 18 Aug 2017 22:41:01 +0200
> 
>   Using Debian base manpages as reference, this patch add support for
>   "SEE ALSO" section detection in man.el in several languages.
> 
>   It adds FR, DE, ES, PT, IT, PL, TR, JA, ZH_CN, ZH_TW (in this order in 
> the regexp)
> 
>   The patch just change the regexp. It has to use grouping \( \) for 
> correct ^ (begin of line) handling.

Thanks, pushed.

Subject: lisp/man.el: multi-lingual SEE ALSO
From: Grégory Mounié <[email-masked]>
To: [email-masked]
Date: Fri, 18 Aug 2017 22:41:01 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

  Using Debian base manpages as reference, this patch add support for
  "SEE ALSO" section detection in man.el in several languages.

  It adds FR, DE, ES, PT, IT, PL, TR, JA, ZH_CN, ZH_TW (in this order in 
the regexp)

  The patch just change the regexp. It has to use grouping \( \) for 
correct ^ (begin of line) handling.

>From da7d15d9e2eee70523252518482f88e3927e8cd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20Mouni=C3=A9?= <[email-masked]>
Date: Fri, 18 Aug 2017 22:21:14 +0200
Subject: [PATCH] multi-lingual SEE ALSO man section detection

* lisp/man.el Add support for SEE ALSO section detection in several
  langages: French, German, Spanish, Portugese, Italian, Polish,
  Turkish, Japanese, Chinese CN, Chinese TW.

  Copyright-paperwork-exempt: yes
---
 lisp/man.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/man.el b/lisp/man.el
index 13efc21b03..c7d8c4089d 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -295,7 +295,7 @@ Man-page-header-regexp
 (defvar Man-heading-regexp "^\\([[:upper:]][[:upper:]0-9 /-]+\\)$"
   "Regular expression describing a manpage heading entry.")
 
-(defvar Man-see-also-regexp "SEE ALSO"
+(defvar Man-see-also-regexp "\\(SEE ALSO\\|VOIR AUSSI\\|SIEHE AUCH\\|VÉASE TAMBIÉN\\|VEJA TAMBÉM\\|VEDERE ANCHE\\|ZOBACZ TAKŻE\\|İLGİLİ BELGELER\\|参照\\|参见 SEE ALSO\\|參見 SEE ALSO\\)"
   "Regular expression for SEE ALSO heading (or your equivalent).
 This regexp should not start with a `^' character.")
 
-- 
2.14.1