1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Glenn Morris
947518dbb8 htmlfontify.el: remove duplicate Version: header 2013-10-30 15:35:14 -04:00
Glenn Morris
6c3d1c01b4 Revert auto-commit loaddefs weirdness 2013-10-30 09:29:36 -07:00
Glenn Morris
13e9d2a7ea Fix weirdness caused by autoload generation... 2013-10-30 09:21:41 -07:00
Glenn Morris
37d710e907 Auto-commit of loaddefs files. 2013-10-30 06:23:16 -04:00
Glenn Morris
fb02976349 Auto-commit of loaddefs files. 2013-10-27 06:22:53 -04:00
Glenn Morris
eab35f3922 * lisp/htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
(hfy-size): Handle ttys.

Fixes: debbugs:14668
2013-06-25 23:59:48 -07:00
Glenn Morris
153dd4d04f * lisp/htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457) 2013-02-21 20:32:45 -05:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Stefan Monnier
d106953274 Cleanup uses of "-hooks".
* doc/emacs/custom.texi (Hooks):
* doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.

* lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(nndiary-request-accept-article-functions):
* lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
* lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
* lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
* lisp/cedet/semantic/edit.el (semantic-change-functions)
(semantic-edits-new-change-functions)
(semantic-edits-delete-change-functions)
(semantic-edits-reparse-change-functions):
* lisp/htmlfontify.el (hfy-post-html-hook):
* lisp/filesets.el (filesets-cache-fill-content-hook):
* lisp/arc-mode.el (archive-extract-hook):
* lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
* lisp/net/rcirc.el (rcirc-sentinel-functions)
(rcirc-receive-message-functions, rcirc-activity-functions)
(rcirc-print-functions):
* lisp/net/dbus.el (dbus-event-error-functions):
* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
* lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
(checkdoc-comment-style-functions): Don't use "-hooks" suffix.

* lisp/term/sun.el (sun-raw-prefix-hooks):
* lisp/mail/sendmail.el (mail-yank-hooks):
* lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
2012-10-23 11:06:07 -04:00
Chong Yidong
59f7af816e Use declare forms, where possible, to mark obsolete functions.
* lisp/allout.el (allout-passphrase-hint-string): Likewise.
(allout-init): Use a declare form to mark obsolete.

* lisp/calendar/calendar.el (calendar-version):
* lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
(icalendar-convert-diary-to-ical):
* lisp/cus-edit.el (custom-mode):
* lisp/ansi-color.el (ansi-color-unfontify-region):
* lisp/international/latin1-disp.el (latin1-char-displayable-p):
* lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
* lisp/progmodes/which-func.el (which-func-update-1): Use
define-obsolete-function-alias.

* lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
this function obsolete.

* lisp/calendar/cal-x.el (calendar-two-frame-setup)
(calendar-only-one-frame-setup, calendar-one-frame-setup):
* lisp/calendar/calendar.el (american-calendar, european-calendar)
(calendar-for-loop):
* lisp/comint.el (comint-dynamic-simple-complete)
(comint-dynamic-complete-as-filename, comint-unquote-filename):
* lisp/desktop.el (desktop-load-default):
* lisp/dired-x.el (dired-omit-here-always)
(dired-hack-local-variables, dired-default-directory):
* lisp/emacs-lisp/derived.el (derived-mode-class):
* lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
* lisp/emacs-lock.el (toggle-emacs-lock):
* lisp/epa.el (epa-display-verify-result):
* lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
(epg-passphrase-callback-function):
* lisp/eshell/esh-util.el (eshell-for):
* lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
(eshell-add-to-window-buffer-names):
* lisp/files.el (locate-file-completion):
* lisp/imenu.el (imenu-example--create-c-index)
(imenu-example--create-lisp-index)
(imenu-example--lisp-extract-index-name)
(imenu-example--name-and-position):
* lisp/international/mule-cmds.el (princ-list):
* lisp/international/mule-diag.el (decode-codepage-char):
* lisp/international/mule-util.el (detect-coding-with-priority):
* lisp/iswitchb.el (iswitchb-read-buffer):
* lisp/mail/mailalias.el (mail-complete):
* lisp/mail/sendmail.el (mail-sent-via):
* lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
(mouse-major-mode-menu):
* lisp/password-cache.el (password-read-and-add):
* lisp/pcomplete.el (pcomplete-parse-comint-arguments):
* lisp/progmodes/sh-script.el (sh-maybe-here-document):
* lisp/replace.el (query-replace-regexp-eval):
* lisp/savehist.el (savehist-load):
* lisp/simple.el (choose-completion-delete-max-match):
* lisp/term.el (term-dynamic-simple-complete):
* lisp/vc/ediff-init.el (ediff-check-version):
* lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
* lisp/vc/vc.el (vc-diff-switches-list):
* lisp/view.el (view-return-to-alist-update): Likewise.

