Paul Eggert
0877d0dc24
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
2013-01-02 08:13:04 -08:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Chong Yidong
433212bfdf
* lisp/woman.el (woman-default-faces, woman-monochrome-faces): Mark as obsolete.
2012-11-25 00:58:43 +08:00
Juanma Barranquero
c9ed8e3d2b
Silence some warnings.
...
lisp/woman.el (woman-non-underline-faces): Use `set-face-underline'.
lisp/calc/calc.el (math-format-date-cache): Declare.
2012-11-18 02:20:04 +01:00
Juanma Barranquero
d7fe635216
lisp/*.el: Add missing declarations.
...
* descr-text.el (quail-find-key):
* dired.el (desktop-file-name):
* dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
* generic-x.el (comint-mode, comint-exec):
* image-dired.el (widget-forward):
* info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
(speedbar-change-expand-button-char)
(speedbar-change-initial-expansion-list, speedbar-delete-subblock)
(speedbar-make-specialized-keymap, speedbar-make-tag-line):
* printing.el (easy-menu-add-item, easy-menu-remove-item)
(widget-field-action, widget-value-set):
* speedbar.el (imenu--make-index-alist):
* term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
(ring-length, ring-insert):
* vcursor.el (compare-windows-skip-whitespace):
* woman.el (dired-get-filename):
Declare functions.
* term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2012-11-17 22:52:12 +01:00
Glenn Morris
9a5e2ee3cc
Use set-face-underline rather than the alias set-face-underline-p
...
* lisp/woman.el (woman-non-underline-faces):
* lisp/emacs-lisp/cl-lib.el (face-underline-p):
Use set-face-underline rather than the alias set-face-underline-p.
2012-11-16 20:29:24 -05:00
Stefan Monnier
fa470af020
* lisp/woman.el (woman-file-name): Don't mess with unread-command-events.
...
Fixes: debbugs:12861
2012-11-13 11:59:34 -05:00
Stefan Monnier
c9cac599db
* lisp/woman.el (woman-decode-region): Disable adaptive-fill when rendering.
...
Fixes: debbugs:12756
2012-11-05 20:49:44 -05:00
Kevin Ryde
4574557789
* woman.el (woman-parse-numeric-value): Handle picas correctly.
...
Fixes: debbugs:12639
2012-10-29 18:30:11 +08:00
Paul Eggert
8b2e00a329
Spelling fixes.
...
* Makefile.in (.PHONY): versioclean -> versionclean.
2012-08-26 03:29:37 -07:00
Kevin Ryde
54eea61817
Fix two woman bugs.
...
* lisp/woman.el (woman0-if): Quietly treat ".if v" as false.
(woman-parse-numeric-value): On a bad .IP line, issue a warning
and continue processing.
Fixes: debbugs:12110 debbugs:12109
2012-08-07 11:57:05 +08:00
Bastien Guerry
7a6aa36983
Remove outdate comment section in woman.el. See bug #12099 .
2012-07-31 15:32:21 +02:00
Paul Eggert
09ae5da1b8
Prefer typical American spelling for "acknowledgment".
2012-07-24 22:48:19 -07:00
Stefan Monnier
a464a6c73a
More CL cleanups and reduction of use of cl.el.
...
* woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
* vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
* textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
* strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
* progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
* play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
* play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
* net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
* image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
* eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
* eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
* eshell/em-cmpl.el, eshell/em-banner.el:
* url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
* url/url-future.el, url/url-dav.el, url/url-cookie.el:
* calendar/parse-time.el, test/eshell.el: Use cl-lib.
* wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
* vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
* textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
* term/ns-win.el, term.el, shell.el, ps-samp.el:
* progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
* progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
* play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
* net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
* net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
* mail/mailheader.el, mail/feedmail.el:
* url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
* url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
Dont use CL.
* ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
* eshell/esh-opt.el (eshell-eval-using-options): Quote code with
`lambda' rather than with `quote'.
(eshell-do-opt): Adjust accordingly.
(eshell-process-option): Simplify.
* eshell/esh-var.el:
* eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
* emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
(pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
to `pcase--dontcare'.
* emacs-cl.el (labels): Mark obsolete.
(cl--letf, letf): Move to cl-lib.
(cl--letf*, letf*): Remove.
* emacs-cl-lib.el (cl-nth-value): Use defalias.
* emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
(cl-progv): Rewrite.
(cl--letf, cl-letf): Move from cl.el.
(cl-letf*): New macro.
* emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2012-07-11 19:13:41 -04:00
Kevin Ryde
87a92845e7
* woman.el (woman2-process-escapes): Handle nofill regions.
...
Fixes: debbugs:11591
2012-07-07 18:10:47 +08:00
Kevin Ryde
f0ecdfeaae
* woman.el (woman-strings): Fix double-quote handling.
...
(woman-decode-region): Replace escaped-escapes without destroying
bold or underline.
Fixes: debbugs:1151
2012-07-07 18:06:38 +08:00
Sam Steingold
d2c32364fd
* lisp/files.el (file-name-base): New convenience function.
...
* lisp/autoinsert.el, lisp/cus-dep.el, lisp/doc-view.el, lisp/image-dired.el,
* lisp/woman.el, lisp/eshell/esh-cmd.el, lisp/progmodes/ada-xref.el,
* lisp/progmodes/cc-defs.el, lisp/progmodes/cperl-mode.el,
* lisp/progmodes/flymake.el, lisp/progmodes/gud.el, lisp/progmodes/idlwave.el,
* lisp/textmodes/ispell.el, lisp/textmodes/reftex-ref.el,
* lisp/textmodes/tex-mode.el: Use it.
Did not touch cedet and org because they are maintained elsewhere.
2012-06-26 12:23:01 -04:00
Michael Vehrs
081e8d653d
Improve tbl support in woman.el.
...
* lisp/woman.el (woman-find-next-control-line): New arg, specifying an
additional regexp component for the control line.
(woman2-roff-buffer): Use it.
(woman-break-table): New function.
(woman2-TS): Use it.
And some cleanups:
* lisp/woman.el (woman-set-buffer-display-table, woman-decode-region)
(woman-horizontal-escapes, woman-negative-vertical-space)
(woman-tab-to-tab-stop, woman2-fc, woman2-TS)
(WoMan-warn-ignored): Use ?\s instead of ?\ .
Fixes: debbugs:5635
2012-04-21 13:54:39 +08:00
Glenn Morris
6b955486f5
Replace a use of eval-after-load
...
* lisp/woman.el: Remove eval-after-load for tar-mode.
* lisp/tar-mode.el (tar-mode-map): Add woman binding and menu entry.
(woman-tar-extract-file): Autoload it.
2012-04-16 14:46:46 -04:00
Chong Yidong
b4d3bc10dc
Remove defining user variables via * in docstring.
...
* lisp/apropos.el (apropos-variable):
* lisp/files-x.el (read-file-local-variable):
* lisp/simple.el (set-variable):
* lisp/woman.el (woman-mini-help):
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
* lisp/custom.el (custom-variable-p): Return nil for non-symbol
arguments instead of signaling an error.
(user-variable-p): Obsolete alias for custom-variable-p.
* lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
user-variable-p.
* src/callint.c (Finteractive, Fcall_interactively):
* src/minibuf.c (Fread_variable): Callers changed.
* src/eval.c (Fuser_variable_p, user_variable_p_eh)
(lisp_indirect_variable): Functions deleted.
(Fdefvar): Caller changed.
* doc/lispref/commands.texi (Interactive Codes):
* doc/lispref/help.texi (Accessing Documentation):
* doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
* doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
2012-04-09 20:36:01 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
e1dbe924b5
Spelling fixes.
2011-11-19 18:29:42 -08:00
Paul Eggert
4c36be58ca
Spelling fixes.
2011-11-17 01:09:20 -08:00
Paul Eggert
8350f087ef
Spelling fixes.
2011-11-14 12:23:26 -08:00
Paul Eggert
fe3c566957
Spelling fixes.
2011-11-08 22:10:51 -08:00
Chong Yidong
c940224fe6
Fix yet another woman parser snafu.
...
* woman.el (woman2-process-escapes): Don't delete unrecognized
escapes (Bug#7843).
2011-09-18 12:03:48 -04:00
Glenn Morris
69f4b6184f
* lisp/woman.el (woman-special-characters): Add hy character.
2011-09-08 23:34:59 -07:00
Glenn Morris
8aa187e7d1
* lisp/woman.el (woman-special-characters): Add oq and cq quote characters.
2011-09-08 23:32:08 -07:00
Glenn Morris
28c451307b
woman.el fix for bug#9447.
...
* lisp/woman.el (woman-if-body): When processing an .el block,
do not delete the next .el block as well.
2011-09-08 23:23:47 -07:00
Paul Eggert
b9444d97fe
* woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
...
by using time-since and float-time.
2011-06-30 21:52:27 -07:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Chong Yidong
40e22d80ae
Fix for woman escape sequence processing (Bug#7843).
...
* lisp/woman.el (woman0-roff-buffer): Process roff escape sequences
occurring prior to the first request.
2011-01-28 16:20:40 -05:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
5ed619e0a3
Use line-end-position rather than end-of-line, etc.
...
* textmodes/texnfo-upd.el (texinfo-start-menu-description)
(texinfo-update-menu-region-beginning, texinfo-menu-first-node)
(texinfo-delete-existing-pointers, texinfo-find-pointer)
(texinfo-clean-up-node-line, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* textmodes/table.el (table--probe-cell-left-up)
(table--probe-cell-right-bottom):
* textmodes/picture.el (picture-tab-search):
* textmodes/page-ext.el (pages-copy-header-and-position)
(pages-directory-for-addresses):
* progmodes/vera-mode.el (vera-get-offset):
* progmodes/simula.el (simula-calculate-indent):
* progmodes/python.el (python-pdbtrack-overlay-arrow):
* progmodes/prolog.el (end-of-prolog-clause):
* progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
* progmodes/icon.el (indent-icon-exp):
* progmodes/etags.el (tag-re-match-p):
* progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
* progmodes/ebnf2ps.el (ebnf-begin-file):
* progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-save-local-variable):
* play/life.el (life-setup):
* play/gametree.el (gametree-looking-at-ply):
* nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
* mail/sendmail.el (mail-mode-auto-fill):
* emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* emacs-lisp/edebug.el (edebug-overlay-arrow):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
* woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
(woman-tab-to-tab-stop, WoMan-warn-ignored):
* type-break.el (type-break-file-keystroke-count):
* term.el (term-replace-by-expanded-history-before-point)
(term-skip-prompt, term-extract-string):
* speedbar.el (speedbar-edit-line, speedbar-expand-line)
(speedbar-contract-line, speedbar-toggle-line-expansion)
(speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
(speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
* sort.el (sort-skip-fields):
* skeleton.el (skeleton-internal-list):
* simple.el (line-move-finish, line-move-to-column):
* shell.el (shell-forward-command):
* misc.el (copy-from-above-command):
* makesum.el (double-column):
* ebuff-menu.el (electric-buffer-update-highlight):
* dired.el (dired-move-to-end-of-filename):
* dframe.el (dframe-popup-kludge):
* bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
* arc-mode.el (archive-get-lineno):
Use line-end-position and line-beginning-position.
* net/ange-ftp.el, progmodes/hideif.el, reposition.el:
Same, but only in comments.
2010-11-06 13:23:42 -07:00
Glenn Morris
f7fe4837cd
Quiet, woman. (Sorry...).
...
* lisp/woman.el (woman0-roff-buffer, woman1-roff-buffer)
(woman2-roff-buffer): Give local variable `request' a prefix.
(woman0-macro): Rename argument `request' in the same way.
(woman-request): New name for `request' dynamic variable.
(woman-unquote, woman-forward-arg): Update for above name change.
(woman1-roff-buffer): Give local variable `unquote' a prefix.
(woman1-unquote): New name for `unquote' dynamic variable.
(woman1-B-or-I, woman1-alt-fonts): Update for above name change.
(woman-translations): Rename from `translations'. No longer global.
(woman2-tr, woman-translate): Update for above name change.
(woman-translate): Check for bound variable.
(woman2-roff-buffer): Give local variable `translations' a prefix.
2010-11-05 01:16:55 -07:00
Chong Yidong
0c382083b6
Merge changes from emacs-23
2010-10-24 17:36:09 -04:00
Juanma Barranquero
88dbda519d
Fix typos.
...
* doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos.
* lisp/org/org-exp.el (org-export-visible):
* lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
Fix typos in docstrings.
2010-10-23 01:38:34 +02:00
Ulrich Mueller
4c96435152
Add more xz compression support.
...
* doc/man/etags.1: xz compression is now supported.
* doc/misc/woman.texi (Interface Options): xz compression is now supported.
* lib-src/etags.c (compressors, print_language_names): Support xz compression.
* lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
* lisp/eshell/esh-util.el (eshell-tar-regexp):
* lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
* lisp/info.el (Info-suffix-list):
* lisp/international/mule.el (auto-coding-alist):
* lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
* lisp/progmodes/etags.el (tags-compression-info-list):
Support xz compression.
2010-09-25 14:42:48 -07:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Chong Yidong
b0126eac41
Merge changes from emacs-23 branch.
2010-08-22 16:02:16 -04:00
Glenn Morris
bb25c8d7a1
* lisp/woman.el (woman-translate): Case matters. (Bug#6849)
2010-08-17 19:33:13 -07:00
Karl Fogel
e44fa724e4
Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
...
* lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
information to be omitted from the record.
Adjust declarations and calls:
* lisp/info.el (bookmark-make-record-default): Adjust declaration.
(Info-bookmark-make-record): Adjust call.
* lisp/woman.el (bookmark-make-record-default): Adjust declaration.
(woman-bookmark-make-record): Adjust call.
* lisp/man.el (bookmark-make-record-default): Adjust declaration.
(Man-bookmark-make-record): Adjust call.
* lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.
* lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.
* lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
2010-07-14 11:57:54 -04:00
Stefan Monnier
d355a0b791
Replace Lisp calls to delete-backward-char by delete-char.
...
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Stefan Monnier
ebb9641fb2
Add a new field `location' to bookmarks for non-file bookmarks.
...
* bookmark.el (bookmark-location): Use the new field, if present.
(bookmark-insert-location): Undo last change, not needed any more.
* man.el (Man-bookmark-make-record):
* woman.el (woman-bookmark-make-record):
* gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
2010-04-14 11:07:53 -04:00
Stefan Monnier
398a825b8d
Clean up last bookmark changes for man/woman/gnus-summary.
...
* gnus-sum.el: Add bookmark declarations to silence the compiler.
(gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
Use with-current-buffer to silence the byte-compiler.
(gnus-summary-bookmark-make-record): Use derived-mode-p and don't
bother to require `gnus'.
(gnus-summary-bookmark-jump): Don't forget to autoload. Simplify.
* woman.el: Add bookmark declarations to silence the compiler.
(bookmark-prop-get): Use `man-args' rather than `filename' as a first
step to compatibility between man and woman bookmarks.
Adjust for Man-default-bookmark-title renaming.
(woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
* man.el: Add bookmark declarations to silence the compiler.
(Man-name-local-regexp): Make it match NAME as well.
(Man-getpage-in-background): Return the buffer.
(Man-notify-when-ready): Use `case'.
(man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
Don't hardcode "NAME". Simplify.
(Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
Rename from Man-bookmark-make-record.
(Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
we have the actual man-args. Use Man-getpage-in-background rather
than `man' since the arg is already processed. Let bookmark.el do the
window handling. Only wait for the relevant process.
Don't forget to autoload.
* bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
2010-04-12 12:09:47 -04:00
Thierry Volpiatto
45be326afc
Summary: Add bookmark support for man, woman and gnus-summary.
...
* woman.el (woman-bookmark-make-record, woman-bookmark-jump):
New functions.
(woman-mode): Setup bookmark support.
* man.el (man-set-default-bookmark-title, man-bookmark-make-record)
(man-bookmark-jump): New functions.
(Man-mode): Setup bookmark support.
* gnus-sum.el (gnus-summary-bookmark-make-record)
(gnus-summary-bookmark-jump): New functions.
(gnus-summary-mode): Setup bookmark support.
2010-04-12 11:17:29 -04:00
Chong Yidong
d5704d66b7
Woman parsing fix (Bug#5729).
...
* woman.el (woman2-process-escapes): Only consume the newline if
the filler character is on a line by itself (Bug#5729).
2010-03-16 13:24:44 -04:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00