mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Add elisp-info.el, provide functions for Emacs to find
description of function or variable from Emacs-Lisp Reference Manual.
This commit is contained in:
parent
8813376ab3
commit
43008f4520
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53592
40
editors/mode-info/Makefile
Normal file
40
editors/mode-info/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: elisp-info.el
|
||||
# Date Created: 21 Jan 2002
|
||||
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= elisp-info
|
||||
PORTVERSION= 2.11
|
||||
CATEGORIES= japanese elisp
|
||||
MASTER_SITES= http://namazu.org/~tsuchiya/elisp/
|
||||
DISTNAME= ${PORTNAME}
|
||||
EXTRACT_SUFX= .el
|
||||
|
||||
MAINTAINER= yoichi@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual
|
||||
RUN_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS= -p
|
||||
EXTRACT_AFTER_ARGS= ./
|
||||
|
||||
EMACS_PORT_NAME?= emacs21
|
||||
EMACS_NO_RUN_DEPENDS= yes
|
||||
LISPDIR?= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/ELISP_CFG ${WRKDIR}
|
||||
do-build:
|
||||
(cd ${WRKDIR}; \
|
||||
${EMACS_CMD} -batch -l ./ELISP_CFG -l ./${PORTNAME}.el -f ${PORTNAME}-make-index)
|
||||
do-install:
|
||||
${MKDIR} ${LISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.el ${LISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-index.el ${LISPDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-setup.el ${LISPDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
1
editors/mode-info/distinfo
Normal file
1
editors/mode-info/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (elisp-info.el) = 8f1d82402b087992586186597a88fe4c
|
3
editors/mode-info/files/ELISP_CFG
Normal file
3
editors/mode-info/files/ELISP_CFG
Normal file
@ -0,0 +1,3 @@
|
||||
(require 'info)
|
||||
(info-initialize)
|
||||
(setq elisp-info-list '("elisp-ja"))
|
11
editors/mode-info/files/elisp-info-setup.el
Normal file
11
editors/mode-info/files/elisp-info-setup.el
Normal file
@ -0,0 +1,11 @@
|
||||
;; Setup for elisp-info.el
|
||||
(require 'elisp-info)
|
||||
(eval-after-load "help.el"
|
||||
(progn
|
||||
(define-key help-map "f" 'elisp-info-describe-function)
|
||||
(define-key help-map "d" 'elisp-info-describe-function)
|
||||
(define-key help-map "D" 'describe-function)
|
||||
(define-key help-map "v" 'elisp-info-describe-variable)
|
||||
(define-key help-map "V" 'describe-variable)
|
||||
(define-key help-mode-map "i" 'elisp-info-help-to-info)))
|
||||
(provide 'elisp-info-setup)
|
1
editors/mode-info/pkg-comment
Normal file
1
editors/mode-info/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Functions to refer Emacs-Lisp Reference Manual
|
9
editors/mode-info/pkg-descr
Normal file
9
editors/mode-info/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
This package provide functions for Emacs with which you can
|
||||
find description of function or variable from Emacs-Lisp
|
||||
Reference Manual. If you put (require 'elisp-info-setup)
|
||||
in ~/.emacs then following key binds are provided.
|
||||
|
||||
C-h f (C-h d) : elisp-info-describe-function
|
||||
C-h D : describe-function
|
||||
C-h v : elisp-info-describe-variable
|
||||
C-h V : describe-variable
|
4
editors/mode-info/pkg-plist
Normal file
4
editors/mode-info/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info.el
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-index.el
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-setup.el
|
||||
@dirrm %%EMACS_SITE_LISPDIR%%/elisp-info
|
@ -61,6 +61,7 @@
|
||||
SUBDIR += eijiro-fpw
|
||||
SUBDIR += elisa10x8
|
||||
SUBDIR += elisa8x8
|
||||
SUBDIR += elisp-info
|
||||
SUBDIR += elisp-manual
|
||||
SUBDIR += elvis
|
||||
SUBDIR += emacs-manual
|
||||
|
40
japanese/elisp-info/Makefile
Normal file
40
japanese/elisp-info/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: elisp-info.el
|
||||
# Date Created: 21 Jan 2002
|
||||
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= elisp-info
|
||||
PORTVERSION= 2.11
|
||||
CATEGORIES= japanese elisp
|
||||
MASTER_SITES= http://namazu.org/~tsuchiya/elisp/
|
||||
DISTNAME= ${PORTNAME}
|
||||
EXTRACT_SUFX= .el
|
||||
|
||||
MAINTAINER= yoichi@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual
|
||||
RUN_DEPENDS= ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS= -p
|
||||
EXTRACT_AFTER_ARGS= ./
|
||||
|
||||
EMACS_PORT_NAME?= emacs21
|
||||
EMACS_NO_RUN_DEPENDS= yes
|
||||
LISPDIR?= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/ELISP_CFG ${WRKDIR}
|
||||
do-build:
|
||||
(cd ${WRKDIR}; \
|
||||
${EMACS_CMD} -batch -l ./ELISP_CFG -l ./${PORTNAME}.el -f ${PORTNAME}-make-index)
|
||||
do-install:
|
||||
${MKDIR} ${LISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.el ${LISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-index.el ${LISPDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-setup.el ${LISPDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
1
japanese/elisp-info/distinfo
Normal file
1
japanese/elisp-info/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (elisp-info.el) = 8f1d82402b087992586186597a88fe4c
|
3
japanese/elisp-info/files/ELISP_CFG
Normal file
3
japanese/elisp-info/files/ELISP_CFG
Normal file
@ -0,0 +1,3 @@
|
||||
(require 'info)
|
||||
(info-initialize)
|
||||
(setq elisp-info-list '("elisp-ja"))
|
11
japanese/elisp-info/files/elisp-info-setup.el
Normal file
11
japanese/elisp-info/files/elisp-info-setup.el
Normal file
@ -0,0 +1,11 @@
|
||||
;; Setup for elisp-info.el
|
||||
(require 'elisp-info)
|
||||
(eval-after-load "help.el"
|
||||
(progn
|
||||
(define-key help-map "f" 'elisp-info-describe-function)
|
||||
(define-key help-map "d" 'elisp-info-describe-function)
|
||||
(define-key help-map "D" 'describe-function)
|
||||
(define-key help-map "v" 'elisp-info-describe-variable)
|
||||
(define-key help-map "V" 'describe-variable)
|
||||
(define-key help-mode-map "i" 'elisp-info-help-to-info)))
|
||||
(provide 'elisp-info-setup)
|
1
japanese/elisp-info/pkg-comment
Normal file
1
japanese/elisp-info/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Functions to refer Emacs-Lisp Reference Manual
|
9
japanese/elisp-info/pkg-descr
Normal file
9
japanese/elisp-info/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
This package provide functions for Emacs with which you can
|
||||
find description of function or variable from Emacs-Lisp
|
||||
Reference Manual. If you put (require 'elisp-info-setup)
|
||||
in ~/.emacs then following key binds are provided.
|
||||
|
||||
C-h f (C-h d) : elisp-info-describe-function
|
||||
C-h D : describe-function
|
||||
C-h v : elisp-info-describe-variable
|
||||
C-h V : describe-variable
|
4
japanese/elisp-info/pkg-plist
Normal file
4
japanese/elisp-info/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info.el
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-index.el
|
||||
%%EMACS_SITE_LISPDIR%%/elisp-info/elisp-info-setup.el
|
||||
@dirrm %%EMACS_SITE_LISPDIR%%/elisp-info
|
Loading…
Reference in New Issue
Block a user