* lisp/iswitchb.el (iswitchb-read-buffer): Move code of
iswitchb-define-mode-map here, and delete that obsolete function.

* lisp/subr.el (eval-next-after-load, makehash, insert-string)
(assoc-ignore-representation, assoc-ignore-case): Use declare to
mark obsolete.
(mode-line-inverse-video): Variable deleted.

* lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
this applies to functions.

* lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.

* lisp/international/mule-util.el (string-to-sequence): Remove.

* lisp/net/newst-backend.el (newsticker-cache-filename):
* lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
incorrect obsolescence declaration.

* lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
font-lock-reference-face.

* lisp/url/url-parse.el (url-recreate-url-attributes):
* lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
obsolete.

* src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
2012-09-25 12:13:02 +08:00
Jambunathan K
f02ff80d33 * htmlfontify.el: Add support for code block fontification
for ODT export.
(hfy-optimisations): Define new option
`body-text-only'
(hfy-fontify-buffer): Honor above setting.
(hfy-begin-span, hfy-end-span): New routines factored out form
`hfy-fontify-buffer'.
(hfy-begin-span-handler, hfy-end-span-handler): New variables
that permit insertion of custom tags.
(hfy-fontify-buffer): Use above handlers.
(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
(hfy-face-to-css): Re-defined to be a variable.
(hfy-compile-stylesheet): Modified.  Allow stylesheet to be built
over multiple runs. This is made possible by having the caller let
bind a special variable `hfy-user-sheet-assoc'.
(htmlfontify-string): New defun.
(hfy-compile-face-map): Make sure that the last char in the
buffer is correctly fontified.
(hfy-face-resolve-face): Whitespace only change.

Fixes: debbugs:9914
2012-03-17 22:03:54 +08:00
Glenn Morris
44e97401cd Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Paul Eggert
5a5fa83428 Duplicate-word and spelling fixes. 2012-01-10 22:53:12 -08:00
Glenn Morris
cf3304e1c5 Auto-commit of loaddefs files. 2012-01-05 06:49:08 -05:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
fa46310344 Spelling fixes. 2011-12-05 00:55:25 -08:00
Juanma Barranquero
5c32d3f2f9 Fix typos. 2011-11-30 17:33:05 +01:00
Paul Eggert
e1dbe924b5 Spelling fixes. 2011-11-19 18:29:42 -08:00
Paul Eggert
5396468298 Spelling fixes. 2011-11-19 01:18:31 -08:00
Paul Eggert
c5e87d104b Spelling fixes. 2011-11-17 09:40:48 -08:00
Paul Eggert
4c36be58ca Spelling fixes. 2011-11-17 01:09:20 -08:00
Juanma Barranquero
c701515351 Fix typos. 2011-11-15 18:37:37 +01:00
Paul Eggert
f6b1b0a848 Spelling fixes. 2011-11-12 23:48:23 -08:00
Juanma Barranquero
06b605171f lisp/*.el: Lexical-binding cleanup. 2011-04-19 15:44:55 +02:00
Stefan Monnier
037e7c3fd0 * lisp/htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
(hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
(hfy-etags-cmd-alist): Don't eval-and-compile any more.
2011-04-15 09:35:32 -03:00
Chong Yidong
2e804fc7e7 Update autoloads. 2011-01-28 11:58:04 -05:00
Stefan Monnier
153c5428d2 * lisp/htmlfontify.el: Make it obey the font-lock-face text property.
Miscellaneous cleanup such as:
- Don't hide expressions after a closing paren.
- Move initial setq into let.
- Hoist common parts out of ifs.
(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
(hfy-face-at): Use get-text-property instead.
(hfy-prop-invisible-p): Use invisible-p if available.
(htmlfontify-manual): Use \\[...].
(hfy-html-quote-regex): Use [...].
(hfy-combined-face-spec): Simplify.
(hfy-compile-face-map): Don't presume point-min==1.
(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
match end of string.
(hfy-text-p): η-reduce.
(hfy-tags-for-file): Receive cache-hash directly.
(hfy-mark-tag-names): Adjust call.
2011-01-27 12:04:07 -05:00
Glenn Morris
95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Andreas Schwab
44ec06d43e Update md5 checksums 2011-01-18 20:08:00 +01:00
Paul Eggert
61f74651c4 Merge from mainline. 2011-01-17 11:47:38 -08:00
Paul Eggert
a3e44e7937 Merge from mainline. 2011-01-17 11:01:01 -08:00
Glenn Morris
e9bffc61f2 Refill some copyright headers. 2011-01-15 18:21:30 -08:00
Stefan Monnier
f80aa5bfa9 Update md5 checksums 2011-01-14 13:06:07 -05: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
5d5870b813 * lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686). 2010-10-08 00:42:51 -07:00
Stefan Monnier
4de81ee0d2 * lisp/emacs-lisp/pcase.el (pcase-split-memq): Overenthusiastic optimisation.
(pcase-u1): Handle the case of a lambda pred.
2010-09-01 12:03:08 +02:00
Chong Yidong
aad4679e7d Add "Version:" and "Package:" Lisp file headers. 2010-08-29 16:10:43 -04:00
Chong Yidong
2ec1b5ee34 Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
Chong Yidong
b7d4de5185 Minor fix for htmlfontify.el (Bug#6239).
* htmlfontify.el (hfy-face-attr-for-class): Use `append' instead
of `nconc' (Bug#6239).
2010-06-27 14:24:42 -04:00
Chong Yidong
ecb0ab90c4 Let htmlfontify recognize face aliases (Bug#6279).
* progmodes/verilog-mode.el (verilog-type-font-keywords): Use
font-lock-constant-face, not obsolete font-lock-reference-face.

* htmlfontify.el (hfy-face-resolve-face): New function.
(hfy-face-to-style): Use it (Bug#6279).
2010-05-27 11:28:58 -04:00
Chong Yidong
4da3541bbe * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
font-lock-constant-face, not obsolete font-lock-reference-face.

* htmlfontify.el (hfy-face-resolve-face): New function.
(hfy-face-to-style): Use it (Bug#6279).
2010-05-27 11:25:58 -04:00
Glenn Morris
cbcfee6ef4 Minor htmlfontify simplifications.
* hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
Add autoload cookies.
(htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
(generated-autoload-file): Set file-local value to "htmlfontify.el".
* htmlfontify.el (caddr, cadddr): Remove fallback definitions.
They have definitions / compiler macros in cl.el.
(htmlfontify-load-rgb-file, hfy-fallback-colour-values):
Replace manual autoloads with generated ones.
(htmlfontify-unload-rgb-file): Remove autoload.
2010-04-23 19:36:43 -07:00
Glenn Morris
0433ffa6c7 Add some autoloads.
* htmlfontify.el (htmlfontify-buffer)
(htmlfontify-copy-and-link-dir): Autoload entry points.
2010-04-16 19:07:48 -07:00
Chong Yidong
b660eb70f1 Minor doc fixes.
* htmlfontify.el (htmlfontify): Doc fix.
* eshell/eshell.el (eshell): Doc fix.
2010-02-21 16:05:13 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juanma Barranquero
30afcdfffd Fix typos and remove superfluous backslash-quoting in htmlfontify.el.
* htmlfontify.el (htmlfontify-load-rgb-file)
  (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
  (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
  (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
  (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
  (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
  (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
  (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
  (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
  (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
  (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
  (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
  (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
  (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
  (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
  (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
  (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
  (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
  (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
  (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
  (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
  (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
  (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
  backslash-quoting from parentheses, etc.
2010-01-11 18:26:28 +01:00
Stefan Monnier
2ea1c4aa5e Drop some properties to avoid surprises.
* htmlfontify.el (hfy-ignored-properties): New defcustom.
(hfy-fontify-buffer): Use it.
2009-12-09 05:56:53 +00:00
Miles Bader
964f5b2b79 Add arch tagline 2009-12-01 09:28:22 +00:00