unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode?
@ 2016-04-14 13:45 Chunyang Xu
  2016-04-14 18:05 ` Drew Adams
  2016-04-16 11:21 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Chunyang Xu @ 2016-04-14 13:45 UTC (permalink / raw)
  To: 23289

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

Hi,

In emacs-lisp-mode buffer, C-h S can find symbol from emacs and elisp
info manual, but I find cl-lib is used a lot in many places, so I want
C-h S works for symbols from cl-lib info manual too.  There are also
some other emacs related info manuals, I don't know whether it is worth
supporting them as well.

Thanks.

--
Chunyang Xu

[-- Attachment #2: 0001-Add-support-for-cl-lib-symbols-in-C-h-S.patch --]
[-- Type: application/octet-stream, Size: 994 bytes --]

From 8fb79ab1986380e05004db75cef278ac48092347 Mon Sep 17 00:00:00 2001
From: Chunyang Xu <xuchunyang56@gmail.com>
Date: Thu, 14 Apr 2016 21:39:14 +0800
Subject: [PATCH] Add support for cl-lib symbols in C-h S

---
 lisp/info-look.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/info-look.el b/lisp/info-look.el
index 70d2756..e2fb641 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -912,7 +912,8 @@ info-complete
              ;; for things that should go to Function: etc, and those latter
              ;; are much more important.  Perhaps this could change if some
              ;; sort of fallback match scheme existed.
-             ("(elisp)Index"          nil "^ -+ .*: " "\\( \\|$\\)")))
+             ("(elisp)Index"          nil "^ -+ .*: " "\\( \\|$\\)")
+             ("(cl)Function Index" nil "^ -+ .*: " "\\( \\|$\\)")))
 
 ;; docstrings talk about elisp, so have apropos-mode follow emacs-lisp-mode
 (info-lookup-maybe-add-help
-- 
2.8.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode?
  2016-04-14 13:45 bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode? Chunyang Xu
@ 2016-04-14 18:05 ` Drew Adams
  2016-04-14 18:52   ` John Wiegley
  2016-04-16 11:21 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2016-04-14 18:05 UTC (permalink / raw)
  To: Chunyang Xu, 23289

> In emacs-lisp-mode buffer, C-h S can find symbol from emacs and elisp
> info manual, but I find cl-lib is used a lot in many places, so I want
> C-h S works for symbols from cl-lib info manual too.  There are also
> some other emacs related info manuals, I don't know whether it is worth
> supporting them as well.

+1





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode?
  2016-04-14 18:05 ` Drew Adams
@ 2016-04-14 18:52   ` John Wiegley
  0 siblings, 0 replies; 4+ messages in thread
From: John Wiegley @ 2016-04-14 18:52 UTC (permalink / raw)
  To: Drew Adams; +Cc: 23289, Chunyang Xu

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

>>>>> Drew Adams <drew.adams@oracle.com> writes:

>> In emacs-lisp-mode buffer, C-h S can find symbol from emacs and elisp info
>> manual, but I find cl-lib is used a lot in many places, so I want C-h S
>> works for symbols from cl-lib info manual too. There are also some other
>> emacs related info manuals, I don't know whether it is worth supporting
>> them as well.

> +1

+1, and also there are packages that do exactly this, such as Info-lookmore.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode?
  2016-04-14 13:45 bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode? Chunyang Xu
  2016-04-14 18:05 ` Drew Adams
@ 2016-04-16 11:21 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2016-04-16 11:21 UTC (permalink / raw)
  To: Chunyang Xu; +Cc: 23289-done

> Date: Thu, 14 Apr 2016 21:45:09 +0800
> From: Chunyang Xu <xuchunyang.me@gmail.com>
> 
> In emacs-lisp-mode buffer, C-h S can find symbol from emacs and elisp
> info manual, but I find cl-lib is used a lot in many places, so I want
> C-h S works for symbols from cl-lib info manual too.

Thanks, fixed.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-16 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 13:45 bug#23289: 25.1.50; Make C-h S ('info-lookup-symbol') support more manuals in emacs-lisp-mode? Chunyang Xu
2016-04-14 18:05 ` Drew Adams
2016-04-14 18:52   ` John Wiegley
2016-04-16 11:21 ` Eli Zaretskii

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