1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-08 08:43:52 -08:00
Commit graph

100379 commits

Author SHA1 Message Date
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
Glenn Morris
a3961c3e4d timeclock.el trivia.
* lisp/calendar/timeclock.el (timeclock-log-data): Remove unused local.
Use let rather than let*.
(timeclock-find-discrep): Remove unused local.
2011-05-06 18:24:04 -07:00
Glenn Morris
d306b4daa5 * doc/emacs/cal-xtra.texi (Sexp Diary Entries): Mention diary-hebrew-birthday. 2011-05-06 18:22:01 -07:00
Glenn Morris
314347b9ab * lisp/calendar/diary-lib.el (diary-comment-start): Doc fix. 2011-05-06 18:20:47 -07:00
Glenn Morris
915d130021 * lisp/calendar/appt.el (appt-time-msg-list): Doc fix. 2011-05-06 18:19:27 -07:00
Teodor Zlatanov
f8774e35f6 shr.el (shr-urlify, shr-link): Fix shr-link face. 2011-05-06 23:33:12 +00:00
Michael Albinus
b4289b644f * dbusbind.c (QCdbus_type_unix_fd): Declare static.
(xd_remove_watch): Don't check QCdbus_type_unix_fd for SYMBOLP, it
is a constant.
(Fdbus_init_bus, xd_read_queued_messages): Bus can be a symbol or
a string.  Handle both cases.
(Fdbus_call_method_asynchronously, Fdbus_register_signal)
(Fdbus_register_method): Use Qinvalid_function.
2011-05-07 00:12:31 +02:00
Noah Friedman
275b59b05d apropos.el (apropos-print-doc): Only use emacs-lisp-docstring-fill-column when it is bound to an integer, per that variable's documentation. 2011-05-06 12:59:17 -07:00
Stefan Monnier
6c19f744bb * lisp/lpr.el (print-region-1): Echo lpr-program's output, so error messages
and warnings are not silently discarded (e.g. use "-d" instead of "-P").
2011-05-06 13:38:02 -03:00
Juanma Barranquero
af4c0e2849 src/makefile.w32-in: Update dependencies. 2011-05-06 17:37:11 +02:00
Eli Zaretskii
0a47eac473 Adapt Windows include files to latest changes.
nt/inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
 definition of uintmax_t from here...
 nt/inc/stdint.h (uintmax_t): ...to here.
 (intptr_t) [!__GNUC__]: New typedef.
2011-05-06 15:09:08 +03:00
Eli Zaretskii
c51453d997 Fix the MS-Windows build broken by 2011-05-06T07:13:19Z!eggert@cs.ucla.edu.
src/lread.c: Include limits.h.
2011-05-06 14:26:45 +03:00
Glenn Morris
6d153f5631 Auto-commit of generated files. 2011-05-06 06:19:05 -04:00
Glenn Morris
897f8f20a7 * lisp/calendar/diary-lib.el (diary-add-to-list): Simplify previous change. 2011-05-06 00:30:20 -07:00
Glenn Morris
f36ba835b3 ChangeLog format fixes. 2011-05-06 00:20:17 -07:00
Glenn Morris
5006e6344a Allow per-appointment warning times.
* lisp/calendar/appt.el (appt-message-warning-time): Doc fix.
(appt-warning-time-regexp): New option.
(appt-make-list): Respect appt-message-warning-time.

* doc/emacs/calendar.texi (Appointments): Mention appt-warning-time-regexp.

* etc/NEWS: Mention this.
2011-05-06 00:14:30 -07:00
Paul Eggert
b08a63ccec Do not assume EMACS_INT is the same width as a pointer.
This prepares for a future patch that will prefer 64-bit EMACS_INT if
available.  That patch can be tried now, by compiling with -DWIDE_EMACS_INT,
but it is temporarily not the default so that it can be further tested.

Also, install some other fixes for problems discovered by the static
checking of GCC 4.6.0.

Fixes: debbugs:8545 debbugs:8601 debbugs:8600 debbugs:8602
2011-05-06 00:13:19 -07:00
Paul Eggert
8ff0ac3c78 Merge from mainline. 2011-05-05 23:30:56 -07:00
Paul Eggert
9991d78e8c Merge from gnulib. 2011-05-05 23:03:30 -07:00
Paul Eggert
122b0c8643 Temporarily disable wider-than-pointer EMACS_INT. 2011-05-05 22:55:01 -07:00
Glenn Morris
548d0a63d6 Add diary comments feature.
* lisp/calendar/diary-lib.el (diary-comment-start, diary-comment-end):
New options.
(diary-add-to-list): Strip comments from the displayed string.
(diary-mode): Set comment-start and comment-end.

* doc/emacs/cal-xtra.texi (Fancy Diary Display): Mention diary comments.

* etc/NEWS: Mention this.
2011-05-05 21:28:53 -07:00
Glenn Morris
60f884b214 Silence diff-mode.el compilation.
* lisp/vc/diff-mode.el (smerge-refine-subst): Declare.
(diff-refine-hunk): Don't require smerge-mode when compiling.
2011-05-05 21:07:47 -07:00
Juanma Barranquero
dbdb9a7cae src/gnutls.c, src/image.c: Make function pointers static. 2011-05-06 03:05:25 +02:00
Juanma Barranquero
989681bbb6 lisp/simple.el (list-processes): Return nil as the docstring says. 2011-05-06 03:02:49 +02:00
Teodor Zlatanov
df26ce09c4 shr.el (shr-urlify, shr-link): Still broken but at least doesn't error out because the face is not a list. 2011-05-05 22:12:41 +00:00
Andreas Schwab
db7a0b4f1d * src/lread.c (lisp_file_lexically_bound_p): Stop scanning at end
marker.  (Bug#8610)
2011-05-05 18:56:39 +02:00
Michael Albinus
a6bc05e123 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default to "".
(ange-ftp-write-region, ange-ftp-insert-file-contents)
(ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
determining of binary transfer.  (Bug#7383)
2011-05-05 12:22:14 +02:00
Michael Albinus
23c22e9aa1 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
port computation bug.  (Bug#8618)
2011-05-05 11:48:43 +02:00
Paul Eggert
4c4b566b11 * image.c (Finit_image_library) [!HAVE_NTGUI]: Omit unused local. 2011-05-05 00:23:07 -07:00
Glenn Morris
8e6167a150 * lisp/gnus/gnus-start.el (gnus-propagate-marks): Declare. 2011-05-04 23:56:54 -07:00
Glenn Morris
b829690275 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use. 2011-05-04 23:53:29 -07:00
Glenn Morris
1f522ce806 Declarations in simple.el.
* lisp/simple.el (shell-dynamic-complete-functions)
(comint-dynamic-complete-functions): Declare.
2011-05-04 23:50:24 -07:00
Glenn Morris
cf5bee67f9 Declaration fixes.
* lisp/net/network-stream.el (gnutls-negotiate): Fix declaration.

* lisp/simple.el (tabulated-list-print): Fix declaration.

* lisp/progmodes/gud.el (syntax-symbol, syntax-point):
Remove unnecessary and incorrect declarations.
2011-05-04 23:35:41 -07:00
Paul Eggert
c717b32678 Revert to wraparound integer arithmetic, instead of going to float. 2011-05-04 23:31:14 -07:00
Glenn Morris
0bff894fc1 Small check-declare fix.
* lisp/emacs-lisp/check-declare.el (check-declare-scan):
Handle byte-compile-initial-macro-environment in bytecomp.el
2011-05-04 23:27:24 -07:00