1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 21:50:45 -08:00
Commit graph

3280 commits

Author SHA1 Message Date
Katsumi Yamaoka
83299b940d lisp/gnus/registry.el: Fix comment 2014-12-18 22:50:29 +00:00
Paul Eggert
777c8235f1 * registry.el (registry-db): Set default slot later.
This is because its value is not a literal integer.
2014-12-18 13:00:42 -08:00
Stefan Monnier
8f03888e7f * lisp/gnus/gnus-art.el: Fix up compiler warnings.
(article-display-face, article-display-x-face): Remove unused `face'.
(gnus-article-browse-html-save-cid-content): Remove unused var `type'.
(article-date-ut): Remove unused var `first'.
(gnus-article-prepare): Remove unused var `gnus-article'.
(gnus-mime-save-part-and-strip): Remove unused var `param'.
(gnus-mime-inline-part): Remove unused vars `charset', `contents', and
`coding-system' along with corresponding dead code.
(gnus-mime-view-part-externally): Remove unused var
`mm-user-display-methods'.
(gnus-insert-mime-button): Let-bind gnus-tmp-id explicitly.
(gnus-display-mime): Remove unused var `handle'.
(gnus-mime-display-alternative): Remove unused var `props'.
(gnus-article-read-summary-keys): Remove unused var `up-to-top'.
(gnus-article-edit-done): Remove unused var `p'.
(gnus-url-mailto): Remove unused var `to'.
(gnus-treat-article): Let-bind gnus-treat-condition, part-number,
total-parts, and gnus-treat-type explicitly.  Remove unused var `elem'.

* lisp/gnus/mm-util.el (mm-with-unibyte-current-buffer): Mark obsolete and
add warning.
2014-12-18 13:19:54 -05:00
Eric Abrahamsen
d20acfe063 Fix Gnus registry pruning and sorting, and rename file
* lisp/gnus/gnus-registry.el (gnus-registry-prune-factor): Add new variable.
(gnus-registry-max-pruned-entries): Remove obsolete variable.
(gnus-registry-cache-file): Change default
filename extension to "eieio".
(gnus-registry-read): Add new function, split out from
`gnus-registry-load', that does the actual object reading.
(gnus-registry-load): Use it. Add condition case handler to check for
old filename extension and rename to the new one.
(gnus-registry-default-sort-function): New variable to specify a sort
function to use when pruning.
(gnus-registry-save, gnus-registry-insert): Use it.
(gnus-registry-sort-by-creation-time): Define a default sort function.

* lisp/gnus/registry.el (registry-db): Consolidate the :max-hard and
:max-soft slots into a :max-size slot.
(registry-db-version): Add new variable for database version number.
(registry-prune): Use :max-size slot. Accept and use a sort-function
argument.
(registry-collect-prune-candidates): Add new function for finding
non-precious pruning candidates.
(registry-prune-hard-candidates, registry-prune-soft-candidates):
Remove obsolete functions.
(initialize-instance): Upgrade registry version when starting.

* doc/misc/gnus.texi (Gnus Registry Setup): Explain pruning changes.
Mention gnus-registry-prune-factor. Explain sorting changes and
gnus-registry-default-sort-function. Correct file extension.
2014-12-18 11:22:02 +00:00
Paul Eggert
3de474e4ac Spelling fixes
All uses changed.
* lib-src/etags.c (analyze_regex): Rename from analyse_regex.
* lisp/cedet/semantic/lex-spp.el:
(semantic-lex-spp-analyzer-do-replace):
Rename from semantic-lex-spp-anlyzer-do-replace.
* lisp/emacs-lisp/cconv.el (cconv--analyze-use):
Rename from cconv--analyse-use.
(cconv--analyze-function): Rename from cconv--analyse-function.
(cconv-analyze-form): Rename from cconv-analyse-form.
* src/regex.c (analyze_first): Rename from analyze_first.
2014-12-13 23:41:33 -08:00
Paul Eggert
cc857dd0db Fix misspellings like "an unibyte buffer" 2014-12-09 16:27:23 -08:00
Lars Magne Ingebrigtsen
08a980a400 lisp/gnus/gnus-art.el: Refactored out gnus-article-mime-handles 2014-12-09 22:32:44 +00:00
Lars Magne Ingebrigtsen
17ee183646 (message-change-subject): Really check whether the subject changed 2014-12-07 18:58:28 +01:00
Lars Magne Ingebrigtsen
7747e23ecd Make it easier to use mailcap for viewing single files
* mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
PDFs.
(mailcap-view-mime): New function.
2014-12-05 16:51:59 +01:00
Sam Steingold
9c72233e63 fix a typo in doc string 2014-12-05 09:39:59 -05:00
Glenn Morris
7536c8645e * lisp/gnus/gnus-cloud.el (gnus-cloud): Add :version tag. 2014-12-01 00:28:08 -08:00
Glenn Morris
aa1459ae2a Fix up merged ChangeLog entries (dates, duplication, etc) 2014-11-29 13:25:50 -08:00
Paul Eggert
0cce3623b1 Merge branch 'emacs-24'. 2014-11-28 23:07:16 -08:00
Katsumi Yamaoka
b121ef10f5 Gnus: fix XEmacs compilation 2014-11-27 01:33:09 +00:00
John Mastro
a10e36a5d7 auth-source: Fix Mac OS X keychain lookups.
* auth-source.el (auth-source-macos-keychain-search-items): Return
result of `auth-source-macos-keychain-result-append' (bug#19074).
2014-11-26 09:15:08 -05:00
Glenn Morris
6a4dee9b99 * gnus-start.el (gnus-save-newsrc-file-check-timestamp): Add :version tag. 2014-11-25 00:27:02 -08:00
Paul Eggert
5da3f6c2fe Adjust copyright notice and obviously-wrong dates. 2014-11-24 17:47:59 -08:00
Paul Eggert
f24c8f98ec Fix white-space problems in ChangeLogs. 2014-11-24 17:16:27 -08:00
Lars Magne Ingebrigtsen
c43b706ab3 Make some network connections warn unless they are encrypted
* mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
we're sending a password.

* pop3.el (pop3-open-server): Warn unless encrypted.

* nnimap.el (nnimap-open-connection-1): Warn unless encrypted.
2014-11-23 15:00:48 +01:00
Paul Eggert
342bc0e04b .gitignore cleanup.
* .gitignore: Merge contents of subsidiary files and organize the
result so as to avoid duplication.  Remove no-longer needed entries.
* admin/charsets/.gitignore, admin/unidata/.gitignore:
* doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore:
* leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore:
* lisp/calc/.gitignore, lisp/calendar/.gitignore:
* lisp/cedet/.gitignore, lisp/emulation/.gitignore:
* lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore:
* lisp/international/.gitignore, lisp/language/.gitignore:
* lisp/leim/.gitignore, lisp/leim/quail/.gitignore:
* lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore:
* lisp/nxml/.gitignore, lisp/obsolete/.gitignore:
* lisp/play/.gitignore, lisp/progmodes/.gitignore:
* lisp/term/.gitignore, lisp/textmodes/.gitignore:
* lisp/url/.gitignore, nt/.gitignore, src/.gitignore:
Remove; no longer needed.
2014-11-17 17:58:28 -08:00
Albert Krewinkel
8b98d158a7 lisp/gnus/message.el (message-valid-fqdn-regexp): Add non-internaional new TLDs 2014-11-17 17:54:57 +09:00
Stefan Monnier
9075fcc193 Merge from emacs-24 2014-11-16 00:22:20 -05:00
Lars Magne Ingebrigtsen
ba88f19533 Don't query on Gnus exits from ephemeral groups
* gnus-sum.el (gnus-summary-exit-no-update): Don't query about
discarding changes in ephemeral groups.
2014-11-14 04:24:14 +01:00
Lars Magne Ingebrigtsen
d8c3c57eec ChangeLog entry from previous commit 2014-11-14 04:20:10 +01:00
Lars Magne Ingebrigtsen
94a489163b Silence warnings in ietf-drums-parse-address
* ietf-drums.el (ietf-drums-parse-address): Don't issue warnings about
things the user isn't interested in.
2014-11-14 04:20:10 +01:00
Julien Danjou
4af97e6781 lisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon and image-path 2014-11-13 22:11:48 +00:00
Katsumi Yamaoka
301d018bab lisp/gnus/mml2015.el (mml2015-display-key-image): Adjust :version 2014-11-13 04:22:48 +00:00
Adam Sjøgren
e18c2a53a9 [Backport] lisp/gnus/mml2015.el (mml2015-display-key-image): New variable 2014-11-13 04:22:36 +00:00
Kenjiro NAKAYAMA
fca2f70380 Allow uploading files from eww
2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

        * net/eww.el(eww-form-file(defface)): New defface of file upload form.
        (eww-submit-file): New key map of file upload.
        (eww-form-file): New file upload button and file name context.
        (eww-select-file): Select file and display selected file name.
        (eww-tag-input): Handle input tag of file type.
        (eww-update-field): Add point offset.
        (eww-submit): Add submit with multipart/form-data.

        * gnus/mm-url.el (mm-url-encode-multipart-form-data):
        Restore to handle "multipart/form-data" by eww.
2014-11-10 22:33:55 +01:00
Tassilo Horn
90a1373b4c lisp/gnus/gnus-start.el (gnus-activate-group): Fix typo reported by Tim Landscheidt 2014-11-09 00:48:34 +00:00
Glenn Morris
ddce73d32f Revert previous accidental commit 2014-11-04 21:08:12 -08:00
Glenn Morris
6a278b64f7 Merge from emacs-24; up to 117669 2014-11-04 21:04:30 -08:00
Paul Eggert
78d45b66d4 Port current-time change to XEmacs 21.4.
See the buildbot log at:
http://www.randomsample.de:4456/builders/xemacs21.4-linux/builds/1285
* lisp/erc/erc.el (erc-emacs-time-to-erc-time)
(erc-emacs-time-to-erc-time):
* lisp/gnus/gnus-util.el (gnus-float-time):
* lisp/org/org-compat.el (org-float-time):
Use 2-arg defalias, since XEmacs 21.4 doesn't support 3-arg.
2014-10-28 20:21:06 -07:00
Paul Eggert
123ddec7f8 Simplify use of current-time and friends.
* doc/misc/org.texi (Dynamic blocks):
* lisp/allout-widgets.el (allout-widgets-hook-error-handler):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
* lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
(timeclock-last-period, timeclock-day-base):
* lisp/eshell/em-ls.el (eshell-ls-file):
* lisp/eshell/esh-util.el (eshell-parse-ange-ls):
* lisp/generic-x.el (named-database-print-serial):
* lisp/net/newst-backend.el (newsticker--get-news-by-url-callback)
(newsticker-get-news, newsticker--sentinel-work)
(newsticker--image-get, newsticker--image-sentinel):
* lisp/net/tramp-sh.el (tramp-get-remote-touch):
* lisp/progmodes/opascal.el (opascal-debug-log):
* lisp/textmodes/remember.el (remember-mail-date)
(remember-store-in-files):
* lisp/vc/vc-annotate.el (vc-annotate-display-autoscale)
(vc-default-annotate-current-time):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot):
* lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time):
* lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time):
* lisp/url/url-util.el (url-get-normalized-date):
* lisp/erc/erc-backend.el (TOPIC):
* lisp/gnus/gnus-delay.el (gnus-delay-article):
* lisp/gnus/gnus-sum.el (gnus-summary-read-document):
* lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month):
* lisp/gnus/message.el (message-make-expires-date):
* lisp/org/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling):
* lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
(org-clock-special-range):
* lisp/org/org-timer.el (org-timer-seconds):
* lisp/org/org.el (org-read-date-analyze, org-get-cursor-date):
* lisp/org/ox-html.el (org-html-format-spec):
* lisp/org/ox-icalendar.el (org-icalendar--vtodo):
Omit unnecessary call to current-time.
* lisp/calendar/time-date.el (time-to-seconds) [!float-time]:
* lisp/calendar/timeclock.el (timeclock-time-to-date):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Use current time if arg is nil, to be compatible with float-time.
(time-date--day-in-year): New function, with most of the guts of
the old time-to-day-in-year.
(time-to-day-in-year): Use it.
(time-to-days): Use it, to avoid decoding the same time stamp twice.
* lisp/calendar/timeclock.el (timeclock-update-mode-line):
* lisp/cedet/srecode/args.el (srecode-semantic-handle-:time):
* lisp/gnus/gnus-util.el (gnus-seconds-year):
* lisp/org/org.el (org-get-cursor-date):
Don't call current-time twice to get the current time stamp,
as this can lead to inconsistent results.
* lisp/completion.el (cmpl-hours-since-origin):
* lisp/erc/erc.el (erc-emacs-time-to-erc-time):
* lisp/ido.el (ido-time-stamp):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Simplify by using float-time.
* lisp/completion.el (save-completions-to-file):
* lisp/url/url-cache.el (url-cache-prune-cache):
Rename local var to avoid confusion.
* lisp/gnus/gnus-util.el (gnus-float-time):
* lisp/net/rcirc.el (rcirc-float-time):
* lisp/org/org-compat.el (org-float-time):
Simplify to an alias because time-to-seconds now behaves like float-time
with respect to nil arg.
* lisp/subr.el (progress-reporter-do-update):
Don't call float-time unless needed.
* lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
* lisp/org/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
conversion from floating point to Emacs time and back.
(org-resolve-clocks): Prefer two-argument floor.
2014-10-28 18:42:51 -07:00
Katsumi Yamaoka
7515423bc1 [Backport] gnus.el (gnus-mode-line-buffer-identification):
Don't add image data for a non-graphic display;
Don't shadow load-path, it blocks autoloading of find-image (bug#18813)
2014-10-27 22:51:18 +00:00
Katsumi Yamaoka
48ec745025 lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphic display (bug#18813) 2014-10-27 12:51:18 +09:00
enami tsugutomo
b13ccfca85 [Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open 2014-10-27 00:56:22 +00:00
Katsumi Yamaoka
9321c9c361 lisp/gnus/ChangeLog (2014-10-24): Add bug# 2014-10-24 09:29:09 +00:00
Katsumi Yamaoka
ec4f68b3e3 lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks autoloading of find-image (bug#18813) 2014-10-24 08:34:32 +00:00
enami tsugutomo
53e154166e lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open 2014-10-24 06:05:57 +00:00
Stefan Monnier
d361bcfbc7 * lisp/select.el: Use lexical-binding.
(gui-set-selection): Provide an implementation for non-GUI frames.
* lisp/term/x-win.el: Use lexical-binding.
(x-clipboard-yank): Fix up missed renamings.
* lisp/term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
(w32--set-selection): Fix up var names.
* lisp/term/pc-win.el: Use lexical-binding.
(w16-selection-exists-p): Silence compiler warning.
(w16-selection-owner-p): Fix up missed renamings.

* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.

* lisp/frame.el (frame-notice-user-settings): Fix excessive quoting.

Fixes: debbugs:18791
2014-10-22 21:38:59 -04:00
Stefan Monnier
eed18bf1fd Merge from emacs-24 2014-10-20 21:17:06 -04:00
Glenn Morris
8a85c254de Merge from emacs-24; up to 2014-07-28T06:28:15Z!dmantipov@yandex.ru 2014-10-20 20:59:41 +01:00
Glenn Morris
83bad90efe Add 24.4 release ChangeLog entries 2014-10-20 20:21:15 +01:00
Jorge A. Alfaro Murillo
60727a5494 lisp/gnus/message.el (message-insert-signature): Make signature respect format=flowed 2014-10-16 22:12:47 +00:00
Sylvain Chouleur
417cf67485 lisp/gnus/gnus-icalendar.el: Support vcal format timezones 2014-10-16 22:12:03 +00:00
Ted Zlatanov
fcb11aef80 lisp/gnus/gnus-start.el: Optionally check the newsrc.eld file's timestamp before saving it 2014-10-14 22:13:44 +00:00
Jan Tatarik
83f046769b lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative-emails 2014-10-06 22:11:44 +00:00
Alan Schmitt
1dad5c7b82 lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Reverse the list of expired messages only when it was built in reverse order 2014-10-04 23:57:35 +00:00
Peter Münster
e59070b12c lisp/gnus/gnus-delay.el (gnus-delay-send-queue): Remove gnus-delay-header' last so it can be used in message-send-hook' 2014-10-04 23:55:04 +00:00