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

100413 Commits

Author SHA1 Message Date
Ted Zlatanov
1c23108015 * automated/gnus-tests.el: Require CL. 2011-05-11 16:34:40 -05:00
Ted Zlatanov
de31677841 * automated/gnus-tests.el: Add wrapper for Gnus tests. 2011-05-11 16:31:33 -05:00
Glenn Morris
410c42c570 Revert accidental portion of previous bytecomp.el commit. 2011-05-11 13:32:38 -04:00
Glenn Morris
f64049c602 * lisp/newcomment.el (comment-kill): Prefix "unused" local. 2011-05-11 09:37:03 -07:00
Glenn Morris
4f306b0fa7 javascript.el trivia.
* lisp/semantic/wisent/javascript.el (semantic-get-local-variables):
Use define-mode-local-override rather than its obsolete alias.
2011-05-11 09:35:54 -07:00
Glenn Morris
93c9df73d8 * lisp/term/w32console.el (get-screen-color): Declare. 2011-05-11 09:34:15 -07:00
Glenn Morris
7d3b9d4498 bytecomp.el partial fix for bug#8646.
* lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
Handle symbol elements of byte-compile-initial-macro-environment.
2011-05-11 09:31:33 -07:00
Teodor Zlatanov
15cc1ab1f0 registry.el (registry-prune-hard-candidates, registry-prune-soft-candidates): Helper methods for registry pruning.
(registry-prune): Use them.  Make the sort function optional.
2011-05-10 22:21:39 +00:00
Leo Liu
8b34024097 Bind bookmark-bmenu-search to `/' 2011-05-11 03:34:51 +08:00
U. Ser
9b053e766d fix many doubled-word typos 2011-05-10 15:57:12 +02:00
Julien Danjou
296d197b34 shr.el (shr-put-color-1): Do not bug out when old-props is a face symbol and not a list. 2011-05-10 13:20:21 +00:00
Juanma Barranquero
2f142cc515 src/image.c (Finit_image_library): Return t for built-in image types (bug#8640). 2011-05-10 12:31:33 +02:00
Glenn Morris
b8bd6c8db8 Auto-commit of generated files. 2011-05-10 06:18:34 -04:00
Leo Liu
b404486913 Add a new footnote style unicode
See also the discussion thread in:
http://thread.gmane.org/gmane.emacs.devel/139221
2011-05-10 16:20:21 +08:00
Leo Liu
9e2dd53f16 Convert mail/footnote.el to utf-8 encoding 2011-05-10 16:14:42 +08:00
Katsumi Yamaoka
ffb54e99ad gnus-art.el (gnus-article-mode): Move binding of shr-put-image-function here from gnus-article-prepare-display. 2011-05-10 07:30:49 +00:00
Katsumi Yamaoka
b9bdaf749f shr.el (shr-put-image-function): New variable.
(shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
 (shr-put-image): Return scaled image.
gnus-art.el (gnus-shr-put-image): New function.
 (gnus-article-prepare-display): Bind shr-put-image-function to it.
gnus-html.el (gnus-html-wash-images): Register scaled images, not original ones, as deletable.
2011-05-10 03:14:44 +00:00
Glenn Morris
b8f82dc15f Deprecate using "mode:" to enable minor modes (bug#8613)
* lisp/files.el (hack-one-local-variable-eval-safep):
Consider "eval: (foo-mode)" to be safe.

* doc/emacs/custom.texi (Specifying File Variables):
Deprecate using mode: for minor modes.

* etc/NEWS: Mention this.

* lisp/doc-view.el, lisp/net/soap-client.el:
Change "mode:" minor-mode file local variables to use "eval:".
2011-05-09 19:31:42 -07:00
Glenn Morris
4f99f44b34 diary-lib.el doc fixes.
* lisp/calendar/diary-lib.el (diary-list-entries-hook)
(diary-mark-entries-hook, diary-nongregorian-listing-hook)
(diary-nongregorian-marking-hook, diary-list-entries)
(diary-include-other-diary-files, diary-mark-entries)
(diary-mark-included-diary-files): Doc fixes.
2011-05-09 19:22:55 -07:00
Juanma Barranquero
84f29e6bd8 lisp/misc.el: Require tabulated-list.el during compilation. 2011-05-10 01:57:40 +02:00
Juri Linkov
c07b2710c7 * test/automated/occur-tests.el: Move from test/occur-testsuite.el.
Convert to ERT.
2011-05-10 03:21:32 +04:00
Teodor Zlatanov
81d7704c97 registry.el (registry-full): Add convenience method. Fix logic.
(registry-insert): Use it.  Fix logic here too.
gnus-registry.el (gnus-registry-insert): Add wrapper that calls `registry-prune' if `registry-full' returns t.
 (gnus-registry-handle-action, gnus-registry-get-or-make-entry, gnus-registry-set-id-key, gnus-registry-usage-test): Use it.
2011-05-09 22:27:17 +00:00
Chong Yidong
9bedd73a50 Call compilation-filter-hook in the no-async case too.
* progmodes/compile.el (compilation-start): Run
compilation-filter-hook for the async case too.
(compilation-filter-hook): Doc fix.
2011-05-09 15:42:45 -04:00
Stefan Monnier
68b5d5ee54 * lisp/gnus/nntp.el (nntp-open-connection): Set TCP keepalive option. 2011-05-09 16:41:14 -03:00
Deniz Dogan
797c735cc7 Add forgotten ChangeLog entry. 2011-05-09 19:50:47 +02:00
Deniz Dogan
1f14e9a61c * lisp/wdired.el: Remove outdated installation comment. Fix usage
comment.
2011-05-09 19:47:01 +02:00
Juanma Barranquero
5f4b1dfefa lisp/misc.el: Implement new command `list-dynamic-libraries'.
* misc.el (list-dynamic-libraries--loaded-only-p): New variable.
  (list-dynamic-libraries--refresh): New function.
  (list-dynamic-libraries): New command.
2011-05-09 17:52:57 +02:00
Eli Zaretskii
394970663d Define a replacement for va_copy for MSVC.
nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
2011-05-09 16:35:56 +03:00
Andreas Schwab
57679c8695 * w32menu.c (set_frame_menubar): Fix submenu allocation. 2011-05-09 13:29:51 +02:00
Ted Zlatanov
5a7f0a3050 * configure.in: Require GnuTLS 2.6.x or higher. 2011-05-09 05:40:26 -05:00
Chong Yidong
f104c116dc Fix last change. 2011-05-08 21:25:35 -04:00
Chong Yidong
3a648237a4 Doc fix to compilation.txt. 2011-05-08 21:24:57 -04:00
Chong Yidong
4c44026c14 Various fixes to compilation-error-regexp-alist-alist.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Fix
the ant regexp to handle end-line and end-column info from jikes.
Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
higher priority to avoid clobbering by gnu.
2011-05-08 21:24:00 -04:00
Chong Yidong
adec429a62 Add regression test for compilation-error-regexp-alist-alist.
* test/automated/compile-tests.el: New file.
2011-05-08 21:22:05 -04:00
Chong Yidong
c4c205d05a Convert test/comint-testsuite.el to ERT format. 2011-05-08 17:43:07 -04:00
Chong Yidong
027f966de4 Handle calling defface on a face with existing theme settings (Bug#8454).
* lisp/cus-face.el (custom-declare-face): Call custom-theme-recalc-face if
the face has existing theme settings.
2011-05-08 16:07:38 -04:00
Ralph Schleicher
2a86a00c4f Expand file names during browse-url-of-dired-file (Bug#8259).
* lisp/net/browse-url.el (browse-url-of-dired-file): Allow browsing of
special file names `.' and `..'.
2011-05-08 14:34:51 -04:00
Chong Yidong
085f5d7dca Handle "my" and "our" keywords in Perl imenu (Bug#8261).
* progmodes/perl-mode.el (perl-imenu-generic-expression): Only match
variables declared via `my' or `our'.
2011-05-08 14:23:11 -04:00
Chong Yidong
d9c54a06a0 Perform grep-mode's buffer modifications in a process filter (Bug#7952)
* progmodes/grep.el (grep-mode-font-lock-keywords): Remove
buffer-changing entries.
(grep-filter): New function.
(grep-mode): Add it to compilation-filter-hook.

* progmodes/compile.el (compilation-filter-hook)
(compilation-filter-start): New defvars.
(compilation-filter): Call compilation-filter-hook prior to
updating the process mark.
2011-05-08 01:17:17 -04:00
Stefan Monnier
c46626351c * lisp/emacs-lisp/eieio.el (defmethod): Fix typo in last change. 2011-05-07 23:33:28 -03:00
Eli Zaretskii
605c937661 Fix bug #8595 with setting mailclient-send-it on MS-Windows.
lisp/mail/sendmail.el (send-mail-function): On MS-Windows, default to
 mailclient-send-it even if window-system is nil.
2011-05-07 20:58:40 +03:00
Glenn Morris
89c41d686f Remove (tiny change) marker from author now with general assignment, 2011-05-07 10:39:44 -07:00
Eli Zaretskii
b0512a1d79 Fix bug #8597 with setting frame background mode on w32 console.
src/w32console.c (Fset_screen_color): Doc fix.
 (Fget_screen_color): New function.
 (syms_of_ntterm): Defsubr it.
 lisp/term/w32console.el (terminal-init-w32console): Call
 get-screen-color and use its output to set the frame
 background-mode.
2011-05-07 18:44:19 +03:00
Eli Zaretskii
0966ef96e7 Adapt the MS-DOS build to latest changes.
src/callproc.c (call_process_cleanup): Don't close and unlink the
 temporary file if Fcall_process didn't create it in the first
 place.
 (Fcall_process): Don't create tempfile if stdout of the child
 process will be redirected to a file specified with `:file'.
 Don't try to re-open tempfile in that case, and set fd[0] to -1 as
 cue to call_process_cleanup not to close that handle.
 msdos/inttypes.h: Include stdint.h.
 (uintmax_t): Don't define, it is defined in stdint.h.
 msdos/sedlibmk.inp (am__append_1): Edit to comment out.
 (am__append_2): Edit to expose.
 (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit
 to empty.
 (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit
 to comment out corresponding lines.
2011-05-07 14:28:55 +03:00
Eli Zaretskii
888c9e865f Fix changes in 2011-05-01T00:04:17Z!larsi@gnus.org for MS-DOS.
src/callproc.c (call_process_cleanup): Don't close and unlink the
 temporary file if Fcall_process didn't create it in the first
 place.
 (Fcall_process): Don't create tempfile if stdout of the child
 process will be redirected to a file specified with `:file'.
 Don't try to re-open tempfile in that case, and set fd[0] to -1 as
 cue to call_process_cleanup not to close that handle.
2011-05-07 14:25:05 +03:00
Julien Danjou
7ef1d63406 shr.el (shr-link): Make shr-link inherit from link by default. 2011-05-07 10:41:20 +00:00
Eli Zaretskii
75c0d28a6a Adapt MS-DOS configury to latest changes.
msdos/inttypes.h: Include stdint.h.
 (uintmax_t): Don't define, it is defined in stdint.h.
 msdos/sedlibmk.inp (am__append_1): Edit to comment out.
 (am__append_2): Edit to expose.
 (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit
 to empty.
 (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit
 to comment out corresponding lines.
2011-05-07 13:24:55 +03:00
Michael Albinus
58f74fe408 New default value of `ange-ftp-binary-file-name-regexp'. 2011-05-07 09:45:35 +02:00
Stefan Monnier
d1dc2cc2ce Make bytecomp.el understand that defmethod defines functions.
* lisp/emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
New functions.
(defgeneric, eieio--defmethod): Use them.
(eieio-defgeneric): Remove.
(defmethod): Call defgeneric in a way visible to the byte-compiler.

Fixes: debbugs:8631
2011-05-07 01:03:49 -03:00
Ben Key
4d3fcc8e60 * nt/configure.bat: Renamed the fusercflags variable to escusercflags
so that the variable name better matches its purpose, to be identical
to usercflags with the exception that all quotes are escaped by the \
character.

Renamed the fuserldflags variable to escuserldflags so that the
variable name better matches its purpose, to be identical to
userldflags with the exception that all quotes are escaped by the \
character.

A new ESC_USER_CFLAGS variable is written to config.settings.  This
variable has the same value as the escusercflags variable.

* nt/gmake.defs, nt/nmake.defs: Added the variable ESC_CFLAGS.  This
variable is identical to the CFLAGS variable except that it includes
the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.

* src/makefile.w32-in: The bootstrap-temacs rule now makes use of one
of two shell specific rules, either bootstrap-temacs-CMD or
bootstrap-temacs-SH.  The bootstrap-temacs-SH rule is identical to the
previous implementation of the bootstrap-temacs rule.  The
bootstrap-temacs-CMD rule is similar to the previous implementation of
the bootstrap-temacs rule except that it makes use of the ESC_CFLAGS
variable instead of the CFLAGS variable.


These changes are required to extend my earlier fix to add support for
--cflags and --ldflags options that include quotes so that it works
whether make uses cmd or sh as the shell.
2011-05-06 23:00:12 -05:00