1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-28 19:42:02 +00:00
Commit Graph

100285 Commits

Author SHA1 Message Date
Glenn Morris
f7ff1b0f07 Merge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org. 2011-05-04 21:00:38 -07:00
Stefan Monnier
9869b3ae6b Fix earlier half-done eieio-defmethod change.
* lisp/emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
Streamline and change calling convention.
(defmethod): Adjust accordingly and simplify.
(eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
new eieio--defmethod.
(slot-boundp): Minor CSE simplification.

Fixes: debbugs:8338
2011-05-05 00:42:09 -03:00
Glenn Morris
773233f8c3 Stop bootstrap clobbering config.log (bug#765)
* Makefile.in (bootstrap-clean): Save config.log.  
(top_distclean): Delete config.log~.
2011-05-04 20:30:03 -07:00
Milan Zamazal
9c1d5ac586 Small addition to glasses.el (bug#8524)
* lisp/progmodes/glasses.el (glasses-separate-capital-groups): New option.
(glasses-make-readable): Use glasses-separate-capital-groups.
2011-05-04 20:26:55 -07:00
Ben Key
d429d8e9c3 * configure.bat: Added support for --cflags and --ldflags
options that include quotes as long as command extensions are
enabled.  Specifically when -I, -L, and similar flags are used
to specify supplementary include and library directories a
directory name that includes spaces may now be used if it is
enclosed in quotes.

* INSTALL: Documented the change to configure.bat.
2011-05-04 21:56:16 -05:00
Juanma Barranquero
520cf78a0f src/gnutls.c: Keep list of function aliases in alphabetical order. 2011-05-05 04:18:36 +02:00
Ted Zlatanov
639c109b90 Add fn_NAME alias for `gnutls_certificate_set_x509_key_file'.
* gnutls.c (fn_gnutls_certificate_set_x509_key_file): Add alias to
`gnutls_certificate_set_x509_key_file'.
2011-05-04 21:05:36 -05:00
Juanma Barranquero
d212713522 src/makefile.w32-in: Update dependencies. 2011-05-05 02:20:44 +02:00
Juanma Barranquero
455c834e68 lisp/emacs-lisp/warnings.el: Tiny fixes.
* emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
  (warning-series): Doc fix.
  (display-warning): Don't try to create the buffer if we just found it.
2011-05-05 02:06:10 +02:00
Juanma Barranquero
e968f4f300 src/gnutls.c: Remove unused parameter `fildes'.
* gnutls.h (emacs_gnutls_write, emacs_gnutls_read):
* gnutls.c (emacs_gnutls_write, emacs_gnutls_read):
  Remove unused parameter `fildes'.
* process.c (read_process_output, send_process): Don't pass it.
2011-05-05 01:56:09 +02:00
Juanma Barranquero
84d358f0d5 Fix previous change: the library cache is defined in w32.c.
* image.c (CACHE_IMAGE_TYPE) [!HAVE_NTGUI]: Define to noop.
  (Finit_image_library): Wrap Vlibrary_cache on "#ifdef HAVE_NTGUI".
2011-05-04 22:03:07 +02:00
Chong Yidong
9ed7c8cbce Make autoloading commands prompt for autoload file (Bug#7989)
* emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
(autoload-find-generated-file): New function.
(generate-file-autoloads): Bind generated-autoload-file to
buffer-file-name.
(update-file-autoloads, update-directory-autoloads): Use
autoload-find-generated-file.  If called interactively, prompt for
output file.
(batch-update-autoloads): Doc fix.
2011-05-04 11:38:41 -04:00
Juanma Barranquero
0898ca10c0 Implement dynamic loading of GnuTLS on Windows.
* lisp/term/w32-win.el (dynamic-library-alist): Add `gnutls'.

* nt/INSTALL: Clarify GnuTLS support.

* src/callproc.c, src/emacs.c: Include lisp.h before src/w32.h, not after.

* src/gnutls.c (Qgnutls_dll): Define.
  (DEF_GNUTLS_FN, LOAD_GNUTLS_FN): New macros.
  (gnutls_*): Declare function pointers.
  (init_gnutls_functions): New function to initialize function pointers.
  (emacs_gnutls_handshake, Fgnutls_error_string, Fgnutls_deinit)
  (emacs_gnutls_global_init, Fgnutls_bye): Use function pointers.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Wrappers for gnutls_record_check_pending and gnutls_transport_set_errno.
  (emacs_gnutls_write, emacs_gnutls_read)
  (emacs_gnutls_handle_error, Fgnutls_error_fatalp)
  (Fgnutls_available_p): New function.
  (Fgnutls_boot): Call Fgnutls_available_p.  Use function pointers.
  (syms_of_gnutls) <Qgnutls_dll>: Initialize and staticpro it.
  (syms_of_gnutls) <Sgnutls_available_p>: defsubr it.

* src/gnutls.h (GNUTLS_EMACS_ERROR_NOT_LOADED): New macro.
  (emacs_gnutls_write, emacs_gnutls_read): Mark as extern.
  (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno):
  Declare.

* src/w32.c (QCloaded_from, Vlibrary_cache): Define.
  (w32_delayed_load): Move from image.c.  When loading a library, record
  its filename in the :loaded-from property of the library id.
  (globals_of_w32) <QCloaded_from, Vlibrary_cache>:
  Initialize and staticpro them.
  (emacs_gnutls_pull, emacs_gnutls_push): Call emacs_gnutls_* functions.

* src/image.c: Include w32.h.
  (Vimage_type_cache): Delete.
  (syms_of_image) <Vimage_type_cache>: Don't initialize and staticpro it.
  (CACHE_IMAGE_TYPE, Finit_image_library): Use Vlibrary_cache instead.
  (w32_delayed_load): Move to w32.c.

* src/process.c: Include lisp.h before src/w32.h, not after.
  (wait_reading_process_output): Call emacs_gnutls_record_check_pending
  instead of gnutls_record_check_pending.

* src/w32.h (VlibraryCache, QCloaded_from, w32_delayed_load): Declare.
2011-05-04 16:03:16 +02:00
Teodor Zlatanov
67a2aecd40 registry.el (registry-reindex): Fix percentage message. 2011-05-04 11:28:46 +00:00
Glenn Morris
f330b642bb Small diary-lib.el font-locking fix.
* lisp/calendar/diary-lib.el (diary-fancy-date-pattern):
Turn it into a function, so it follows changes in calendar-date-style.
(diary-fancy-date-matcher): New function.
(diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
(diary-fancy-font-lock-fontify-region-function):
Use diary-fancy-date-pattern as a function.
2011-05-03 19:06:28 -07:00
Glenn Morris
31dfb76ced diary-lib.el fix for bug#8583.
* lisp/calendar/diary-lib.el (diary-fancy-date-pattern):
Do not use non-numbers for `year' etc pseudo-variables.
2011-05-03 19:03:30 -07:00
Glenn Morris
dd19b5fb3e Comment fix. 2011-05-03 19:01:27 -07:00
Glenn Morris
a7111a62b3 Mark tiny change. 2011-05-03 19:00:20 -07:00
Ted Zlatanov
ff4de4aaca Support :keylist and :crlfiles options to `gnutls-boot' and use them.
* src/gnutls.c (Fgnutls_boot): Support :keylist and :crlfiles options
instead of :keyfiles.  Give GnuTLS the keylist and the CRL lists
as passed in.
2011-05-03 20:45:27 -05:00
Ted Zlatanov
48e79d6a80 Use CL-style keyword arguments for `gnutls-negotiate' and allow :keylist and :crlfiles arguments.
* lisp/net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
instead of positional arguments.  Allow :keylist and :crlfiles
arguments.
(open-gnutls-stream): Call it.

* lisp/net/network-stream.el (network-stream-open-starttls): Adjust to
call `gnutls-negotiate' with :process and :hostname arguments.
2011-05-03 20:44:58 -05:00
Stefan Monnier
ef80fc093a * lisp/minibuffer.el (completion--message): New function.
(completion--do-completion, minibuffer-complete)
(minibuffer-force-complete, minibuffer-complete-word): Use it.
(completion--do-completion): Don't ignore completion-auto-help when in
icomplete-mode.
2011-05-03 22:19:32 -03:00
Stefan Monnier
dd5a5ee08c * lisp/whitespace.el (whitespace-trailing-regexp): Don't rely on the
internal encoding (e.g. tibetan zero is not whitespace).
(global-whitespace-mode): Prefer save-current-buffer.
(whitespace-trailing-regexp): Remove useless save-match-data.
(whitespace-empty-at-bob-regexp): Minor simplification.
2011-05-03 22:02:09 -03:00
Gnus developers
c2f51e23ab Merge changes made in Gnus trunk.
gnus.texi (Summary Buffer Lines): gnus-summary-user-date-format-alist does not exist.
 (Sorting the Summary Buffer): More about sorting threads.
shr.el: Add shr-link face for links.
 (shr-urlify): Use it.
registry.el (registry-insert): Make error message more helpful.
2011-05-03 22:41:28 +00:00
Jan Djärv
abe95abbaf * xterm.c (x_set_frame_alpha): Do not set property on anything
else than FRAME_X_OUTER_WINDOW.

Fixes: debbugs:8608
2011-05-03 17:54:54 +02:00
Glenn Morris
e438da8897 Mark tiny change. 2011-05-03 08:51:14 -07:00
Chong Yidong
b7d22a83c2 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989). 2011-05-03 11:33:05 -04:00
Agustín Martín
cdc4a04778 Fix my last lisp/Changelog entry. 2011-05-03 17:08:20 +02:00
Agustín Martín
5192af462f ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion.
Fixes: debbugs:8579
2011-05-03 16:11:39 +02:00
Stefan Monnier
5767d190ca * lisp/textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
Avoid open-line which runs post-self-insert-hook.
(bibtex-fill-entry): Remove unused `end' var.
2011-05-03 11:03:48 -03:00
Agustín Martín
bf242939d9 ispell.el (ispell-add-per-file-word-list): Protect against nil' value of comment-start' (Bug#8579). 2011-05-03 13:08:15 +02:00
Julien Danjou
f927985e87 * lisp/erc/erc-backend.el (671): New response handler.
* lisp/erc/erc.el (english): Add 671 to catalog.
2011-05-03 10:37:51 +02:00
Leo Liu
256661260d New command isearch-yank-pop and bind it to `M-y' in Isearch 2011-05-03 11:34:26 +08:00
Stefan Monnier
1bcace585f * lisp/simple.el (minibuffer-local-shell-command-map): Use completion-at-point.
(minibuffer-complete-shell-command): Remove.
(read-shell-command): Setup completion vars here instead.
(read-expression-map): Bind TAB to symbol completion.
2011-05-02 22:52:52 -03:00
Stefan Monnier
52d3c2d04d * lisp/textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
error directly rather via storing it into `results'.
2011-05-02 22:48:32 -03:00
Ted Zlatanov
e2574f2c8e Document new GnuTLS additions for general and W32 use.
* NEWS: Mention new library gnutls.el and explain GnuTLS
functionality.  Mention new configure.bat options --without-gnutls
and --lib for W32.
2011-05-02 19:48:07 -05:00
Lars Magne Ingebrigtsen
7deebf1b71 * NEWS: Mention url-retrieve-queue', (:file "file") and server-eval-at'. 2011-05-03 00:53:34 +02:00
Lars Magne Ingebrigtsen
f3b146e943 Merge changes made in Gnus trunk.
gnus-html.el (gnus-html-schedule-image-fetching): Use url-queue-retrieve, if it exists.
shr.el (shr-tag-img): Ditto.
gnus.el: Autoload more gnus-agent functions.
gnus-art.el (gnus-request-article-this-buffer): Store articles in the agent if we haven't already (bug#8502).
gnus-async.el (gnus-async-article-callback): Put prefetched articles into the Agent, too.
gnus-agent.el (gnus-agent-store-article): New function.
2011-05-02 22:41:38 +00:00
Lars Magne Ingebrigtsen
11aedcecf7 Kill all processes associated with the buffer. 2011-05-02 20:30:48 +02:00
Lars Magne Ingebrigtsen
471129b1e3 Autoload `url-queue-retrieve', and fix up the pruning code. 2011-05-02 20:15:39 +02:00
Lars Magne Ingebrigtsen
08da93f1a3 (url-queue-run-queue): Pick the first waiting job, and not the last. 2011-05-02 19:28:34 +02:00
Lars Magne Ingebrigtsen
5c77c3eda3 Add the new file url-queue.el, which allows controlling the
parallelism when fetching web pages asynchronously.
2011-05-02 19:06:56 +02:00
Leo Liu
3581347187 Fix description of diff.el 2011-05-02 20:22:38 +08:00
Juanma Barranquero
e16e55d4a0 src/sysdep.c (get_tty_size) [WINDOWSNT]: Implement.
Fixes: debbugs:8596
2011-05-02 05:57:02 +02:00
Lars Magne Ingebrigtsen
9f5e78f7d5 nnheader.el (nnheader-insert-buffer-substring): Renamed from nntp- and moved from that file for reuse. 2011-05-02 03:37:06 +00:00
Juanma Barranquero
bafcf6a554 src/gnutls.c: Make static a bunch of variables. 2011-05-02 04:49:06 +02:00
Lars Magne Ingebrigtsen
84621b7162 Decode &_ => SPC in the reply. 2011-05-02 04:33:11 +02:00
Lars Magne Ingebrigtsen
e793a9404d Implement and document `server-eval-at'. 2011-05-02 04:06:53 +02:00
Lars Magne Ingebrigtsen
817bcc7cb0 pop3.el (pop3-open-server): Fix It's `tls', not :tls. 2011-05-02 01:45:17 +00:00
Lars Magne Ingebrigtsen
2193f991eb pop3.el (pop3-open-server): Error messages are "-ERR". 2011-05-02 01:19:21 +00:00
Gnus developers
b87f32fc00 Merge changes made in Gnus trunk.
pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
 (open-tls-stream): Remove superfluous tls/starttls autoloads.
gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame.
nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring to get the conversion from unibyte to multibyte buffers to work on Emacs 22.
nntp.el (nntp-request-article): Slight clean-up.
2011-05-01 23:30:18 +00:00