mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* bitmaps/README:
* xfns.c: * termcap.c: * term.c: * syswait.h: * systty.h: * systime.h: * syssignal.h: * sysdep.c: * process.h: * process.c: * print.c: * ndir.h: * lread.c: * keyboard.c: * getpagesize.h: * floatfns.c: * fileio.c: * emacs.c: * doc.c: * dispnew.c: * dired.c: * data.c: * callproc.c: * buffer.c: * README: * Makefile.in: * s/template.h: * s/msdos.h: * m/vax.h: Remove VMS support. * s/vms.h: * vlimit.h: * uaf.h: * temacs.opt: * param.h: * ioctl.h: Remove file. * descrip.mms: * compile.com: Remove file. * Create.c: Remove VMS support. * message.el (Module): * gnus-start.el (Module): * gnus-registry.el (Module): * textmodes/texinfmt.el: * nxml/nxml-enc.el: * mail/feedmail.el: * international/mule.el: * international/latexenc.el: * emulation/viper-util.el: * emulation/viper-init.el: * emulation/viper-ex.el: * emacs-lisp/bytecomp.el: * version.el: * subr.el: * startup.el: * sort.el: * shadowfile.el: * recentf.el: * printing.el: * paths.el: * minibuffer.el: * ls-lisp.el: * loadup.el: * hippie-exp.el: * finder.el: * files.el: * ediff-util.el: * ediff-ptch.el: * ediff-init.el: * ediff-diff.el: * dired.el: * dired-aux.el: * cus-edit.el: * bindings.el: * arc-mode.el: * add-log.el: Remove VMS support. * obsolete/vmsproc.el: * obsolete/vms-pmail.el: * obsolete/vms-patch.el: Remove file. * etags.c: * emacsclient.c: Remove VMS support. * termcap.src: Remove file. * README: * PROBLEMS: * MACHINES: Remove VMS info. * ediff.texi: Remove VMS support. * os.texi: * intro.texi: * files.texi: Remove VMS support. * emacs.texi: Remove VMS support. * make-dist: * README: Remove VMS support. * vms: Remove directory.
This commit is contained in:
parent
69ab3201ca
commit
7c2fb837ec
105 changed files with 251 additions and 23137 deletions
|
|
@ -2962,29 +2962,6 @@ Default is to leave paragraph indentation as is."
|
|||
("pg" . texinfo-format-pindex)
|
||||
("ky" . texinfo-format-kindex)))
|
||||
|
||||
|
||||
;;; Sort and index (for VMS)
|
||||
|
||||
;; Sort an index which is in the current buffer between START and END.
|
||||
;; Used on VMS, where the `sort' utility is not available.
|
||||
(defun texinfo-sort-region (start end)
|
||||
(require 'sort)
|
||||
(save-restriction
|
||||
(narrow-to-region start end)
|
||||
(goto-char (point-min))
|
||||
(sort-subr nil 'forward-line 'end-of-line 'texinfo-sort-startkeyfun)))
|
||||
|
||||
;; Subroutine for sorting an index.
|
||||
;; At start of a line, return a string to sort the line under.
|
||||
(defun texinfo-sort-startkeyfun ()
|
||||
(let ((line (buffer-substring-no-properties (point) (line-end-position))))
|
||||
;; Canonicalize whitespace and eliminate funny chars.
|
||||
(while (string-match "[ \t][ \t]+\\|[^a-z0-9 ]+" line)
|
||||
(setq line (concat (substring line 0 (match-beginning 0))
|
||||
" "
|
||||
(substring line (match-end 0)))))
|
||||
line))
|
||||
|
||||
|
||||
;;; @printindex
|
||||
|
||||
|
|
@ -3002,9 +2979,7 @@ Default is to leave paragraph indentation as is."
|
|||
(insert "\n* Menu:\n\n")
|
||||
(setq opoint (point))
|
||||
(texinfo-print-index nil indexelts)
|
||||
(if (memq system-type '(vax-vms windows-nt ms-dos))
|
||||
(texinfo-sort-region opoint (point))
|
||||
(shell-command-on-region opoint (point) "sort -fd" 1))))
|
||||
(shell-command-on-region opoint (point) "sort -fd" 1)))
|
||||
|
||||
(defun texinfo-print-index (file indexelts)
|
||||
(while indexelts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue