1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
Commit graph

2847 commits

Author SHA1 Message Date
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
Glenn Morris
ab1dc14b22 Merge from emacs-24; up to 2012-05-08T15:19:18Z!monnier@iro.umontreal.ca 2012-10-16 20:44:00 -07:00
Kazuhiro Ito
a31eeec28f * lisp/gnu/starttls.el (starttls-extra-arguments): Doc fix (tiny change)
Fixes: debbugs:12608
2012-10-09 13:55:08 -04:00
Lars Magne Ingebrigtsen
7518fc1221 shr.el (shr-insert): \r is also not inserted, so don't try to delete it 2012-10-09 02:28:34 +00:00
Glenn Morris
d1a1c7e649 Add missing :version tags
* profiler.el (profiler): Add missing group :version tag.
* avoid.el (mouse-avoidance-banish-position):
* proced.el (proced-renice-command):
* calc/calc.el (calc-ensure-consistent-units):
* calendar/icalendar.el (icalendar-import-format-uid):
* net/tramp.el (tramp-save-ad-hoc-proxies):
* progmodes/bug-reference.el (bug-reference-bug-regexp):
* progmodes/flymake.el (flymake-error-bitmap)
(flymake-warning-bitmap, flymake-fringe-indicator-position):
* progmodes/sh-script.el (sh-indent-after-continuation):
* progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
(verilog-before-save-font-hook, verilog-after-save-font-hook):
* progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
(vhdl-array-index-record-field-in-sensitivity-list)
(vhdl-indent-comment-like-next-code-line):
* textmodes/reftex-vars.el (reftex-ref-style-alist)
(reftex-ref-macro-prompt, reftex-ref-style-default-list)
(reftex-cite-key-separator, reftex-create-bibtex-header)
(reftex-create-bibtex-footer):
* textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
(rst-indent-literal-normal, rst-indent-literal-minimized)
(rst-indent-comment): Add missing custom :version tags.

* cedet/semantic/complete.el (semantic-displayor-tooltip-mode)
(semantic-displayor-tooltip-initial-max-tags)
(semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
* cedet/ede/linux.el (project-linux): Add missing group :version tag.

* cedet/semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.

* erc/erc.el (erc-lurker):
* erc/erc-desktop-notifications.el (erc-notifications):
Add missing group :version tags.

* gnus/gnus-notifications.el (gnus-notifications):
Add missing group :version tag.
* gnus/gnus-msg.el (gnus-gcc-pre-body-encode-hook)
(gnus-gcc-post-body-encode-hook):
* gnus/gnus-sync.el (gnus-sync-lesync-name)
(gnus-sync-lesync-install-topics): Add missing custom :version tags.
2012-10-06 13:30:26 -07:00
Juanma Barranquero
41e9b956af Fix ChangeLog typos. 2012-09-27 00:42:54 +02:00
Katsumi Yamaoka
5c11868cad gnus-art.el (gnus-article-browse-delete-temp-files): Fix previous commit 2012-09-25 23:57:37 +00:00
Katsumi Yamaoka
2eff54ba3d gnus-art.el (gnus-article-browse-delete-temp-files): Never ask again a user about whether to delete files if once a user answered as n 2012-09-25 23:39:44 +00:00
Richard M. Stallman
cdfca592b0 message-in-body-p should not alter anything. 2012-09-17 07:41:39 -04:00
Richard M. Stallman
2e8efb2f47 Handle Mail mode correctly. Some code cleanup. 2012-09-17 07:39:41 -04:00
Katsumi Yamaoka
5e2b4ce123 gnus-art.el (gnus-article-stop-animations): Use gnus-timer--function that is an alias to timer--function 2012-09-13 11:14:30 +00:00
Paul Eggert
72eac303ea Fix glitches caused by addition of psec to timers.
* etc/NEWS: Document timer format change.
* lisp/image.el (image-animate-timer):
* lisp/time.el (display-time-world-timer):
Use timer--function and timer--args rather than raw access to
timer vector.
* lisp/gnus/gnus-art.el (gnus-article-stop-animations):
Use timer--function rather than raw access to timer vector.

Fixes: debbugs:12430
2012-09-12 23:09:45 -07:00
Julien Danjou
95729d50c0 gnus-notifications.el: add nil checks 2012-09-11 10:08:59 +00:00
Stefan Monnier
9b851e2550 New emacs-lisp-byte-code-mode; misc minor changes.
* lisp/emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
(emacs-lisp-byte-code-comment)
(emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
New functions.
(eval-sexp-add-defvars): Don't skip defvars in column >0.
(eval-defun-2): Remove bogus interactive spec.
(lisp-indent-line): Remove redundant whole-exp code, now done in
indent-according-to-mode.
(save-match-data): Remove redundant indent data.
* lisp/emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
Use `declare'.
* lisp/gnus/qp.el (quoted-printable-decode-region):
Inline+CSE+strength-reduction.
2012-09-09 21:16:13 -04:00
Chong Yidong
1d43a35f49 Partially revert last Gnus merge.
The add-face function has been added gnus-compat.el, but is not in
Emacs; this leaves Gnus in an unusable state.

* lisp/gnus/gnus-salt.el (gnus-tree-highlight-node):
* lisp/gnus/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus/gnus-group.el (gnus-group-highlight-line): Revert use of add-face.

* lisp/gnus/gnus-util.el (gnus-put-text-property-excluding-characters-with-faces): Restore.
2012-09-07 12:07:00 +08:00
Gnus developers
845ce106c0 Misc changes made in Gnus master
Use combining faces for highlighting.
Change ephemeral Gnus group names to be prettier.
gnus-util.el: Fix compilation error on XEmacs 21.4.
2012-09-06 22:13:45 +00:00
Katsumi Yamaoka
4fd78b62d1 [Gnus] XEmacs 21.5 compilation fix
* gnus-score.el (gnus-score-decode-text-parts): Use #' for
  mm-text-parts used in labels macro to make it work with XEmacs 21.5.
* gnus-util.el (gnus-string-prefix-p): New function, an alias to
  string-prefix-p in Emacs >=23.2.
* nnmaildir.el (nnmaildir--ensure-suffix, nnmaildir--add-flag)
  (nnmaildir--remove-flag, nnmaildir--scan): Use gnus-string-match-p
  instead of string-match-p.
  (nnmaildir--scan): Use gnus-string-prefix-p instead of string-prefix-p.
2012-09-06 02:20:21 +00:00
Kenichi Handa
fca81a8d40 merge trunk 2012-09-06 10:49:15 +09:00
Kenichi Handa
f41d6f9db6 qp.el (quoted-printable-decode-region): Fix previous change; handle lowercase a..f. 2012-09-06 10:45:33 +09:00
Gnus developers
067b39d429 Merge changes made in Gnus master
2012-09-05  Magnus Henoch  <magnus.henoch@gmail.com>
* nnmaildir.el (nnmaildir--article-set-flags): Fix compilation error.

2012-09-05  Martin Stjernholm  <mast@lysator.liu.se>
* gnus-demon.el (gnus-demon-init): Fixed regression when IDLE is t and
  TIME is set.

2012-09-05  Juri Linkov  <juri@jurta.org>
* gnus-group.el (gnus-read-ephemeral-bug-group): Allow opening more
  than one group at a time (bug#11961).
2012-09-05 22:45:43 +00:00
Gnus developers
350a188850 Merge changes made in Gnus master
2012-09-05 Julien Danjou <julien@danjou.info>
* gnus-srvr.el (gnus-server-open-server): Don't message on failure:
  this hide the real reason with a message giving absolutely no hint.

2012-09-05 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-group.el (gnus-group-mark-article-read): Propagate the read mark
  to the backend (bug#11804).
* message.el (message-insert-newsgroups): Don't insert newsgroup
  duplicates (bug#12275).

2012-09-05 John Wiegley <johnw@newartisans.com>
* gnus.el (gnus-expand-group-parameters): Allow regexp substitutions in
  sieve rules.

2012-09-05 Jan Tatarik <jan.tatarik@gmail.com>
* gnus-score.el (gnus-score-decode-text-parts): Use #' for the local
  function.
* gnus-logic.el (gnus-advanced-body): Allow scoring on decoded bodies.
* gnus-score.el (gnus-score-decode-text-parts): Ditto.

2012-09-05 Magnus Henoch <magnus.henoch@gmail.com>
* nnmaildir.el: Make nnmaildir understand and write maildir flags.
  That is, rename files from "unique:2," to "unique:2,S" for "seen", etc.
  This should make nnmaildir more usable with offlineimap.
2012-09-05 22:35:32 +00:00
Glenn Morris
1a1ecd2b14 ChangeLog fixes 2012-09-04 23:56:55 -07:00
Lars Ingebrigtsen
8a8507e9b7 [Gnus] Silence XEmacs compilation warnings 2012-09-03 22:12:02 +00:00
Paul Eggert
0e23ef9dde Better seed support for (random).
* doc/lispref/numbers.texi (Random Numbers): Document new behavior of
the calls (random) and (random STRING).
* etc/NEWS: Document new behavior of (random), (random "string").
* lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el:
* lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el:
* lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el:
* lisp/play/tetris.el, lisp/play/zone.el:
* lisp/calc/calc-comb.el (math-init-random-base):
* lisp/play/blackbox.el (bb-init-board):
* lisp/play/life.el (life):
* lisp/server.el (server-use-tcp):
* lisp/type-break.el (type-break):
Remove unnecessary call to (random t).
* lisp/net/sasl.el (sasl-unique-id-function):
Change (random t) to (random), now that the latter is more random.
* lisp/play/life.el (life-initialized): Remove no-longer-needed var.
* lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup):
* lisp/gnus/message.el (message-canlock-generate, message-unique-id):
Change (random t) to (random), now that the latter is more random.
* lisp/org/org-id.el (org-id-uuid):
Change (random t) to (random), now that the latter is more random.
* src/emacs.c (main): Call init_random.
* src/fns.c (Frandom): Set the seed from a string argument, if given.
Remove long-obsolete Gentzel cruft.
* src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long.
(init_random): New function.
2012-08-31 18:04:26 -07:00
Dave Abrahams
c20643e210 [Gnus] Miscellaneous fixes by Dave Abrahams 2012-08-31 04:39:30 +00:00
Stefan Monnier
e1991423c6 * lisp/gnus/gnus-notifications.el (gnus-notifications-action): Avoid CL-ism. 2012-08-30 20:46:01 -04:00
Julien Danjou
ba7ac1f6e5 gnus-notifications.el: Add defcustom for timeout and actions support 2012-08-30 22:14:27 +00:00
Kenichi Handa
8b0c72d319 qp.el (quoted-printable-decode-region): Decode multiple bytes at once. 2012-08-30 21:16:38 +09:00
Julien Danjou
966560123e Add gnus-notifications.el 2012-08-29 22:04:05 +00:00
Katsumi Yamaoka
cc319c03f1 gnus-sum.el (gnus-summary-enter-digest-group): Work for encoding and charset 2012-08-28 09:40:11 +00:00
Katsumi Yamaoka
3b7bf1d45b [Gnus] Enable posting-style group parameter to hold non-ASCII string values 2012-08-22 10:37:55 +00:00
Katsumi Yamaoka
891403f6d1 gnus-msg.el (gnus-summary-resend-message): Honor posting-style for name' and address' in Resent-From header 2012-08-21 01:23:57 +00:00
Glenn Morris
2a1e24765b Replace version 24.2 with 24.3 where appropriate (hopefully) 2012-08-15 09:29:11 -07:00
Chong Yidong
b4599732c3 * gnus-art.el (article-display-face): Handle failure in gnus-create-image.
Fixes: debbugs:11802
2012-08-14 13:34:20 +08:00
Stefan Monnier
86b9724a1e * lisp/gnus/gnus-agent.el (gnus-agent-cat-defaccessor, gnus-agent-cat-groups):
Use defsetf.
2012-08-10 17:20:24 -04:00
Daiki Ueno
a3095f422d lisp/gnus/auth-source.el: (auth-source-plstore-search, auth-source-secrets-search): Ignore :require and :type in search spec 2012-08-10 14:38:37 +00:00
Julien Danjou
16ac6eb63b gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): Remove autoload 2012-08-06 11:56:36 +00:00
Julien Danjou
7d3d9073ba gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): Add autoload 2012-08-05 22:02:24 +00:00
Katsumi Yamaoka
4650d5fa0e gnus.el (gnus-valid-select-methods): Fix custom type 2012-07-31 01:39:58 +00:00
Julien Danjou
197755446f lisp/gnus/ChangeLog (2012-07-27): Fix author's address e-mail 2012-07-30 10:13:52 +00:00
Ted Zlatanov
d6e7c17b31 lisp/gnus/auth-source.el: Fix last change 2012-07-29 22:17:54 +00:00
Ted Zlatanov
d7fcec5d7d lisp/gnus/auth-source.el: Support Mac OS X Keychains 2012-07-29 22:07:41 +00:00
Julien Danjou
69c3b839f8 message.el: defalias mail-dont-reply-to if needed 2012-07-28 11:38:47 +00:00
Katsumi Yamaoka
0000d0d54b message.el: Make header fill function work properly 2012-07-27 08:01:44 +00:00
Julien Danjou
71f32295ce gnus-art.el (gnus-kill-sticky-article-buffers): Reintroduce 2012-07-25 22:10:37 +00:00
Katsumi Yamaoka
9830626b31 nnimap.el (nnimap-get-responses): Don't remove, still used 2012-07-25 03:22:25 +00:00
Julien Danjou
b7af7f62e4 Merge changes made in Gnus master; Remove dead code
* mail-source.el (mail-source-movemail-and-remove): Remove, unused.
* nntp.el (nntp-send-nosy-authinfo, nntp-send-authinfo-from-file)
  (nntp-async-timer-handler): Remove, unused.
* nnimap.el (nnimap-get-responses): Remove, unused.
* nnheader.el (mail-header-set-extra): Remove, unused.
* netrc.el (netrc-find-service-number, netrc-store-data): Remove,
  unused.
* mm-view.el (mm-view-sound-file): Remove, unused.
* mm-url.el (mm-url-fetch-simple, mm-url-fetch-form)
  (mm-url-encode-multipart-form-data): Remove, unused.
* message.el (message-remove-signature, message-make-host-name)
  (message-fill-address): Remove, unused.
* gnus.el (gnus-writable-groups, gnus-group-guess-prefixed-name)
  (gnus-group-guess-full-name, gnus-group-guess-prefixed-name): Remove,
  unused.
* gnus-uu.el (gnus-uu-find-name-in-shar): Remove, unused.
* gnus-util.el (gnus-extract-address-component-name)
  (gnus-extract-address-component-email, gnus-sortable-date)
  (gnus-alist-to-hashtable, gnus-hashtable-to-alist)
  (gnus-process-live-p): Remove, unused.
* gnus-topic.el (gnus-group-parent-topic): Remove, unused.
* gnus-sum.el (gnus-score-set-default, gnus-article-parent-p)
  (gnus-article-read-p, gnus-uncompress-marks): Remove, unused.
  (gnus-summary-set-current-mark): Remove obsolete, empty and unused
  function.
* gnus-start.el (gnus-kill-newsgroup): Remove unused obsolete function.
* gnus-score.el (gnus-summary-score-crossposting)
  (gnus-score-regexp-bad-p): Remove, unused.
* gnus-salt.el (gnus-tree-goto-article): Remove, unused.
* gnus-range.el (gnus-sublist-p): Remove, unused.
* gnus-msg.el (gnus-mail-parse-comma-list, gnus-put-message): Remove,
  unused.
* gnus-kill.el (gnus-Newsgroup-kill-file): Remove, unused.
* gnus-int.el (gnus-list-active-group, gnus-request-group-articles)
  (gnus-request-associate-buffer): Remove, unused.
* gnus-group.el (gnus-group-set-method-info)
  (gnus-group-set-params-info): Remove, unused.
* gnus-fun.el (gnus-shell-command-to-string)
  (gnus-shell-command-on-region): Remove, unused.
* gnus-cite.el (gnus-cited-line-p): Remove, unused.
* gnus-art.el (gnus-article-text-type-exists-p)
  (article-translate-characters, gnus-article-hide-text-of-type)
  (gnus-kill-sticky-article-buffers, gnus-article-maybe-highlight):
  Remove, unused.
2012-07-24 22:17:17 +00:00
Katsumi Yamaoka
dfce923ac9 nnir.el ("nnir"): Revert last change, that's premature to merge from Gnus master 2012-07-23 11:26:29 +00:00
Andrew Cohen
5df1607869 nnir.el ("nnir"): Add 'virtual ability to nnir backend 2012-07-23 11:10:23 +00:00
Julien Danjou
0fb40182ca lisp/gnus/message.el: Replace deprecated rmail vars 2012-07-21 11:05:32 +00:00